Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open Gitpod #198

Open
kalepail opened this issue Jan 19, 2023 · 1 comment
Open

Unable to open Gitpod #198

kalepail opened this issue Jan 19, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@kalepail
Copy link
Contributor

kalepail commented Jan 19, 2023

What version are you using?

Just clicking the link in the README.

What did you do?

Tried to open the repo in Gitpod

What did you expect to see?

Success

What did you see instead?

Screenshot 2023-01-19 at 12 56 03 PM

Is it just me or is the Gitpod for Soroban Examples broken? I’m getting
#11 [ 8/15] RUN rustup update stable
#11 0.185 info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
#11 0.357 warning: Signature verification failed for 'https://static.rust-lang.org/dist/channel-rust-stable.toml'
#11 0.395 info: latest update on 2023-01-26, rust version 1.67.0 (fc594f156 2023-01-24)
#11 0.427 info: downloading component 'cargo'
#11 0.539 info: downloading component 'clippy'
#11 0.596 info: downloading component 'rls'
#11 0.610 info: downloading component 'rust-analysis'
#11 0.632 info: downloading component 'rust-src'
#11 0.688 info: downloading component 'rust-std'
#11 1.179 info: downloading component 'rustc'
#11 1.616 info: downloading component 'rustfmt'
#11 1.688 info: removing previous version of component 'cargo'
#11 1.726 info: rolling back changes
#11 1.730 error: could not rename component file from '/home/gitpod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/etc/bash_completion.d' to '/home/gitpod/.rustup/tmp/l8jml8yosamyrfil_dir/bk': Invalid cross-device link (os error 18)
#11 ERROR: process "/bin/sh -c rustup update stable" did not complete successfully: exit code: 1
------
 > [ 8/15] RUN rustup update stable:
#11 0.539 info: downloading component 'clippy'
#11 0.596 info: downloading component 'rls'
#11 0.610 info: downloading component 'rust-analysis'
#11 0.632 info: downloading component 'rust-src'
#11 0.688 info: downloading component 'rust-std'
#11 1.179 info: downloading component 'rustc'
#11 1.616 info: downloading component 'rustfmt'
#11 1.688 info: removing previous version of component 'cargo'
#11 1.726 info: rolling back changes
#11 1.730 error: could not rename component file from '/home/gitpod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/etc/bash_completion.d' to '/home/gitpod/.rustup/tmp/l8jml8yosamyrfil_dir/bk': Invalid cross-device link (os error 18)
------
.gitpod.Dockerfile:14
--------------------
  12 |     ENV SCCACHE_DIR=/workspace/.sccache
  13 |     
  14 | >>> RUN rustup update stable
  15 |     RUN rustup target add --toolchain stable wasm32-unknown-unknown
  16 |     RUN rustup component add --toolchain stable rust-src
--------------------
error: failed to solve: process "/bin/sh -c rustup update stable" did not complete successfully: exit code: 1
{"@type":"type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent","command":"build","error":"exit status 1","file":"build.go:44","func":"func1","level":"error","message":"build failed","serviceContext":{"service":"bob","version":""},"severity":"ERROR","time":"2023-02-03T22:21:30.807197907Z"}
exit

headless task failed: exit status 1

If I try and Continue with the Default Image I get this in the console in Gitpod

 HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
cargo fetch
make build test

} && {
gp ports await 23000
gp open README.md
gp open increment/src/lib.rs
gp open increment/src/test.rs
gp open README.md
soroban invoke --id 1 --wasm target/wasm32-unknown-unknown/release/soroban_increment_contract.wasm --fn increment

}
gitpod /workspace/soroban-examples (main) $  HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> cargo fetch
> make build test
> 
> } && {
> gp ports await 23000
> gp open README.md
> gp open increment/src/lib.rs
> gp open increment/src/test.rs
> gp open README.md
> soroban invoke --id 1 --wasm target/wasm32-unknown-unknown/release/soroban_increment_contract.wasm --fn increment
> 
> }
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-01-10, rust version 1.66.1 (90743e729 2023-01-10)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-src'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: downloading component 'rls'
info: downloading component 'rust-analysis'
info: downloading component 'rust-std'
info: removing previous version of component 'cargo'
info: rolling back changes
error: could not rename component file from '/home/gitpod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/etc/bash_completion.d' to '/home/gitpod/.rustup/tmp/ojn2k3qp55an_9t6_dir/bk': Invalid cross-device link (os error 18)
cargo build --target wasm32-unknown-unknown --release -p soroban-token-contract
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-01-10, rust version 1.66.1 (90743e729 2023-01-10)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-src'
info: downloading component 'rust-std' for 'wasm32-unknown-unknown'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: downloading component 'rls'
info: downloading component 'rust-analysis'
info: downloading component 'rust-std'
info: removing previous version of component 'cargo'
info: rolling back changes
error: could not rename component file from '/home/gitpod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/etc/bash_completion.d' to '/home/gitpod/.rustup/tmp/89ua23syzap5peox_dir/bk': Invalid cross-device link (os error 18)
make: *** [Makefile:10: build] Error 1
gitpod /workspace/soroban-examples (main) $ 
@kalepail kalepail added the bug Something isn't working label Jan 19, 2023
@lmorgan824
Copy link

lmorgan824 commented Jan 20, 2023

When I tried to open the Gitpod for soroban examples this morning, 20230120, I got this both during initial startup and after running "gp rebuild"

Step 11/18 : RUN rustup update stable
---> Running in 5f1dea715501
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2023-01-10, rust version 1.66.1 (90743e729 2023-01-10)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rls'
info: downloading component 'rust-analysis'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: removing previous version of component 'cargo'
info: rolling back changes
error: could not rename component file from '/home/gitpod/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/share/zsh/site-functions' to '/home/gitpod/.rustup/tmp/my2sx_fbx0uo2n08_dir/bk': Invalid cross-device link (os error 18)
The command '/bin/sh -c rustup update stable' returned a non-zero code: 1
Image Build Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@kalepail @lmorgan824 and others