[INFO] cloning repository https://github.com/xsoer/rust-examples [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xsoer/rust-examples" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsoer%2Frust-examples", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsoer%2Frust-examples'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfc231c472eb7c392b91dca324cee79819cd3a7a [INFO] testing xsoer/rust-examples against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsoer%2Frust-examples" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xsoer/rust-examples on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/xsoer/rust-examples [INFO] finished tweaking git repo https://github.com/xsoer/rust-examples [INFO] tweaked toml for git repo https://github.com/xsoer/rust-examples written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rdkafka v0.24.0 [INFO] [stderr] Downloaded rdkafka-sys v2.1.0+1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27dc604c32dc1cb6dcebdf5472a13f26f89188496c4e5091b0f4a11353986187 [INFO] running `Command { std: "docker" "start" "-a" "27dc604c32dc1cb6dcebdf5472a13f26f89188496c4e5091b0f4a11353986187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27dc604c32dc1cb6dcebdf5472a13f26f89188496c4e5091b0f4a11353986187", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27dc604c32dc1cb6dcebdf5472a13f26f89188496c4e5091b0f4a11353986187", kill_on_drop: false }` [INFO] [stdout] 27dc604c32dc1cb6dcebdf5472a13f26f89188496c4e5091b0f4a11353986187 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b889970408b62f47692079b5cb777b85ee1faae5486a5d09f5774c1486c2ade6 [INFO] running `Command { std: "docker" "start" "-a" "b889970408b62f47692079b5cb777b85ee1faae5486a5d09f5774c1486c2ade6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling async-task v4.1.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling eg_basic v0.1.0 (/opt/rustwide/workdir/ex-basic) [INFO] [stderr] Compiling value-bag v1.0.0-alpha.8 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | fn th4(i: u8) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `th1` [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn th1() -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `th2` [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn th2(i: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `th3` [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn th3(i: u8) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `th4` [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn th4(i: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `th5` [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn th5() -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `lcs` [INFO] [stdout] --> ex-basic/src/algorithm/lcs.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn lcs(l: String, r: String) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `test_lcs` [INFO] [stdout] --> ex-basic/src/algorithm/lcs.rs:16:4 [INFO] [stdout] | [INFO] [stdout] 16 | fn test_lcs() -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> ex-basic/src/thread/thread1.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> ex-basic/src/main.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | println!("{}", i) [INFO] [stdout] | ^ help: a local variable with a similar name exists: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> ex-basic/src/main.rs:98:19 [INFO] [stdout] | [INFO] [stdout] 98 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `eg_basic` due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "b889970408b62f47692079b5cb777b85ee1faae5486a5d09f5774c1486c2ade6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b889970408b62f47692079b5cb777b85ee1faae5486a5d09f5774c1486c2ade6", kill_on_drop: false }` [INFO] [stdout] b889970408b62f47692079b5cb777b85ee1faae5486a5d09f5774c1486c2ade6