[INFO] cloning repository https://github.com/zachs18/imagegen-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zachs18/imagegen-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachs18%2Fimagegen-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachs18%2Fimagegen-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 443c71722dbc03345a2430badfbde012de5a7f67 [INFO] checking zachs18/imagegen-rs against master#19dd9535408db0f1ff3d16613619076aef524d19 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzachs18%2Fimagegen-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zachs18/imagegen-rs on toolchain 19dd9535408db0f1ff3d16613619076aef524d19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/zachs18/imagegen-rs [INFO] finished tweaking git repo https://github.com/zachs18/imagegen-rs [INFO] tweaked toml for git repo https://github.com/zachs18/imagegen-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zachs18/imagegen-rs 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" "+19dd9535408db0f1ff3d16613619076aef524d19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded radium v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 265914d8a61ba6c05c15a8a1909eb51efc31a0d1cd2808644b69523ecfae32bf [INFO] running `Command { std: "docker" "start" "-a" "265914d8a61ba6c05c15a8a1909eb51efc31a0d1cd2808644b69523ecfae32bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "265914d8a61ba6c05c15a8a1909eb51efc31a0d1cd2808644b69523ecfae32bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "265914d8a61ba6c05c15a8a1909eb51efc31a0d1cd2808644b69523ecfae32bf", kill_on_drop: false }` [INFO] [stdout] 265914d8a61ba6c05c15a8a1909eb51efc31a0d1cd2808644b69523ecfae32bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+19dd9535408db0f1ff3d16613619076aef524d19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5c6449f5e4d676055f11a13dca3f3f6b60394413e454f739f6f13de67f38058c [INFO] running `Command { std: "docker" "start" "-a" "5c6449f5e4d676055f11a13dca3f3f6b60394413e454f739f6f13de67f38058c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.6 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.28 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling os_str_bytes v6.4.1 [INFO] [stderr] Compiling textwrap v0.16.0 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling thiserror v1.0.47 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling tokio v1.24.2 [INFO] [stderr] Checking radium v1.0.0 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling syn v2.0.29 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling which v4.4.0 [INFO] [stderr] Compiling clap v3.2.23 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking bitmap v0.1.0 (/opt/rustwide/workdir/bitmap) [INFO] [stderr] Checking rand v0.8.5 [INFO] [stdout] warning: unused variable: `start_bit_idx` [INFO] [stdout] --> bitmap/src/lib.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | let start_bit_idx = (self.inner.bits.start % 8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_bit_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling regex v1.7.1 [INFO] [stdout] warning: unused variable: `start_bit_idx` [INFO] [stdout] --> bitmap/src/lib.rs:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | let start_bit_idx = (self.inner.bits.start % 8) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_start_bit_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling thiserror-impl v1.0.47 [INFO] [stderr] Checking getopt v0.1.0 (/opt/rustwide/workdir/getopt) [INFO] [stderr] Compiling imagegen v0.1.0 (/opt/rustwide/workdir/imagegen) [INFO] [stdout] warning: unused variable: `placed_pixels` [INFO] [stdout] --> imagegen/src/generate.rs:282:51 [INFO] [stdout] | [INFO] [stdout] 282 | let CommonLockedData { image, placed_pixels, edges } = [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `placed_pixels: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `placed_pixels` [INFO] [stdout] --> imagegen/src/generate.rs:423:37 [INFO] [stdout] | [INFO] [stdout] 423 | ... placed_pixels, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `placed_pixels: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> imagegen/src/geometry.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | opts: &[GetoptItem<'_>], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `placed_pixels` [INFO] [stdout] --> imagegen/src/generate.rs:282:51 [INFO] [stdout] | [INFO] [stdout] 282 | let CommonLockedData { image, placed_pixels, edges } = [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `placed_pixels: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `placed_pixels` [INFO] [stdout] --> imagegen/src/generate.rs:423:37 [INFO] [stdout] | [INFO] [stdout] 423 | ... placed_pixels, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `placed_pixels: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geometry` [INFO] [stdout] --> imagegen/src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let geometry = geometry::handle_opts(&opts, &common_data); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_geometry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `opts` [INFO] [stdout] --> imagegen/src/geometry.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | opts: &[GetoptItem<'_>], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_opts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> imagegen/src/generate.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 366 | struct WorkerData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 371 | data: GeneratorData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NEWrappingGeometry` is never constructed [INFO] [stdout] --> imagegen/src/geometry.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct NEWrappingGeometry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geometry` [INFO] [stdout] --> imagegen/src/main.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let geometry = geometry::handle_opts(&opts, &common_data); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_geometry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> imagegen/src/generate.rs:371:17 [INFO] [stdout] | [INFO] [stdout] 366 | struct WorkerData { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 371 | data: GeneratorData, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NEWrappingGeometry` is never constructed [INFO] [stdout] --> imagegen/src/geometry.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct NEWrappingGeometry { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 9.73s [INFO] running `Command { std: "docker" "inspect" "5c6449f5e4d676055f11a13dca3f3f6b60394413e454f739f6f13de67f38058c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c6449f5e4d676055f11a13dca3f3f6b60394413e454f739f6f13de67f38058c", kill_on_drop: false }` [INFO] [stdout] 5c6449f5e4d676055f11a13dca3f3f6b60394413e454f739f6f13de67f38058c