[INFO] cloning repository https://github.com/LouisMuriuki/practise [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LouisMuriuki/practise" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisMuriuki%2Fpractise", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisMuriuki%2Fpractise'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7e9d52fe13e7e90ca04f1b3dc08992fabfc94539 [INFO] checking LouisMuriuki/practise against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLouisMuriuki%2Fpractise" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LouisMuriuki/practise [INFO] finished tweaking git repo https://github.com/LouisMuriuki/practise [INFO] tweaked toml for git repo https://github.com/LouisMuriuki/practise written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LouisMuriuki/practise on toolchain f3d95de532264a1215023baa665c0028aecf74b1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LouisMuriuki/practise 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82838c51f7b4006feea23c02e4edfc5eea7385653e02c4f5b60a13221a04f622 [INFO] running `Command { std: "docker" "start" "-a" "82838c51f7b4006feea23c02e4edfc5eea7385653e02c4f5b60a13221a04f622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82838c51f7b4006feea23c02e4edfc5eea7385653e02c4f5b60a13221a04f622", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82838c51f7b4006feea23c02e4edfc5eea7385653e02c4f5b60a13221a04f622", kill_on_drop: false }` [INFO] [stdout] 82838c51f7b4006feea23c02e4edfc5eea7385653e02c4f5b60a13221a04f622 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+f3d95de532264a1215023baa665c0028aecf74b1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 22c1f2f15945ca29e127ac217aac9bf17bd6d38d0cc845f19b23b4447da8847b [INFO] running `Command { std: "docker" "start" "-a" "22c1f2f15945ca29e127ac217aac9bf17bd6d38d0cc845f19b23b4447da8847b", kill_on_drop: false }` [INFO] [stderr] Checking practise v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/lib.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::my_box::run_my_box` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::my_box::run_my_box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `engine::my_box::run_my_box` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use engine::my_box::run_my_box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/enum_list.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut something=Something::Variant1; [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/engine/enum_list.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut something=Something::Variant1; [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/engine/enum_list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut something=Something::Variant2; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/engine/enum_list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut something=Something::Variant2; [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `something` [INFO] [stdout] --> src/engine/enum_list.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut something=Something::Variant1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_something` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `something` [INFO] [stdout] --> src/engine/enum_list.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let mut something=Something::Variant1; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_something` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `something` [INFO] [stdout] --> src/engine/enum_list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut something=Something::Variant2; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_something` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `something` [INFO] [stdout] --> src/engine/enum_list.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut something=Something::Variant2; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_something` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_roman` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn run_roman() { [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 `roman_numbers` is never used [INFO] [stdout] --> src/engine/roman_numbers.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn roman_numbers(roman_number:&str) ->i32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Something` is never used [INFO] [stdout] --> src/engine/enum_list.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Something { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/engine/enum_list.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn run (){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_roman` is never used [INFO] [stdout] --> src/main.rs:15:4 [INFO] [stdout] | [INFO] [stdout] 15 | fn run_roman() { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/engine/cons_list.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `roman_numbers` is never used [INFO] [stdout] --> src/engine/roman_numbers.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn roman_numbers(roman_number:&str) ->i32{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_list` is never used [INFO] [stdout] --> src/engine/cons_list.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create_list() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyBox` is never constructed [INFO] [stdout] --> src/engine/my_box.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Something` is never used [INFO] [stdout] --> src/engine/enum_list.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum Something { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/my_box.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl MyBox { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | fn new(value: T) -> MyBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/engine/enum_list.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn run (){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_my_box` is never used [INFO] [stdout] --> src/engine/my_box.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn run_my_box() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `List` is never used [INFO] [stdout] --> src/engine/cons_list.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_list` is never used [INFO] [stdout] --> src/engine/cons_list.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn create_list() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyBox` is never constructed [INFO] [stdout] --> src/engine/my_box.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyBox { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/engine/my_box.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 16 | impl MyBox { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | fn new(value: T) -> MyBox { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_my_box` is never used [INFO] [stdout] --> src/engine/my_box.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn run_my_box() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] running `Command { std: "docker" "inspect" "22c1f2f15945ca29e127ac217aac9bf17bd6d38d0cc845f19b23b4447da8847b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22c1f2f15945ca29e127ac217aac9bf17bd6d38d0cc845f19b23b4447da8847b", kill_on_drop: false }` [INFO] [stdout] 22c1f2f15945ca29e127ac217aac9bf17bd6d38d0cc845f19b23b4447da8847b