[INFO] cloning repository https://github.com/rloic/td2-aaia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rloic/td2-aaia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frloic%2Ftd2-aaia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frloic%2Ftd2-aaia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cce2ff0a3621513a699e572a0f14018d3fd904fd [INFO] checking rloic/td2-aaia against master#f25e92bd42b14e45440c0a30a4ed751ea502f430 for pr-127481-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frloic%2Ftd2-aaia" "/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/rloic/td2-aaia on toolchain f25e92bd42b14e45440c0a30a4ed751ea502f430 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f25e92bd42b14e45440c0a30a4ed751ea502f430" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rloic/td2-aaia [INFO] finished tweaking git repo https://github.com/rloic/td2-aaia [INFO] tweaked toml for git repo https://github.com/rloic/td2-aaia written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/rloic/td2-aaia 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" "+f25e92bd42b14e45440c0a30a4ed751ea502f430" "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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+f25e92bd42b14e45440c0a30a4ed751ea502f430" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5fa302ffdc2b655f91a6c0c2a3231d1bc1330121fb6b150755ddb0cca32bef96 [INFO] running `Command { std: "docker" "start" "-a" "5fa302ffdc2b655f91a6c0c2a3231d1bc1330121fb6b150755ddb0cca32bef96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5fa302ffdc2b655f91a6c0c2a3231d1bc1330121fb6b150755ddb0cca32bef96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5fa302ffdc2b655f91a6c0c2a3231d1bc1330121fb6b150755ddb0cca32bef96", kill_on_drop: false }` [INFO] [stdout] 5fa302ffdc2b655f91a6c0c2a3231d1bc1330121fb6b150755ddb0cca32bef96 [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+f25e92bd42b14e45440c0a30a4ed751ea502f430" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 42e38f693fd8b73590ef0b8393bee047ca69ef4661988ebe2cbd9314af0862b0 [INFO] running `Command { std: "docker" "start" "-a" "42e38f693fd8b73590ef0b8393bee047ca69ef4661988ebe2cbd9314af0862b0", kill_on_drop: false }` [INFO] [stderr] Checking td2-aaia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 90 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 91 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 100 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 101 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 138 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:139:61 [INFO] [stdout] | [INFO] [stdout] 139 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 139 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 149 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 150 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 90 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 91 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 100 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 101 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 138 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:139:61 [INFO] [stdout] | [INFO] [stdout] 139 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 139 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 149 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 150 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_distance` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn compute_distance(i: Node, s: Set, n: usize, cost: &Vec>, nb_call: &mut i32) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to` is never read [INFO] [stdout] --> src/main.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | struct Edge { from: Node, to: Node } [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_distance` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn compute_distance(i: Node, s: Set, n: usize, cost: &Vec>, nb_call: &mut i32) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to` is never read [INFO] [stdout] --> src/main.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | struct Edge { from: Node, to: Node } [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "42e38f693fd8b73590ef0b8393bee047ca69ef4661988ebe2cbd9314af0862b0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42e38f693fd8b73590ef0b8393bee047ca69ef4661988ebe2cbd9314af0862b0", kill_on_drop: false }` [INFO] [stdout] 42e38f693fd8b73590ef0b8393bee047ca69ef4661988ebe2cbd9314af0862b0 [INFO] checking rloic/td2-aaia against try#81417ccfba1b50f064bed768ddab670f5bbfdcfe for pr-127481-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frloic%2Ftd2-aaia" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rloic/td2-aaia on toolchain 81417ccfba1b50f064bed768ddab670f5bbfdcfe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rloic/td2-aaia [INFO] finished tweaking git repo https://github.com/rloic/td2-aaia [INFO] tweaked toml for git repo https://github.com/rloic/td2-aaia written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/rloic/td2-aaia 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" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89a8f407ea3ee6df97e6fdf4a3eb9f3371c84aa199d43a56856e63ec122953bd [INFO] running `Command { std: "docker" "start" "-a" "89a8f407ea3ee6df97e6fdf4a3eb9f3371c84aa199d43a56856e63ec122953bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89a8f407ea3ee6df97e6fdf4a3eb9f3371c84aa199d43a56856e63ec122953bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89a8f407ea3ee6df97e6fdf4a3eb9f3371c84aa199d43a56856e63ec122953bd", kill_on_drop: false }` [INFO] [stdout] 89a8f407ea3ee6df97e6fdf4a3eb9f3371c84aa199d43a56856e63ec122953bd [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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+81417ccfba1b50f064bed768ddab670f5bbfdcfe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 87f40f1dfad7eb19a036a9ab08dd14a5a8e9683f5ea3f8e3c095bf297c98ac4d [INFO] running `Command { std: "docker" "start" "-a" "87f40f1dfad7eb19a036a9ab08dd14a5a8e9683f5ea3f8e3c095bf297c98ac4d", kill_on_drop: false }` [INFO] [stderr] Checking td2-aaia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 90 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 91 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 100 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 101 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 138 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:139:61 [INFO] [stdout] | [INFO] [stdout] 139 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 139 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 149 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 150 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:90:46 [INFO] [stdout] | [INFO] [stdout] 90 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 90 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 90 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:91:61 [INFO] [stdout] | [INFO] [stdout] 91 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 91 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 91 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:100:34 [INFO] [stdout] | [INFO] [stdout] 100 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 100 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 100 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:101:49 [INFO] [stdout] | [INFO] [stdout] 101 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 101 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 101 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - if cost[i][j] + mem_d[j][(e - j)] < mem_d[i][e] { [INFO] [stdout] 138 + if cost[i][j] + mem_d[j][e - j] < mem_d[i][e] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:139:61 [INFO] [stdout] | [INFO] [stdout] 139 | mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - mem_d[i][e] = cost[i][j] + mem_d[j][(e - j)]; [INFO] [stdout] 139 + mem_d[i][e] = cost[i][j] + mem_d[j][e - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:149:34 [INFO] [stdout] | [INFO] [stdout] 149 | if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 149 - if cost[0][j] + mem_d[j][(s - j)] < mem_d[0][s] { [INFO] [stdout] 149 + if cost[0][j] + mem_d[j][s - j] < mem_d[0][s] { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/main.rs:150:49 [INFO] [stdout] | [INFO] [stdout] 150 | mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 150 - mem_d[0][s] = cost[0][j] + mem_d[j][(s - j)]; [INFO] [stdout] 150 + mem_d[0][s] = cost[0][j] + mem_d[j][s - j]; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_distance` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn compute_distance(i: Node, s: Set, n: usize, cost: &Vec>, nb_call: &mut i32) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to` is never read [INFO] [stdout] --> src/main.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | struct Edge { from: Node, to: Node } [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compute_distance` is never used [INFO] [stdout] --> src/main.rs:46:4 [INFO] [stdout] | [INFO] [stdout] 46 | fn compute_distance(i: Node, s: Set, n: usize, cost: &Vec>, nb_call: &mut i32) -> Cost { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `to` is never read [INFO] [stdout] --> src/main.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | struct Edge { from: Node, to: Node } [INFO] [stdout] | ---- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "87f40f1dfad7eb19a036a9ab08dd14a5a8e9683f5ea3f8e3c095bf297c98ac4d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87f40f1dfad7eb19a036a9ab08dd14a5a8e9683f5ea3f8e3c095bf297c98ac4d", kill_on_drop: false }` [INFO] [stdout] 87f40f1dfad7eb19a036a9ab08dd14a5a8e9683f5ea3f8e3c095bf297c98ac4d