[INFO] cloning repository https://github.com/caporta/rust_fundamentals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/caporta/rust_fundamentals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaporta%2Frust_fundamentals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaporta%2Frust_fundamentals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 78a5378e3b3c9e32237f5f6bcc8083bd250e7b8d [INFO] checking caporta/rust_fundamentals against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaporta%2Frust_fundamentals" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caporta/rust_fundamentals on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/caporta/rust_fundamentals [INFO] finished tweaking git repo https://github.com/caporta/rust_fundamentals [INFO] tweaked toml for git repo https://github.com/caporta/rust_fundamentals written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/caporta/rust_fundamentals already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5a9de0a4c3c6abcd85c55ac2105b2a4071008578711baccb7a4a1268af2c587 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e5a9de0a4c3c6abcd85c55ac2105b2a4071008578711baccb7a4a1268af2c587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5a9de0a4c3c6abcd85c55ac2105b2a4071008578711baccb7a4a1268af2c587", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5a9de0a4c3c6abcd85c55ac2105b2a4071008578711baccb7a4a1268af2c587", kill_on_drop: false }` [INFO] [stdout] e5a9de0a4c3c6abcd85c55ac2105b2a4071008578711baccb7a4a1268af2c587 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a521e12341187c11583aa22a4795b81fe473ad455d0b6f351699408efb9b719 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7a521e12341187c11583aa22a4795b81fe473ad455d0b6f351699408efb9b719", kill_on_drop: false }` [INFO] [stderr] Checking hello_world v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/stack_and_heap.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unknown lint: `unused_variable` [INFO] [stdout] --> src/stack_and_heap.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #[allow(unused_variable)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: did you mean: `unused_variables` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unknown_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/control_flow.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | 1...999 => "unknown", // inclusive range notation (opposite in most langs) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pattern_matching.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | z @ 9...11 => "lots of", //assign range to variable [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/control_flow.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | 1...999 => "unknown", // inclusive range notation (opposite in most langs) [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/pattern_matching.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | z @ 9...11 => "lots of", //assign range to variable [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/stack_and_heap.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let x = 5; // i32 stored on the stack [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/data_structures_2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let u:&str = &letters; // d-ref conversions [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/pattern_matching.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | z @ 9...11 => "lots of", //assign range to variable [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `myLine` [INFO] [stdout] --> src/generics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let myLine = Line { start: a, end: b }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_myLine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/stack_and_heap.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let x = 5; // i32 stored on the stack [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> src/data_structures_2.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let u:&str = &letters; // d-ref conversions [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `z` [INFO] [stdout] --> src/pattern_matching.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | z @ 9...11 => "lots of", //assign range to variable [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `myLine` [INFO] [stdout] --> src/generics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let myLine = Line { start: a, end: b }; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_myLine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/stack_and_heap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | y: f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/data_structures_1.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Red, // "memberless struct" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/data_structures_1.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Green, // "memberless struct" [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/data_structures_1.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Blue, // etc... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RGBColor` [INFO] [stdout] --> src/data_structures_1.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | RGBColor(u8, u8, u8), // tuple [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cyan` [INFO] [stdout] --> src/data_structures_1.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | CmykColor{cyan:u8, magenta:u8, yellow:u8, black:u8}, // struct [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `magenta` [INFO] [stdout] --> src/data_structures_1.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | CmykColor{cyan:u8, magenta:u8, yellow:u8, black:u8}, // struct [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yellow` [INFO] [stdout] --> src/data_structures_1.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | CmykColor{cyan:u8, magenta:u8, yellow:u8, black:u8}, // struct [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/generics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | start: Point, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/generics.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | end: Point, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myLine` should have a snake case name [INFO] [stdout] --> src/data_structures_1.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let myLine = Line { start: p, end: p2 }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `my_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myLine` should have a snake case name [INFO] [stdout] --> src/generics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let myLine = Line { start: a, end: b }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `my_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `y` [INFO] [stdout] --> src/stack_and_heap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | y: f64 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Red` [INFO] [stdout] --> src/data_structures_1.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | Red, // "memberless struct" [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Green` [INFO] [stdout] --> src/data_structures_1.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | Green, // "memberless struct" [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Blue` [INFO] [stdout] --> src/data_structures_1.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Blue, // etc... [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RGBColor` [INFO] [stdout] --> src/data_structures_1.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | RGBColor(u8, u8, u8), // tuple [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `cyan` [INFO] [stdout] --> src/data_structures_1.rs:32:15 [INFO] [stdout] | [INFO] [stdout] 32 | CmykColor{cyan:u8, magenta:u8, yellow:u8, black:u8}, // struct [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `magenta` [INFO] [stdout] --> src/data_structures_1.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | CmykColor{cyan:u8, magenta:u8, yellow:u8, black:u8}, // struct [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `yellow` [INFO] [stdout] --> src/data_structures_1.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | CmykColor{cyan:u8, magenta:u8, yellow:u8, black:u8}, // struct [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `start` [INFO] [stdout] --> src/generics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | start: Point, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `end` [INFO] [stdout] --> src/generics.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | end: Point, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myLine` should have a snake case name [INFO] [stdout] --> src/data_structures_1.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let myLine = Line { start: p, end: p2 }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `my_line` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `myLine` should have a snake case name [INFO] [stdout] --> src/generics.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let myLine = Line { start: a, end: b }; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `my_line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "7a521e12341187c11583aa22a4795b81fe473ad455d0b6f351699408efb9b719", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a521e12341187c11583aa22a4795b81fe473ad455d0b6f351699408efb9b719", kill_on_drop: false }` [INFO] [stdout] 7a521e12341187c11583aa22a4795b81fe473ad455d0b6f351699408efb9b719