[INFO] cloning repository https://github.com/Cristiandi/course-rust-in-motion
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cristiandi/course-rust-in-motion" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCristiandi%2Fcourse-rust-in-motion", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCristiandi%2Fcourse-rust-in-motion'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 812eadf4584a270a9207a8e3797e5afc88d2993b
[INFO] checking Cristiandi/course-rust-in-motion against master#5518eaa946291f00471af8b254b2a1715f234882 for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCristiandi%2Fcourse-rust-in-motion" "/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/Cristiandi/course-rust-in-motion on toolchain 5518eaa946291f00471af8b254b2a1715f234882
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Cristiandi/course-rust-in-motion
[INFO] finished tweaking git repo https://github.com/Cristiandi/course-rust-in-motion
[INFO] tweaked toml for git repo https://github.com/Cristiandi/course-rust-in-motion written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Cristiandi/course-rust-in-motion 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" "+5518eaa946291f00471af8b254b2a1715f234882" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde_derive v1.0.117
[INFO] [stderr]   Downloaded rustc-demangle v0.1.18
[INFO] [stderr]   Downloaded serde_json v1.0.59
[INFO] [stderr]   Downloaded serde v1.0.117
[INFO] [stderr]   Downloaded syn v1.0.48
[INFO] [stderr]   Downloaded backtrace v0.3.18
[INFO] [stderr]   Downloaded backtrace-sys v0.1.37
[INFO] [stderr]   Downloaded libc v0.2.82
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f6cef27636c3141c48376eb19ec27919801b0c64700a80c5bda7c2d726342ab5
[INFO] running `Command { std: "docker" "start" "-a" "f6cef27636c3141c48376eb19ec27919801b0c64700a80c5bda7c2d726342ab5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f6cef27636c3141c48376eb19ec27919801b0c64700a80c5bda7c2d726342ab5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6cef27636c3141c48376eb19ec27919801b0c64700a80c5bda7c2d726342ab5", kill_on_drop: false }`
[INFO] [stdout] f6cef27636c3141c48376eb19ec27919801b0c64700a80c5bda7c2d726342ab5
[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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5518eaa946291f00471af8b254b2a1715f234882" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 888f06d24128e015c7614f5017e7e024cceb479d0f1ec71da8168a1fbe419f06
[INFO] running `Command { std: "docker" "start" "-a" "888f06d24128e015c7614f5017e7e024cceb479d0f1ec71da8168a1fbe419f06", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]    Compiling backtrace v0.3.18
[INFO] [stderr]    Compiling backtrace-sys v0.1.37
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking error-chain v0.12.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking myproject v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variants `Center`, `Defense`, and `Goalie` are never constructed
[INFO] [stdout]  --> src/unit-1/09_methods.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum HockeyPosition {
[INFO] [stdout]   |      -------------- variants in this enum
[INFO] [stdout] 3 |   Center,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 4 |   Wing,
[INFO] [stdout] 5 |   Defense,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 6 |   Goalie,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `number` is never read
[INFO] [stdout]   --> src/unit-1/09_methods.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct HockeyPlayer {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 10 |   name: String,
[INFO] [stdout] 11 |   number: u8,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock`
[INFO] [stdout]   --> src/unit-1/08_structs.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let clock = Clock::Analog {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Center`, `Defense`, and `Goalie` are never constructed
[INFO] [stdout]  --> src/unit-1/08_structs.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum HockeyPosition {
[INFO] [stdout]   |      -------------- variants in this enum
[INFO] [stdout] 2 |   Center,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 3 |   Wing,
[INFO] [stdout] 4 |   Defense,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 5 |   Goalie,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `position` is never read
[INFO] [stdout]   --> src/unit-1/08_structs.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct HockeyPlayer {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |   position: HockeyPosition,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hours`, `minutes`, and `seconds` are never read
[INFO] [stdout]   --> src/unit-1/08_structs.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |   Analog { hours: u8, minutes: u8, seconds: u8 },
[INFO] [stdout]    |   ------   ^^^^^      ^^^^^^^      ^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Sundial` and `Digital` are never constructed
[INFO] [stdout]   --> src/unit-1/08_structs.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Clock {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 17 |   Sundial { hours: u8 },
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 18 |   Digital { hours: u8, minutes: u8 },
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/unit-3/04_2_use_q_mark_main.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/unit-3/07_2_failure.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `clock`
[INFO] [stdout]   --> src/unit-1/08_structs.rs:39:9
[INFO] [stdout]    |
[INFO] [stdout] 39 |     let clock = Clock::Analog {
[INFO] [stdout]    |         ^^^^^ help: if this is intentional, prefix it with an underscore: `_clock`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Center`, `Defense`, and `Goalie` are never constructed
[INFO] [stdout]  --> src/unit-1/08_structs.rs:2:3
[INFO] [stdout]   |
[INFO] [stdout] 1 | enum HockeyPosition {
[INFO] [stdout]   |      -------------- variants in this enum
[INFO] [stdout] 2 |   Center,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 3 |   Wing,
[INFO] [stdout] 4 |   Defense,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 5 |   Goalie,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `position` is never read
[INFO] [stdout]   --> src/unit-1/08_structs.rs:12:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct HockeyPlayer {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 12 |   position: HockeyPosition,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `hours`, `minutes`, and `seconds` are never read
[INFO] [stdout]   --> src/unit-1/08_structs.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 |   Analog { hours: u8, minutes: u8, seconds: u8 },
[INFO] [stdout]    |   ------   ^^^^^      ^^^^^^^      ^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   fields in this variant
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Sundial` and `Digital` are never constructed
[INFO] [stdout]   --> src/unit-1/08_structs.rs:17:3
[INFO] [stdout]    |
[INFO] [stdout] 16 | enum Clock {
[INFO] [stdout]    |      ----- variants in this enum
[INFO] [stdout] 17 |   Sundial { hours: u8 },
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 18 |   Digital { hours: u8, minutes: u8 },
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/unit-3/08_3_map_trans_ok_or_some.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Version {
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] 3 |     id: i32,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `login` are never read
[INFO] [stdout]   --> src/unit-3/08_3_map_trans_ok_or_some.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 16 |     id: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 17 |     login: String
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Center`, `Defense`, and `Goalie` are never constructed
[INFO] [stdout]  --> src/unit-1/09_methods.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum HockeyPosition {
[INFO] [stdout]   |      -------------- variants in this enum
[INFO] [stdout] 3 |   Center,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 4 |   Wing,
[INFO] [stdout] 5 |   Defense,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 6 |   Goalie,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `number` is never read
[INFO] [stdout]   --> src/unit-1/09_methods.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct HockeyPlayer {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 10 |   name: String,
[INFO] [stdout] 11 |   number: u8,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/unit-3/04_2_use_q_mark_main.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `id` is never read
[INFO] [stdout]  --> src/unit-3/08_3_map_trans_ok_or_some.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct Version {
[INFO] [stdout]   |        ------- field in this struct
[INFO] [stdout] 3 |     id: i32,
[INFO] [stdout]   |     ^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Version` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `login` are never read
[INFO] [stdout]   --> src/unit-3/08_3_map_trans_ok_or_some.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | struct User {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 16 |     id: i32,
[INFO] [stdout]    |     ^^
[INFO] [stdout] 17 |     login: String
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/unit-3/07_2_failure.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 6.06s
[INFO] running `Command { std: "docker" "inspect" "888f06d24128e015c7614f5017e7e024cceb479d0f1ec71da8168a1fbe419f06", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "888f06d24128e015c7614f5017e7e024cceb479d0f1ec71da8168a1fbe419f06", kill_on_drop: false }`
[INFO] [stdout] 888f06d24128e015c7614f5017e7e024cceb479d0f1ec71da8168a1fbe419f06
[INFO] checking Cristiandi/course-rust-in-motion against try#7622c0f807a4e13c4db886a1681bf343795692df+rustflags=-Dnon_local_definitions for pr-120393-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCristiandi%2Fcourse-rust-in-motion" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Cristiandi/course-rust-in-motion on toolchain 7622c0f807a4e13c4db886a1681bf343795692df
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Cristiandi/course-rust-in-motion
[INFO] finished tweaking git repo https://github.com/Cristiandi/course-rust-in-motion
[INFO] tweaked toml for git repo https://github.com/Cristiandi/course-rust-in-motion written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Cristiandi/course-rust-in-motion 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" "+7622c0f807a4e13c4db886a1681bf343795692df" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e4fedd284e1281ad5cfa987fed8401dc49b5ba3337a34f9f9f674499be92639c
[INFO] running `Command { std: "docker" "start" "-a" "e4fedd284e1281ad5cfa987fed8401dc49b5ba3337a34f9f9f674499be92639c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e4fedd284e1281ad5cfa987fed8401dc49b5ba3337a34f9f9f674499be92639c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e4fedd284e1281ad5cfa987fed8401dc49b5ba3337a34f9f9f674499be92639c", kill_on_drop: false }`
[INFO] [stdout] e4fedd284e1281ad5cfa987fed8401dc49b5ba3337a34f9f9f674499be92639c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dnon_local_definitions" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+7622c0f807a4e13c4db886a1681bf343795692df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1c05179a8aadf75bdc39d8e4686238441b3325f50f57b7982127cbaf421d4680
[INFO] running `Command { std: "docker" "start" "-a" "1c05179a8aadf75bdc39d8e4686238441b3325f50f57b7982127cbaf421d4680", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling libc v0.2.82
[INFO] [stderr]    Compiling cc v1.0.66
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.24
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.48
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]     Checking rustc-demangle v0.1.18
[INFO] [stderr]    Compiling serde v1.0.117
[INFO] [stderr]    Compiling serde_json v1.0.59
[INFO] [stderr]    Compiling serde_derive v1.0.117
[INFO] [stderr]     Checking itoa v0.4.6
[INFO] [stderr]     Checking quick-error v1.2.2
[INFO] [stderr]    Compiling backtrace v0.3.18
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling backtrace-sys v0.1.37
[INFO] [stderr]     Checking error-chain v0.12.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]     Checking failure v0.1.5
[INFO] [stderr]     Checking myproject v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/unit-3/07_2_failure.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `#[macro_use]` import
[INFO] [stdout]  --> src/unit-3/07_2_failure.rs:2:1
[INFO] [stdout]   |
[INFO] [stdout] 2 | #[macro_use]
[INFO] [stdout]   | ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/unit-3/07_2_failure.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_DocumentServiceError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/unit-3/07_2_failure.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_DocumentServiceError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/unit-3/07_2_failure.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_Fail_FOR_DocumentServiceError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: requested on the command line with `-D non-local-definitions`
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/unit-3/07_2_failure.rs:16:17
[INFO] [stdout]    |
[INFO] [stdout] 16 | #[derive(Debug, Fail)]
[INFO] [stdout]    |                 ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_DERIVE_failure_core_fmt_Display_FOR_DocumentServiceError`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and neither the type nor the trait are at the same nesting level as the `impl` block
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: this error originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `myproject` (bin "error-handling-crates") due to 3 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `myproject` (bin "error-handling-crates" test) due to 3 previous errors; 1 warning emitted
[INFO] [stdout] warning: variants `Center`, `Defense`, and `Goalie` are never constructed
[INFO] [stdout]  --> src/unit-1/09_methods.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum HockeyPosition {
[INFO] [stdout]   |      -------------- variants in this enum
[INFO] [stdout] 3 |   Center,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 4 |   Wing,
[INFO] [stdout] 5 |   Defense,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 6 |   Goalie,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `number` is never read
[INFO] [stdout]   --> src/unit-1/09_methods.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct HockeyPlayer {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 10 |   name: String,
[INFO] [stdout] 11 |   number: u8,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/unit-3/04_2_use_q_mark_main.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]  --> src/unit-3/04_2_use_q_mark_main.rs:1:29
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<std::error::Error>> {
[INFO] [stdout]   |                             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]   = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: use `dyn`
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn main() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]   |                             +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Center`, `Defense`, and `Goalie` are never constructed
[INFO] [stdout]  --> src/unit-1/09_methods.rs:3:3
[INFO] [stdout]   |
[INFO] [stdout] 2 | enum HockeyPosition {
[INFO] [stdout]   |      -------------- variants in this enum
[INFO] [stdout] 3 |   Center,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout] 4 |   Wing,
[INFO] [stdout] 5 |   Defense,
[INFO] [stdout]   |   ^^^^^^^
[INFO] [stdout] 6 |   Goalie,
[INFO] [stdout]   |   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `number` is never read
[INFO] [stdout]   --> src/unit-1/09_methods.rs:11:3
[INFO] [stdout]    |
[INFO] [stdout] 9  | struct HockeyPlayer {
[INFO] [stdout]    |        ------------ field in this struct
[INFO] [stdout] 10 |   name: String,
[INFO] [stdout] 11 |   number: u8,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "1c05179a8aadf75bdc39d8e4686238441b3325f50f57b7982127cbaf421d4680", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c05179a8aadf75bdc39d8e4686238441b3325f50f57b7982127cbaf421d4680", kill_on_drop: false }`
[INFO] [stdout] 1c05179a8aadf75bdc39d8e4686238441b3325f50f57b7982127cbaf421d4680
