[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] checking xsoer/rust-examples against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsoer%2Frust-examples" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/xsoer/rust-examples on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded async-io v1.4.0 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded rdkafka v0.24.0 [INFO] [stderr] Downloaded ctor v0.1.20 [INFO] [stderr] Downloaded rdkafka-sys v2.1.0+1.5.0 [INFO] [stderr] Downloaded async-lock v2.4.0 [INFO] [stderr] Downloaded polling v2.0.3 [INFO] [stderr] Downloaded value-bag v1.0.0-alpha.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 347ce25dff22737451ef1416bdda6520072238918d97523410117f1cf6c91fa1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "347ce25dff22737451ef1416bdda6520072238918d97523410117f1cf6c91fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "347ce25dff22737451ef1416bdda6520072238918d97523410117f1cf6c91fa1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "347ce25dff22737451ef1416bdda6520072238918d97523410117f1cf6c91fa1", kill_on_drop: false }` [INFO] [stdout] 347ce25dff22737451ef1416bdda6520072238918d97523410117f1cf6c91fa1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c026509fb2ecf71383c02a79aed948a2ebcb8ad6489ab2ad308dbe4b9a2906bc [INFO] running `Command { std: "docker" "start" "-a" "c026509fb2ecf71383c02a79aed948a2ebcb8ad6489ab2ad308dbe4b9a2906bc", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking vec-arena v1.1.0 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking weezl v0.1.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking eg_basic v0.1.0 (/opt/rustwide/workdir/ex-basic) [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [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] [stderr] Checking unicode-bidi v0.3.5 [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] [stderr] Checking tinyvec v1.2.0 [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] = note: `#[warn(dead_code)]` on by default [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] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [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] Checking miniz_oxide v0.3.7 [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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cmake v0.1.45 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling rayon v1.5.0 [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] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking gif v0.11.2 [INFO] [stderr] Checking async-channel v1.6.1 [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` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: build failed [INFO] running `Command { std: "docker" "inspect" "c026509fb2ecf71383c02a79aed948a2ebcb8ad6489ab2ad308dbe4b9a2906bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c026509fb2ecf71383c02a79aed948a2ebcb8ad6489ab2ad308dbe4b9a2906bc", kill_on_drop: false }` [INFO] [stdout] c026509fb2ecf71383c02a79aed948a2ebcb8ad6489ab2ad308dbe4b9a2906bc