[INFO] cloning repository https://github.com/pfc15/Knapsack [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pfc15/Knapsack" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfc15%2FKnapsack", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfc15%2FKnapsack'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b9ca029b66c252312c6d5a004307cac3c52711f4 [INFO] checking pfc15/Knapsack against try#b32fc44666c052e7cf07ab471bfb6f9ec571902f for pr-138676 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfc15%2FKnapsack" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pfc15/Knapsack on toolchain b32fc44666c052e7cf07ab471bfb6f9ec571902f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pfc15/Knapsack [INFO] finished tweaking git repo https://github.com/pfc15/Knapsack [INFO] tweaked toml for git repo https://github.com/pfc15/Knapsack written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pfc15/Knapsack 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" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ae16261564b3384f05d84c9a6eca8810e43d64ec0131e2f2c83b880cc92aacd [INFO] running `Command { std: "docker" "start" "-a" "4ae16261564b3384f05d84c9a6eca8810e43d64ec0131e2f2c83b880cc92aacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ae16261564b3384f05d84c9a6eca8810e43d64ec0131e2f2c83b880cc92aacd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ae16261564b3384f05d84c9a6eca8810e43d64ec0131e2f2c83b880cc92aacd", kill_on_drop: false }` [INFO] [stdout] 4ae16261564b3384f05d84c9a6eca8810e43d64ec0131e2f2c83b880cc92aacd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+b32fc44666c052e7cf07ab471bfb6f9ec571902f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c70e555239a2c6ee9c0be686e1cb1636955a7828e85b00436b2717e67c96d3c [INFO] running `Command { std: "docker" "start" "-a" "9c70e555239a2c6ee9c0be686e1cb1636955a7828e85b00436b2717e67c96d3c", kill_on_drop: false }` [INFO] [stderr] Checking prog_dinamica v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `chama_knapsack` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn chama_knapsack() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chama_knapsack` is never used [INFO] [stdout] --> src/main.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn chama_knapsack() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/knapsack.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Item` is never constructed [INFO] [stdout] --> src/knapsack.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Item { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `No` is never constructed [INFO] [stdout] --> src/knapsack.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct No { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `No` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `No` is never constructed [INFO] [stdout] --> src/knapsack.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct No { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `No` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Knapsack` is never constructed [INFO] [stdout] --> src/knapsack.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Knapsack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Knapsack` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Knapsack` is never constructed [INFO] [stdout] --> src/knapsack.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Knapsack { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Knapsack` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `encontrar_caminho` are never used [INFO] [stdout] --> src/knapsack.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Knapsack { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(items:Vec) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn solve(&mut self, x:usize, y:usize) -> usize{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn encontrar_caminho(self, x:usize, y:usize, mut retorno:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `solve`, and `encontrar_caminho` are never used [INFO] [stdout] --> src/knapsack.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Knapsack { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(items:Vec) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn solve(&mut self, x:usize, y:usize) -> usize{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn encontrar_caminho(self, x:usize, y:usize, mut retorno:Vec) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/knapsack.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn max(a:usize, b:usize) ->usize{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `max` is never used [INFO] [stdout] --> src/knapsack.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn max(a:usize, b:usize) ->usize{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "9c70e555239a2c6ee9c0be686e1cb1636955a7828e85b00436b2717e67c96d3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c70e555239a2c6ee9c0be686e1cb1636955a7828e85b00436b2717e67c96d3c", kill_on_drop: false }` [INFO] [stdout] 9c70e555239a2c6ee9c0be686e1cb1636955a7828e85b00436b2717e67c96d3c