[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] building xsoer/rust-examples against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsoer%2Frust-examples" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xsoer/rust-examples on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 201 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.53) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.8) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.9) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding rdkafka v0.24.0 (available: v0.38.0) [INFO] [stderr] Adding redis v0.17.0 (available: v1.0.2) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] building xsoer/rust-examples against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxsoer%2Frust-examples" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xsoer/rust-examples on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 201 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.53) [INFO] [stderr] Adding env_logger v0.8.4 (available: v0.11.8) [INFO] [stderr] Adding image v0.23.14 (available: v0.25.9) [INFO] [stderr] Adding num-complex v0.2.4 (available: v0.4.6) [INFO] [stderr] Adding rdkafka v0.24.0 (available: v0.38.0) [INFO] [stderr] Adding redis v0.17.0 (available: v1.0.2) [INFO] [stderr] Adding tokio v0.2.25 (available: v1.48.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "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 blocking v1.6.2 [INFO] [stderr] Downloaded value-bag v1.12.0 [INFO] [stderr] Downloaded signal-hook-registry v1.4.8 [INFO] [stderr] Downloaded polling v3.11.0 [INFO] [stderr] Downloaded cmake v0.1.57 [INFO] [stderr] Downloaded weezl v0.1.12 [INFO] [stderr] Downloaded async-lock v3.4.2 [INFO] [stderr] Downloaded async-io v2.6.0 [INFO] [stderr] Downloaded futures-lite v2.6.1 [INFO] [stderr] Downloaded rdkafka v0.24.0 [INFO] [stderr] Downloaded redis v0.17.0 [INFO] [stderr] Downloaded async-executor v1.13.3 [INFO] [stderr] Downloaded async-channel v2.5.0 [INFO] [stderr] Downloaded async-std v1.13.2 [INFO] [stderr] Downloaded libz-sys v1.1.23 [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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47e6c9b47cf87882057bfcc5961f4dd4e8cb947f43d3966d50a544ccddef0eef [INFO] running `Command { std: "docker" "start" "-a" "47e6c9b47cf87882057bfcc5961f4dd4e8cb947f43d3966d50a544ccddef0eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47e6c9b47cf87882057bfcc5961f4dd4e8cb947f43d3966d50a544ccddef0eef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47e6c9b47cf87882057bfcc5961f4dd4e8cb947f43d3966d50a544ccddef0eef", kill_on_drop: false }` [INFO] [stdout] 47e6c9b47cf87882057bfcc5961f4dd4e8cb947f43d3966d50a544ccddef0eef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2676b44d78138b12066eff0c6c6a4ab1a2ce9a5e85ffcd8ad39866414e28d360 [INFO] running `Command { std: "docker" "start" "-a" "2676b44d78138b12066eff0c6c6a4ab1a2ce9a5e85ffcd8ad39866414e28d360", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling value-bag v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling find-msvc-tools v0.1.6 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cc v1.2.51 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling serde_json v1.0.147 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.12 [INFO] [stderr] Compiling zmij v0.1.9 [INFO] [stderr] Compiling itoa v1.0.16 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling humantime v2.3.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling libz-sys v1.1.23 [INFO] [stderr] Compiling rdkafka-sys v2.1.0+1.5.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling eg_basic v0.1.0 (/opt/rustwide/workdir/ex-basic) [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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] warning: function `th1` is never used [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `th2` is never used [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 `th3` is never used [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 `th4` is never used [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 `th5` is never used [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 `lcs` is never used [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 `test_lcs` is never used [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 47 - println!("{}", i) [INFO] [stdout] 47 + println!("{}", a) [INFO] [stdout] | [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] warning: variable `a` is assigned to, but never used [INFO] [stdout] --> ex-basic/src/main.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let mut a = "aaa"; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_a` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> ex-basic/src/main.rs:53:5 [INFO] [stdout] | [INFO] [stdout] 53 | a = "bbb"; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `a` is never read [INFO] [stdout] --> ex-basic/src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | a = c; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [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` (bin "eg_basic") due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "2676b44d78138b12066eff0c6c6a4ab1a2ce9a5e85ffcd8ad39866414e28d360", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2676b44d78138b12066eff0c6c6a4ab1a2ce9a5e85ffcd8ad39866414e28d360", kill_on_drop: false }` [INFO] [stdout] 2676b44d78138b12066eff0c6c6a4ab1a2ce9a5e85ffcd8ad39866414e28d360