[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 master#f8c27dfe1a2e7fb538fd91dad53de06992c7c967 for pr-138915 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerrymusaga%2Frust-lover" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/jerrymusaga/rust-lover on toolchain f8c27dfe1a2e7fb538fd91dad53de06992c7c967 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ada7d3dd9ac6517f12c15d22d612f434658f5b802f7358ca3155fb14533f1e50 [INFO] running `Command { std: "docker" "start" "-a" "ada7d3dd9ac6517f12c15d22d612f434658f5b802f7358ca3155fb14533f1e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ada7d3dd9ac6517f12c15d22d612f434658f5b802f7358ca3155fb14533f1e50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ada7d3dd9ac6517f12c15d22d612f434658f5b802f7358ca3155fb14533f1e50", kill_on_drop: false }` [INFO] [stdout] ada7d3dd9ac6517f12c15d22d612f434658f5b802f7358ca3155fb14533f1e50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+f8c27dfe1a2e7fb538fd91dad53de06992c7c967" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0351420f0b6232ca708ecfa37c971063a3cebf44e4a2f4c9ace1b0b6bb56f2cd [INFO] running `Command { std: "docker" "start" "-a" "0351420f0b6232ca708ecfa37c971063a3cebf44e4a2f4c9ace1b0b6bb56f2cd", kill_on_drop: false }` [INFO] [stderr] Checking rust-mastery v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_variables)]` on by default [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] [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: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: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: 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)]` 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: 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] = note: `#[warn(unused_variables)]` on by default [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] [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: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: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: 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)]` 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.24s [INFO] running `Command { std: "docker" "inspect" "0351420f0b6232ca708ecfa37c971063a3cebf44e4a2f4c9ace1b0b6bb56f2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0351420f0b6232ca708ecfa37c971063a3cebf44e4a2f4c9ace1b0b6bb56f2cd", kill_on_drop: false }` [INFO] [stdout] 0351420f0b6232ca708ecfa37c971063a3cebf44e4a2f4c9ace1b0b6bb56f2cd