[INFO] cloning repository https://github.com/duysmile/learn-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/duysmile/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduysmile%2Flearn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduysmile%2Flearn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b9bcfee8e3ff1db749c854a1a7a6731ea2b45eb1
[INFO] checking duysmile/learn-rust against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fduysmile%2Flearn-rust" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/duysmile/learn-rust
[INFO] finished tweaking git repo https://github.com/duysmile/learn-rust
[INFO] tweaked toml for git repo https://github.com/duysmile/learn-rust written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/duysmile/learn-rust on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/duysmile/learn-rust 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" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5e7c1d3ad280735ad8042e7f9f3d0067b7840f4f15294be8a58b05c0167e166b
[INFO] running `Command { std: "docker" "start" "-a" "5e7c1d3ad280735ad8042e7f9f3d0067b7840f4f15294be8a58b05c0167e166b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5e7c1d3ad280735ad8042e7f9f3d0067b7840f4f15294be8a58b05c0167e166b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5e7c1d3ad280735ad8042e7f9f3d0067b7840f4f15294be8a58b05c0167e166b", kill_on_drop: false }`
[INFO] [stdout] 5e7c1d3ad280735ad8042e7f9f3d0067b7840f4f15294be8a58b05c0167e166b
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 671adabde64632a2811b580af4aac075166996681a612c4a1dac2354da992d01
[INFO] running `Command { std: "docker" "start" "-a" "671adabde64632a2811b580af4aac075166996681a612c4a1dac2354da992d01", kill_on_drop: false }`
[INFO] [stderr]     Checking rust_exercises v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: trait `AppendBar` is never used
[INFO] [stdout]  --> src/lession4/ex3.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 | trait AppendBar {
[INFO] [stdout]   |       ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lession2/ex2.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut additions: &Vec<usize> = &vec![0];
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lession2/ex2.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut saltar: i32 = 0;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `objetive`
[INFO] [stdout]   --> src/lession2/ex2.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let objetive = 3126.59;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objetive`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_index_max`
[INFO] [stdout]   --> src/lession2/ex2.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let values_index_max = values_number - 1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_index_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saltar`
[INFO] [stdout]   --> src/lession2/ex2.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut saltar: i32 = 0;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saltar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `name` is never read
[INFO] [stdout]   --> src/lession4/ex4.rs:40:5
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Store {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 40 |     name: String,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `both`
[INFO] [stdout]   --> src/lession3/ex4.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let both = d.get_both();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_both`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/lession3/ex4.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let x = d.get_val1();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/lession3/ex4.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let y = d.get_val2();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `diff2`
[INFO] [stdout]   --> src/lession2/ex1.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let diff2  = vec_diff(&diff, &v1);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_diff2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/lession3/ex1.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let p = Point{x: 5, y : "hello".to_string()};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/lession3/ex1.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Point<T> {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: String,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `both`
[INFO] [stdout]   --> src/lession3/ex4.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let both = d.get_both();
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_both`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/lession3/ex4.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let x = d.get_val1();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/lession3/ex4.rs:23:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let y = d.get_val2();
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lession2/ex2.rs:22:9
[INFO] [stdout]    |
[INFO] [stdout] 22 |     let mut additions: &Vec<usize> = &vec![0];
[INFO] [stdout]    |         ----^^^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/lession2/ex2.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut saltar: i32 = 0;
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `objetive`
[INFO] [stdout]   --> src/lession2/ex2.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let objetive = 3126.59;
[INFO] [stdout]    |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_objetive`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `values_index_max`
[INFO] [stdout]   --> src/lession2/ex2.rs:20:9
[INFO] [stdout]    |
[INFO] [stdout] 20 |     let values_index_max = values_number - 1;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_values_index_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `saltar`
[INFO] [stdout]   --> src/lession2/ex2.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |         let mut saltar: i32 = 0;
[INFO] [stdout]    |             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_saltar`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `Price` is never used
[INFO] [stdout]   --> src/lession4/ex4.rs:13:7
[INFO] [stdout]    |
[INFO] [stdout] 13 | trait Price {
[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 `Store` is never constructed
[INFO] [stdout]   --> src/lession4/ex4.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 | struct Store {
[INFO] [stdout]    |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Item` is never constructed
[INFO] [stdout]   --> src/lession4/ex4.rs:45:8
[INFO] [stdout]    |
[INFO] [stdout] 45 | struct Item {
[INFO] [stdout]    |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `add_item` are never used
[INFO] [stdout]   --> src/lession4/ex4.rs:51:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | impl Store {
[INFO] [stdout]    | ---------- associated items in this implementation
[INFO] [stdout] 51 |     fn new(name: String) -> Store {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     fn add_item(&mut self, item: Item) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_store` is never used
[INFO] [stdout]   --> src/lession4/ex4.rs:74:4
[INFO] [stdout]    |
[INFO] [stdout] 74 | fn build_store() -> Store {
[INFO] [stdout]    |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Factory` is never constructed
[INFO] [stdout]   --> src/lession4/ex4.rs:87:8
[INFO] [stdout]    |
[INFO] [stdout] 87 | struct Factory {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `build_factory` is never used
[INFO] [stdout]    --> src/lession4/ex4.rs:102:4
[INFO] [stdout]     |
[INFO] [stdout] 102 | fn build_factory() -> Factory {
[INFO] [stdout]     |    ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `diff2`
[INFO] [stdout]   --> src/lession2/ex1.rs:38:9
[INFO] [stdout]    |
[INFO] [stdout] 38 |     let diff2  = vec_diff(&diff, &v1);
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_diff2`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]   --> src/lession3/ex1.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     let p = Point{x: 5, y : "hello".to_string()};
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]   --> src/lession3/ex1.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  8 | struct Point<T> {
[INFO] [stdout]    |        ----- fields in this struct
[INFO] [stdout]  9 |     x: T,
[INFO] [stdout]    |     ^
[INFO] [stdout] 10 |     y: String,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.32s
[INFO] running `Command { std: "docker" "inspect" "671adabde64632a2811b580af4aac075166996681a612c4a1dac2354da992d01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "671adabde64632a2811b580af4aac075166996681a612c4a1dac2354da992d01", kill_on_drop: false }`
[INFO] [stdout] 671adabde64632a2811b580af4aac075166996681a612c4a1dac2354da992d01
