[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#e117153a45c546e883c1f91d82611775fcaeffe0 for pr-146470-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpfc15%2FKnapsack" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/pfc15/Knapsack on toolchain e117153a45c546e883c1f91d82611775fcaeffe0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+e117153a45c546e883c1f91d82611775fcaeffe0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4f22ebf7090932ebd4f086177f50e4be84540496bb8fc3311d749fe5a2fef3ae
[INFO] running `Command { std: "docker" "start" "-a" "4f22ebf7090932ebd4f086177f50e4be84540496bb8fc3311d749fe5a2fef3ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4f22ebf7090932ebd4f086177f50e4be84540496bb8fc3311d749fe5a2fef3ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4f22ebf7090932ebd4f086177f50e4be84540496bb8fc3311d749fe5a2fef3ae", kill_on_drop: false }`
[INFO] [stdout] 4f22ebf7090932ebd4f086177f50e4be84540496bb8fc3311d749fe5a2fef3ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+e117153a45c546e883c1f91d82611775fcaeffe0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 4796ed70f84c5a5c6acce4683fe2ca1c96811e02e480ffe0a2a726df1872f34a
[INFO] running `Command { std: "docker" "start" "-a" "4796ed70f84c5a5c6acce4683fe2ca1c96811e02e480ffe0a2a726df1872f34a", 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)]` (part of `#[warn(unused)]`) 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] 
[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] 
[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] 
[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<Item>) -> 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<Item>) -> Vec<Item>{
[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 `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)]` (part of `#[warn(unused)]`) 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] 
[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] 
[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] 
[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<Item>) -> 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<Item>) -> Vec<Item>{
[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.21s
[INFO] running `Command { std: "docker" "inspect" "4796ed70f84c5a5c6acce4683fe2ca1c96811e02e480ffe0a2a726df1872f34a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4796ed70f84c5a5c6acce4683fe2ca1c96811e02e480ffe0a2a726df1872f34a", kill_on_drop: false }`
[INFO] [stdout] 4796ed70f84c5a5c6acce4683fe2ca1c96811e02e480ffe0a2a726df1872f34a
