[INFO] cloning repository https://github.com/lyle8341/hello_world_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lyle8341/hello_world_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyle8341%2Fhello_world_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyle8341%2Fhello_world_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0f0cf9e07c2f7a413e2b3ebc150da6594e7bcb9c [INFO] building lyle8341/hello_world_rust against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flyle8341%2Fhello_world_rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lyle8341/hello_world_rust [INFO] finished tweaking git repo https://github.com/lyle8341/hello_world_rust [INFO] tweaked toml for git repo https://github.com/lyle8341/hello_world_rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lyle8341/hello_world_rust on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lyle8341/hello_world_rust 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 678d7da1836e56a18bbcf3714b09f9ca6ea612e2b566d6a4b5b11a4260f4bdf7 [INFO] running `Command { std: "docker" "start" "-a" "678d7da1836e56a18bbcf3714b09f9ca6ea612e2b566d6a4b5b11a4260f4bdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "678d7da1836e56a18bbcf3714b09f9ca6ea612e2b566d6a4b5b11a4260f4bdf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "678d7da1836e56a18bbcf3714b09f9ca6ea612e2b566d6a4b5b11a4260f4bdf7", kill_on_drop: false }` [INFO] [stdout] 678d7da1836e56a18bbcf3714b09f9ca6ea612e2b566d6a4b5b11a4260f4bdf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24d9cbf3e3c88f0b26ec03d7d2558cbddc06402b7d15846aeb2e87d78db122ef [INFO] running `Command { std: "docker" "start" "-a" "24d9cbf3e3c88f0b26ec03d7d2558cbddc06402b7d15846aeb2e87d78db122ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.168 [INFO] [stderr] Compiling syn v2.0.90 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hello_world_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/bin/rc.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let b = Cons(3, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/bin/rc.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let c = Cons(4, Rc::clone(&a)); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/rc.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | Cons(i32, Rc), [INFO] [stdout] | ---- ^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 5 - Cons(i32, Rc), [INFO] [stdout] 5 + Cons((), ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bin/message_transfer.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `counter` [INFO] [stdout] --> src/bin/counter.rs:49:2 [INFO] [stdout] | [INFO] [stdout] 49 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/counter.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world_rust` (bin "counter") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `width`, `height`, and `options` are never read [INFO] [stdout] --> src/bin/trait.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 29 | struct SelectBox { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 30 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 31 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | options: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `x` [INFO] [stdout] --> src/bin/closure_context.rs:4:40 [INFO] [stdout] | [INFO] [stdout] 2 | let x = vec![1, 2, 3]; [INFO] [stdout] | - move occurs because `x` has type `Vec`, which does not implement the `Copy` trait [INFO] [stdout] 3 | let equal_to_x = move |z| z == x; [INFO] [stdout] | -------- - variable moved due to use in closure [INFO] [stdout] | | [INFO] [stdout] | value moved into closure here [INFO] [stdout] 4 | println!("can't use x here: {:?}", x); [INFO] [stdout] | ^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider cloning the value before moving it into the closure [INFO] [stdout] | [INFO] [stdout] 3 ~ let value = x.clone(); [INFO] [stdout] 4 ~ let equal_to_x = move |z| z == value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_world_rust` (bin "closure_context") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "24d9cbf3e3c88f0b26ec03d7d2558cbddc06402b7d15846aeb2e87d78db122ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d9cbf3e3c88f0b26ec03d7d2558cbddc06402b7d15846aeb2e87d78db122ef", kill_on_drop: false }` [INFO] [stdout] 24d9cbf3e3c88f0b26ec03d7d2558cbddc06402b7d15846aeb2e87d78db122ef