[INFO] cloning repository https://github.com/tonychg/portal [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tonychg/portal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonychg%2Fportal", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonychg%2Fportal'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 653515b83d60722c332a930d381b2e7884889c31 [INFO] checking tonychg/portal against master#249cb84316401daf040832cdbb8a45e0f5ab6af8 for pr-138438 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftonychg%2Fportal" "/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/tonychg/portal on toolchain 249cb84316401daf040832cdbb8a45e0f5ab6af8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "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/tonychg/portal [INFO] finished tweaking git repo https://github.com/tonychg/portal [INFO] tweaked toml for git repo https://github.com/tonychg/portal written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tonychg/portal 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" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86e0230b5d40034c215ab469c1eb9db70448f3f0357d682a780c89a2aefea51c [INFO] running `Command { std: "docker" "start" "-a" "86e0230b5d40034c215ab469c1eb9db70448f3f0357d682a780c89a2aefea51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86e0230b5d40034c215ab469c1eb9db70448f3f0357d682a780c89a2aefea51c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e0230b5d40034c215ab469c1eb9db70448f3f0357d682a780c89a2aefea51c", kill_on_drop: false }` [INFO] [stdout] 86e0230b5d40034c215ab469c1eb9db70448f3f0357d682a780c89a2aefea51c [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+249cb84316401daf040832cdbb8a45e0f5ab6af8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fddad2fa41d315c03e77c396eaf2c3e2b8712481f19e34f351180d6fc26bb38 [INFO] running `Command { std: "docker" "start" "-a" "1fddad2fa41d315c03e77c396eaf2c3e2b8712481f19e34f351180d6fc26bb38", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling thiserror v1.0.62 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.70 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Checking portal v0.1.0 (/opt/rustwide/workdir/crates/portal) [INFO] [stdout] warning: unused variable: `equidistant_positions` [INFO] [stdout] --> crates/portal/src/redirection.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let equidistant_positions = Self::get_all_equidistant( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equidistant_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/portal/src/redirection.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut left_portals: Vec = portals [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/portal/src/redirection.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut current_portal = entry_portal; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sorted_portals` and `size` are never read [INFO] [stdout] --> crates/portal/src/redirection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Redirection { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | sorted_portals: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `equidistant_positions` [INFO] [stdout] --> crates/portal/src/redirection.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | let equidistant_positions = Self::get_all_equidistant( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_equidistant_positions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/portal/src/redirection.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut left_portals: Vec = portals [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/portal/src/redirection.rs:37:13 [INFO] [stdout] | [INFO] [stdout] 37 | let mut current_portal = entry_portal; [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sorted_portals` and `size` are never read [INFO] [stdout] --> crates/portal/src/redirection.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Redirection { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 7 | sorted_portals: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 8 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.13s [INFO] running `Command { std: "docker" "inspect" "1fddad2fa41d315c03e77c396eaf2c3e2b8712481f19e34f351180d6fc26bb38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fddad2fa41d315c03e77c396eaf2c3e2b8712481f19e34f351180d6fc26bb38", kill_on_drop: false }` [INFO] [stdout] 1fddad2fa41d315c03e77c396eaf2c3e2b8712481f19e34f351180d6fc26bb38