[INFO] cloning repository https://github.com/jerrymusaga/rust-lover [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jerrymusaga/rust-lover" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerrymusaga%2Frust-lover", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerrymusaga%2Frust-lover'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 74ae0189084f42d089fd8670375f6f756741b713 [INFO] checking jerrymusaga/rust-lover against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerrymusaga%2Frust-lover" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jerrymusaga/rust-lover [INFO] finished tweaking git repo https://github.com/jerrymusaga/rust-lover [INFO] tweaked toml for git repo https://github.com/jerrymusaga/rust-lover written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jerrymusaga/rust-lover on toolchain ddcf048784667508cd676fef4667f88ae15628a3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jerrymusaga/rust-lover 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "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-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 17259ab00aa326b97ebd316291575fb9dcaf96605f7613d213561861ffb5f007 [INFO] running `Command { std: "docker" "start" "-a" "17259ab00aa326b97ebd316291575fb9dcaf96605f7613d213561861ffb5f007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "17259ab00aa326b97ebd316291575fb9dcaf96605f7613d213561861ffb5f007", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "17259ab00aa326b97ebd316291575fb9dcaf96605f7613d213561861ffb5f007", kill_on_drop: false }` [INFO] [stdout] 17259ab00aa326b97ebd316291575fb9dcaf96605f7613d213561861ffb5f007 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0eaf108b40ff68888ead1450325fe7c6d8022923c172a02421bd6974a70255c0 [INFO] running `Command { std: "docker" "start" "-a" "0eaf108b40ff68888ead1450325fe7c6d8022923c172a02421bd6974a70255c0", kill_on_drop: false }` [INFO] [stderr] Checking rust-mastery v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `hours` [INFO] [stdout] --> src/exercises/ex3.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn total_production(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hours` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/exercises/ex3.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn total_production(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success_rate` [INFO] [stdout] --> src/exercises/ex3.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let success_rate: f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hours` [INFO] [stdout] --> src/exercises/ex3.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | fn cars_produced_per_minutes(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/exercises/ex3.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | fn cars_produced_per_minutes(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success_rate` [INFO] [stdout] --> src/exercises/ex3.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let success_rate: f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hours` [INFO] [stdout] --> src/exercises/ex3.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | fn total_production(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hours` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/exercises/ex3.rs:26:32 [INFO] [stdout] | [INFO] [stdout] 26 | fn total_production(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success_rate` [INFO] [stdout] --> src/exercises/ex3.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | let success_rate: f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hours` [INFO] [stdout] --> src/exercises/ex3.rs:33:30 [INFO] [stdout] | [INFO] [stdout] 33 | fn cars_produced_per_minutes(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_hours` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `speed` [INFO] [stdout] --> src/exercises/ex3.rs:33:41 [INFO] [stdout] | [INFO] [stdout] 33 | fn cars_produced_per_minutes(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `success_rate` [INFO] [stdout] --> src/exercises/ex3.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | let success_rate: f32; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_success_rate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/exercises/ex1.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn result() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/exercises/ex2.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn result() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/exercises/ex3.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn result() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `total_production` is never used [INFO] [stdout] --> src/exercises/ex3.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn total_production(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cars_produced_per_minutes` is never used [INFO] [stdout] --> src/exercises/ex3.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn cars_produced_per_minutes(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Magazine` is never constructed [INFO] [stdout] --> src/exercises/ex4.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum ItemType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 22 | Book, [INFO] [stdout] 23 | Magazine [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `year`, and `i_type` are never read [INFO] [stdout] --> src/exercises/ex4.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | year: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | i_type: ItemType [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `practice` is never used [INFO] [stdout] --> src/concepts/ownership.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn practice(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_ownership` is never used [INFO] [stdout] --> src/concepts/ownership.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn loop_ownership(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/exercises/ex1.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn result() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/exercises/ex2.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn result() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `result` is never used [INFO] [stdout] --> src/exercises/ex3.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | fn result() { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `total_production` is never used [INFO] [stdout] --> src/exercises/ex3.rs:26:4 [INFO] [stdout] | [INFO] [stdout] 26 | fn total_production(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `cars_produced_per_minutes` is never used [INFO] [stdout] --> src/exercises/ex3.rs:33:4 [INFO] [stdout] | [INFO] [stdout] 33 | fn cars_produced_per_minutes(hours: u8, speed: u8) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Magazine` is never constructed [INFO] [stdout] --> src/exercises/ex4.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 21 | enum ItemType { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 22 | Book, [INFO] [stdout] 23 | Magazine [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ItemType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id`, `title`, `year`, and `i_type` are never read [INFO] [stdout] --> src/exercises/ex4.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct Item { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 27 | id: u64, [INFO] [stdout] | ^^ [INFO] [stdout] 28 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 29 | year: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 30 | i_type: ItemType [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Item` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `practice` is never used [INFO] [stdout] --> src/concepts/ownership.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn practice(){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `loop_ownership` is never used [INFO] [stdout] --> src/concepts/ownership.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn loop_ownership(){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "0eaf108b40ff68888ead1450325fe7c6d8022923c172a02421bd6974a70255c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0eaf108b40ff68888ead1450325fe7c6d8022923c172a02421bd6974a70255c0", kill_on_drop: false }` [INFO] [stdout] 0eaf108b40ff68888ead1450325fe7c6d8022923c172a02421bd6974a70255c0