[INFO] cloning repository https://github.com/hagoraya/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/hagoraya/learn-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhagoraya%2Flearn-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhagoraya%2Flearn-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] dc362234ae38f302f9b2d6c6d051a0036ec274e4
[INFO] testing hagoraya/learn-rust against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhagoraya%2Flearn-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/hagoraya/learn-rust on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/hagoraya/learn-rust
[INFO] finished tweaking git repo https://github.com/hagoraya/learn-rust
[INFO] tweaked toml for git repo https://github.com/hagoraya/learn-rust written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/hagoraya/learn-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e7e5198a9b699c3f01b36755061603ca744919ccb203f1c2971e64e4bc6bffa9
[INFO] running `Command { std: "docker" "start" "-a" "e7e5198a9b699c3f01b36755061603ca744919ccb203f1c2971e64e4bc6bffa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e7e5198a9b699c3f01b36755061603ca744919ccb203f1c2971e64e4bc6bffa9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7e5198a9b699c3f01b36755061603ca744919ccb203f1c2971e64e4bc6bffa9", kill_on_drop: false }`
[INFO] [stdout] e7e5198a9b699c3f01b36755061603ca744919ccb203f1c2971e64e4bc6bffa9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 097f097966139cfd6c940df1d785b77b430aed38fb220b1f034569b288f175a2
[INFO] running `Command { std: "docker" "start" "-a" "097f097966139cfd6c940df1d785b77b430aed38fb220b1f034569b288f175a2", kill_on_drop: false }`
[INFO] [stderr]    Compiling learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Coin_Data` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |     enum Coin_Data {
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `CoinData`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/generics.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `color` should have an upper camel case name
[INFO] [stdout]   --> src/structs.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     struct color(u32, u32, u32);
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/enums.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Coin_Data::Dime { x, y } => 5,
[INFO] [stdout]    |                               ^ help: try ignoring the field: `x: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/enums.rs:51:34
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Coin_Data::Dime { x, y } => 5,
[INFO] [stdout]    |                                  ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/generics.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let list = &vec![1, 2, 3];
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]  --> src/enums.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Nickel,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/enums.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     #[derive(Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]  --> src/enums.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Dime,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/enums.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     #[derive(Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Quarter`
[INFO] [stdout]  --> src/enums.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         Quarter,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/enums.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     #[derive(Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Penny`
[INFO] [stdout]   --> src/enums.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Penny,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/enums.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]   --> src/enums.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Nickel,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/enums.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]   --> src/enums.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         Dime { x: i32, y: i32 }, //nameless struct
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/enums.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Option`
[INFO] [stdout]   --> src/enums.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |     enum Option<T> {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]  --> src/generics.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `width`
[INFO] [stdout]  --> src/structs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     width: u32,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/structs.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `height`
[INFO] [stdout]  --> src/structs.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     height: u32,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/structs.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `area`
[INFO] [stdout]  --> src/structs.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn area(&self) -> u32 {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `can_hold`
[INFO] [stdout]   --> src/structs.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn can_hold(&self, rect: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `square`
[INFO] [stdout]   --> src/structs.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn square(size: u32) -> Rectangle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/structs.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]  --> src/traits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.36s
[INFO] running `Command { std: "docker" "inspect" "097f097966139cfd6c940df1d785b77b430aed38fb220b1f034569b288f175a2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "097f097966139cfd6c940df1d785b77b430aed38fb220b1f034569b288f175a2", kill_on_drop: false }`
[INFO] [stdout] 097f097966139cfd6c940df1d785b77b430aed38fb220b1f034569b288f175a2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] f9a39c533790a0d31fcd9874cb20c9179cc0a80b3a4aeb95a37166a4a403afa0
[INFO] running `Command { std: "docker" "start" "-a" "f9a39c533790a0d31fcd9874cb20c9179cc0a80b3a4aeb95a37166a4a403afa0", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: type `Coin_Data` should have an upper camel case name
[INFO] [stdout]   --> src/enums.rs:14:10
[INFO] [stdout]    |
[INFO] [stdout] 14 |     enum Coin_Data {
[INFO] [stdout]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `CoinData`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]  --> src/generics.rs:6:6
[INFO] [stdout]   |
[INFO] [stdout] 6 |     };
[INFO] [stdout]   |      ^ help: remove this semicolon
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type `color` should have an upper camel case name
[INFO] [stdout]   --> src/structs.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     struct color(u32, u32, u32);
[INFO] [stdout]    |            ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/enums.rs:51:31
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Coin_Data::Dime { x, y } => 5,
[INFO] [stdout]    |                               ^ help: try ignoring the field: `x: _`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]   --> src/enums.rs:51:34
[INFO] [stdout]    |
[INFO] [stdout] 51 |             Coin_Data::Dime { x, y } => 5,
[INFO] [stdout]    |                                  ^ help: try ignoring the field: `y: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `list`
[INFO] [stdout]   --> src/generics.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let list = &vec![1, 2, 3];
[INFO] [stdout]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]  --> src/enums.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |         Nickel,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/enums.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     #[derive(Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]  --> src/enums.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |         Dime,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/enums.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     #[derive(Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Quarter`
[INFO] [stdout]  --> src/enums.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |         Quarter,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/enums.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 |     #[derive(Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Penny`
[INFO] [stdout]   --> src/enums.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |         Penny,
[INFO] [stdout]    |         ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/enums.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Nickel`
[INFO] [stdout]   --> src/enums.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |         Nickel,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/enums.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant is never constructed: `Dime`
[INFO] [stdout]   --> src/enums.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         Dime { x: i32, y: i32 }, //nameless struct
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/enums.rs:13:14
[INFO] [stdout]    |
[INFO] [stdout] 13 |     #[derive(Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum is never used: `Option`
[INFO] [stdout]   --> src/enums.rs:34:10
[INFO] [stdout]    |
[INFO] [stdout] 34 |     enum Option<T> {
[INFO] [stdout]    |          ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]  --> src/generics.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `width`
[INFO] [stdout]  --> src/structs.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     width: u32,
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/structs.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `height`
[INFO] [stdout]  --> src/structs.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     height: u32,
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/structs.rs:1:10
[INFO] [stdout]   |
[INFO] [stdout] 1 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `area`
[INFO] [stdout]  --> src/structs.rs:8:8
[INFO] [stdout]   |
[INFO] [stdout] 8 |     fn area(&self) -> u32 {
[INFO] [stdout]   |        ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `can_hold`
[INFO] [stdout]   --> src/structs.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn can_hold(&self, rect: &Rectangle) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `square`
[INFO] [stdout]   --> src/structs.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 |     fn square(size: u32) -> Rectangle {
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]   --> src/structs.rs:24:8
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub fn run() {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `run`
[INFO] [stdout]  --> src/traits.rs:1:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub fn run() {
[INFO] [stdout]   |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.96s
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/learning-1d3a9cbbb72bccbf)
[INFO] running `Command { std: "docker" "inspect" "f9a39c533790a0d31fcd9874cb20c9179cc0a80b3a4aeb95a37166a4a403afa0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f9a39c533790a0d31fcd9874cb20c9179cc0a80b3a4aeb95a37166a4a403afa0", kill_on_drop: false }`
[INFO] [stdout] f9a39c533790a0d31fcd9874cb20c9179cc0a80b3a4aeb95a37166a4a403afa0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 3dc886c76d25ee9314f8e9aa2c482997cf2e4bdc3d26c4c3faa52380b5c0b737
[INFO] running `Command { std: "docker" "start" "-a" "3dc886c76d25ee9314f8e9aa2c482997cf2e4bdc3d26c4c3faa52380b5c0b737", kill_on_drop: false }`
[INFO] [stderr] warning: type `Coin_Data` should have an upper camel case name
[INFO] [stderr]   --> src/enums.rs:14:10
[INFO] [stderr]    |
[INFO] [stderr] 14 |     enum Coin_Data {
[INFO] [stderr]    |          ^^^^^^^^^ help: convert the identifier to upper camel case: `CoinData`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(non_camel_case_types)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary trailing semicolon
[INFO] [stderr]  --> src/generics.rs:6:6
[INFO] [stderr]   |
[INFO] [stderr] 6 |     };
[INFO] [stderr]   |      ^ help: remove this semicolon
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(redundant_semicolons)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: type `color` should have an upper camel case name
[INFO] [stderr]   --> src/structs.rs:46:12
[INFO] [stderr]    |
[INFO] [stderr] 46 |     struct color(u32, u32, u32);
[INFO] [stderr]    |            ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Color`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]   --> src/enums.rs:51:31
[INFO] [stderr]    |
[INFO] [stderr] 51 |             Coin_Data::Dime { x, y } => 5,
[INFO] [stderr]    |                               ^ help: try ignoring the field: `x: _`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]   --> src/enums.rs:51:34
[INFO] [stderr]    |
[INFO] [stderr] 51 |             Coin_Data::Dime { x, y } => 5,
[INFO] [stderr]    |                                  ^ help: try ignoring the field: `y: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `list`
[INFO] [stderr]   --> src/generics.rs:30:9
[INFO] [stderr]    |
[INFO] [stderr] 30 |     let list = &vec![1, 2, 3];
[INFO] [stderr]    |         ^^^^ help: if this is intentional, prefix it with an underscore: `_list`
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Nickel`
[INFO] [stderr]  --> src/enums.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 6 |         Nickel,
[INFO] [stderr]   |         ^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/enums.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 |     #[derive(Debug)]
[INFO] [stderr]   |              ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Dime`
[INFO] [stderr]  --> src/enums.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |         Dime,
[INFO] [stderr]   |         ^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/enums.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 |     #[derive(Debug)]
[INFO] [stderr]   |              ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Quarter`
[INFO] [stderr]  --> src/enums.rs:8:9
[INFO] [stderr]   |
[INFO] [stderr] 8 |         Quarter,
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Coin` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/enums.rs:3:14
[INFO] [stderr]   |
[INFO] [stderr] 3 |     #[derive(Debug)]
[INFO] [stderr]   |              ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Penny`
[INFO] [stderr]   --> src/enums.rs:15:9
[INFO] [stderr]    |
[INFO] [stderr] 15 |         Penny,
[INFO] [stderr]    |         ^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/enums.rs:13:14
[INFO] [stderr]    |
[INFO] [stderr] 13 |     #[derive(Debug)]
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Nickel`
[INFO] [stderr]   --> src/enums.rs:16:9
[INFO] [stderr]    |
[INFO] [stderr] 16 |         Nickel,
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/enums.rs:13:14
[INFO] [stderr]    |
[INFO] [stderr] 13 |     #[derive(Debug)]
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: variant is never constructed: `Dime`
[INFO] [stderr]   --> src/enums.rs:17:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |         Dime { x: i32, y: i32 }, //nameless struct
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Coin_Data` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/enums.rs:13:14
[INFO] [stderr]    |
[INFO] [stderr] 13 |     #[derive(Debug)]
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: enum is never used: `Option`
[INFO] [stderr]   --> src/enums.rs:34:10
[INFO] [stderr]    |
[INFO] [stderr] 34 |     enum Option<T> {
[INFO] [stderr]    |          ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `run`
[INFO] [stderr]  --> src/generics.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run() {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `width`
[INFO] [stderr]  --> src/structs.rs:3:5
[INFO] [stderr]   |
[INFO] [stderr] 3 |     width: u32,
[INFO] [stderr]   |     ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/structs.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[derive(Debug)]
[INFO] [stderr]   |          ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `height`
[INFO] [stderr]  --> src/structs.rs:4:5
[INFO] [stderr]   |
[INFO] [stderr] 4 |     height: u32,
[INFO] [stderr]   |     ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Rectangle` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/structs.rs:1:10
[INFO] [stderr]   |
[INFO] [stderr] 1 | #[derive(Debug)]
[INFO] [stderr]   |          ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `area`
[INFO] [stderr]  --> src/structs.rs:8:8
[INFO] [stderr]   |
[INFO] [stderr] 8 |     fn area(&self) -> u32 {
[INFO] [stderr]   |        ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `can_hold`
[INFO] [stderr]   --> src/structs.rs:12:8
[INFO] [stderr]    |
[INFO] [stderr] 12 |     fn can_hold(&self, rect: &Rectangle) -> bool {
[INFO] [stderr]    |        ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function is never used: `square`
[INFO] [stderr]   --> src/structs.rs:16:8
[INFO] [stderr]    |
[INFO] [stderr] 16 |     fn square(size: u32) -> Rectangle {
[INFO] [stderr]    |        ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `run`
[INFO] [stderr]   --> src/structs.rs:24:8
[INFO] [stderr]    |
[INFO] [stderr] 24 | pub fn run() {
[INFO] [stderr]    |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `run`
[INFO] [stderr]  --> src/traits.rs:1:8
[INFO] [stderr]   |
[INFO] [stderr] 1 | pub fn run() {
[INFO] [stderr]   |        ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `learning` (bin "learning" test) generated 21 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learning-1d3a9cbbb72bccbf)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "3dc886c76d25ee9314f8e9aa2c482997cf2e4bdc3d26c4c3faa52380b5c0b737", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3dc886c76d25ee9314f8e9aa2c482997cf2e4bdc3d26c4c3faa52380b5c0b737", kill_on_drop: false }`
[INFO] [stdout] 3dc886c76d25ee9314f8e9aa2c482997cf2e4bdc3d26c4c3faa52380b5c0b737
