[INFO] cloning repository https://github.com/rxs3072/RustExamples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rxs3072/RustExamples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frxs3072%2FRustExamples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frxs3072%2FRustExamples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f897bc2c35051a8be73a48abc0d9c03bf9be3a8 [INFO] checking rxs3072/RustExamples against try#9053a8ad740a9e131b53ea98acecf68cf79134fe for pr-137045 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frxs3072%2FRustExamples" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rxs3072/RustExamples on toolchain 9053a8ad740a9e131b53ea98acecf68cf79134fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rxs3072/RustExamples [INFO] finished tweaking git repo https://github.com/rxs3072/RustExamples [INFO] tweaked toml for git repo https://github.com/rxs3072/RustExamples written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rxs3072/RustExamples already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a22cf082cae21e83a1b39d9637dcafcdb3d0d69f3c4876f379a904214b277c51 [INFO] running `Command { std: "docker" "start" "-a" "a22cf082cae21e83a1b39d9637dcafcdb3d0d69f3c4876f379a904214b277c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a22cf082cae21e83a1b39d9637dcafcdb3d0d69f3c4876f379a904214b277c51", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a22cf082cae21e83a1b39d9637dcafcdb3d0d69f3c4876f379a904214b277c51", kill_on_drop: false }` [INFO] [stdout] a22cf082cae21e83a1b39d9637dcafcdb3d0d69f3c4876f379a904214b277c51 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+9053a8ad740a9e131b53ea98acecf68cf79134fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 94b76cf6a1cc46722a03b3461f21afa3f73f74f94e5668438708efc36930ae26 [INFO] running `Command { std: "docker" "start" "-a" "94b76cf6a1cc46722a03b3461f21afa3f73f74f94e5668438708efc36930ae26", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking car v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | _=>Some(List::Cons(u,v.removeFirst(s))) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ expected `Box>`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Cons(T, Box>), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:73:22 [INFO] [stdout] | [INFO] [stdout] 73 | _=>Some(List::Cons(u,v.removeFirst(s))) [INFO] [stdout] | ---------- ^^^^^^^^^^^^^^^^ expected `Box>`, found `Option>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Box>` [INFO] [stdout] found enum `Option>` [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | Cons(T, Box>), [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `ele` [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 88 | let ele=List::Nil.add(10).add(20).add(30).add(40); [INFO] [stdout] | --- move occurs because `ele` has type `List`, which does not implement the `Copy` trait [INFO] [stdout] 89 | println!("{:?}", ele); [INFO] [stdout] 90 | println!("{:?}", ele.element(1)); [INFO] [stdout] | ---------- `ele` moved due to this method call [INFO] [stdout] 91 | println!("{:?}",ele.removeFirst(20)); [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: `List::::element` takes ownership of the receiver `self`, which moves `ele` [INFO] [stdout] --> src/main.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn element(self,n:i32)->Option [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `ele` [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 88 | let ele=List::Nil.add(10).add(20).add(30).add(40); [INFO] [stdout] | --- move occurs because `ele` has type `List`, which does not implement the `Copy` trait [INFO] [stdout] 89 | println!("{:?}", ele); [INFO] [stdout] 90 | println!("{:?}", ele.element(1)); [INFO] [stdout] | ---------- `ele` moved due to this method call [INFO] [stdout] 91 | println!("{:?}",ele.removeFirst(20)); [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: `List::::element` takes ownership of the receiver `self`, which moves `ele` [INFO] [stdout] --> src/main.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 51 | fn element(self,n:i32)->Option [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0382. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `car` (bin "car" test) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `car` (bin "car") due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "94b76cf6a1cc46722a03b3461f21afa3f73f74f94e5668438708efc36930ae26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94b76cf6a1cc46722a03b3461f21afa3f73f74f94e5668438708efc36930ae26", kill_on_drop: false }` [INFO] [stdout] 94b76cf6a1cc46722a03b3461f21afa3f73f74f94e5668438708efc36930ae26