[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#cb1f7c96119295882e08b09b4bd01051669c071b for pr-98835 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcaporta%2Frust_fundamentals" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/caporta/rust_fundamentals on toolchain cb1f7c96119295882e08b09b4bd01051669c071b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cb1f7c96119295882e08b09b4bd01051669c071b" "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-11/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" "+cb1f7c96119295882e08b09b4bd01051669c071b" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+cb1f7c96119295882e08b09b4bd01051669c071b" "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] 5216c937a090b262568d38d948871bad13421ef6c6280075a7af475303744a3d [INFO] running `Command { std: "docker" "start" "-a" "5216c937a090b262568d38d948871bad13421ef6c6280075a7af475303744a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5216c937a090b262568d38d948871bad13421ef6c6280075a7af475303744a3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5216c937a090b262568d38d948871bad13421ef6c6280075a7af475303744a3d", kill_on_drop: false }` [INFO] [stdout] 5216c937a090b262568d38d948871bad13421ef6c6280075a7af475303744a3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+cb1f7c96119295882e08b09b4bd01051669c071b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 338db731841d774e33e5519c9e7c73ee3369a74c2e1dbaed74777bb693f94e21 [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" "338db731841d774e33e5519c9e7c73ee3369a74c2e1dbaed74777bb693f94e21", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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: `...` 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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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 `y` is never read [INFO] [stdout] --> src/stack_and_heap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | x: f64, [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: fields `cyan`, `magenta` and `yellow` are never read [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] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red`, `Green`, `Blue` and `RGBColor` are never constructed [INFO] [stdout] --> src/data_structures_1.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 28 | Red, // "memberless struct" [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Green, // "memberless struct" [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Blue, // etc... [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | RGBColor(u8, u8, u8), // tuple [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/generics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | start: Point, [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> src/stack_and_heap.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 6 | x: f64, [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: fields `cyan`, `magenta` and `yellow` are never read [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] | fields in this variant [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Red`, `Green`, `Blue` and `RGBColor` are never constructed [INFO] [stdout] --> src/data_structures_1.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 27 | enum Color { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 28 | Red, // "memberless struct" [INFO] [stdout] | ^^^ [INFO] [stdout] 29 | Green, // "memberless struct" [INFO] [stdout] | ^^^^^ [INFO] [stdout] 30 | Blue, // etc... [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | RGBColor(u8, u8, u8), // tuple [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> src/generics.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Line { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | start: Point, [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: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.69s [INFO] running `Command { std: "docker" "inspect" "338db731841d774e33e5519c9e7c73ee3369a74c2e1dbaed74777bb693f94e21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "338db731841d774e33e5519c9e7c73ee3369a74c2e1dbaed74777bb693f94e21", kill_on_drop: false }` [INFO] [stdout] 338db731841d774e33e5519c9e7c73ee3369a74c2e1dbaed74777bb693f94e21