[INFO] cloning repository https://github.com/kigawas/examples-in-rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kigawas/examples-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkigawas%2Fexamples-in-rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkigawas%2Fexamples-in-rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bc0ce30ca9ac369134ece5875ff23d60edc51da7
[INFO] testing kigawas/examples-in-rust against beta-2022-07-16 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkigawas%2Fexamples-in-rust" "/workspace/builds/worker-5/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/kigawas/examples-in-rust on toolchain beta-2022-07-16
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/kigawas/examples-in-rust
[INFO] finished tweaking git repo https://github.com/kigawas/examples-in-rust
[INFO] tweaked toml for git repo https://github.com/kigawas/examples-in-rust written to /workspace/builds/worker-5/source/Cargo.toml
[INFO] crate git repo https://github.com/kigawas/examples-in-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-07-16" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-07-16" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b2ea1d9848c63a3b73857f39e8ccaaff160c79add3d8adb9dacec5eba8724e03
[INFO] running `Command { std: "docker" "start" "-a" "b2ea1d9848c63a3b73857f39e8ccaaff160c79add3d8adb9dacec5eba8724e03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b2ea1d9848c63a3b73857f39e8ccaaff160c79add3d8adb9dacec5eba8724e03", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2ea1d9848c63a3b73857f39e8ccaaff160c79add3d8adb9dacec5eba8724e03", kill_on_drop: false }`
[INFO] [stdout] b2ea1d9848c63a3b73857f39e8ccaaff160c79add3d8adb9dacec5eba8724e03
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-07-16" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9c24e8f590c4e19e7d26759687695c2540b3170df2f265f8ead26a002b48f16c
[INFO] running `Command { std: "docker" "start" "-a" "9c24e8f590c4e19e7d26759687695c2540b3170df2f265f8ead26a002b48f16c", kill_on_drop: false }`
[INFO] [stderr]    Compiling examples-in-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:306:28
[INFO] [stdout]     |
[INFO] [stdout] 306 |         fn contains(&self, &A, &B) -> bool; // Explicitly requires `A` and `B`.
[INFO] [stdout]     |                            ^^ help: try naming the parameter or explicitly ignoring it: `_: &A`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:306:32
[INFO] [stdout]     |
[INFO] [stdout] 306 |         fn contains(&self, &A, &B) -> bool; // Explicitly requires `A` and `B`.
[INFO] [stdout]     |                                ^^ help: try naming the parameter or explicitly ignoring it: `_: &B`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:364:28
[INFO] [stdout]     |
[INFO] [stdout] 364 |         fn contains(&self, &Self::A, &Self::B) -> bool;
[INFO] [stdout]     |                            ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::A`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:364:38
[INFO] [stdout]     |
[INFO] [stdout] 364 |         fn contains(&self, &Self::A, &Self::B) -> bool;
[INFO] [stdout]     |                                      ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::B`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/chap5/mod.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     use std;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/chap6/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     use std::convert::From;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/chap6/mod.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use std::string::ToString;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/chap8/mod.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         'inner: loop {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/chap8/mod.rs:185:11
[INFO] [stdout]     |
[INFO] [stdout] 185 |         13...19 => println!("A teen"),
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/chap8/mod.rs:362:14
[INFO] [stdout]     |
[INFO] [stdout] 362 |         n @ 1...12 => println!("I'm a child of age {:?}", n),
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/chap8/mod.rs:363:15
[INFO] [stdout]     |
[INFO] [stdout] 363 |         n @ 13...19 => println!("I'm a teen of age {:?}", n),
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]    --> src/chap1/mod.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     struct Person<'a> {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 112 |         name: &'a str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 113 |         age: u8,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]    --> src/chap15/mod.rs:458:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     struct NamedBorrowed<'a> {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 458 |         x: &'a i32,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 459 |         y: &'a i32,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NamedBorrowed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> src/chap3/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     struct Person<'pl> {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 4 |         // pl for person lifetime
[INFO] [stdout] 5 |         name: &'pl str,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |         age: u8,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> src/chap3/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Child {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 11 |         // remove lifetime annotation
[INFO] [stdout] 12 |         name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 13 |         age: u8,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Child` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `father` and `kid` are never read
[INFO] [stdout]   --> src/chap3/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     struct Family<'fl> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |         // fl for family lifetime
[INFO] [stdout] 19 |         father: Person<'fl>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         kid: Child,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Family` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/chap6/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     struct Number {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 6 |         value: i32,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 1.85s
[INFO] running `Command { std: "docker" "inspect" "9c24e8f590c4e19e7d26759687695c2540b3170df2f265f8ead26a002b48f16c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9c24e8f590c4e19e7d26759687695c2540b3170df2f265f8ead26a002b48f16c", kill_on_drop: false }`
[INFO] [stdout] 9c24e8f590c4e19e7d26759687695c2540b3170df2f265f8ead26a002b48f16c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-07-16" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 83955fd015e276001860c4771ed3fa8146a506205dee796885e7da88b58ddcca
[INFO] running `Command { std: "docker" "start" "-a" "83955fd015e276001860c4771ed3fa8146a506205dee796885e7da88b58ddcca", kill_on_drop: false }`
[INFO] [stderr]    Compiling examples-in-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:306:28
[INFO] [stdout]     |
[INFO] [stdout] 306 |         fn contains(&self, &A, &B) -> bool; // Explicitly requires `A` and `B`.
[INFO] [stdout]     |                            ^^ help: try naming the parameter or explicitly ignoring it: `_: &A`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:306:32
[INFO] [stdout]     |
[INFO] [stdout] 306 |         fn contains(&self, &A, &B) -> bool; // Explicitly requires `A` and `B`.
[INFO] [stdout]     |                                ^^ help: try naming the parameter or explicitly ignoring it: `_: &B`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:364:28
[INFO] [stdout]     |
[INFO] [stdout] 364 |         fn contains(&self, &Self::A, &Self::B) -> bool;
[INFO] [stdout]     |                            ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::A`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]    --> src/chap14/mod.rs:364:38
[INFO] [stdout]     |
[INFO] [stdout] 364 |         fn contains(&self, &Self::A, &Self::B) -> bool;
[INFO] [stdout]     |                                      ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::B`
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stdout]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `std` is imported redundantly
[INFO] [stdout]   --> src/chap5/mod.rs:51:9
[INFO] [stdout]    |
[INFO] [stdout] 51 |     use std;
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `From` is imported redundantly
[INFO] [stdout]  --> src/chap6/mod.rs:2:9
[INFO] [stdout]   |
[INFO] [stdout] 2 |     use std::convert::From;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the item `ToString` is imported redundantly
[INFO] [stdout]   --> src/chap6/mod.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use std::string::ToString;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused label
[INFO] [stdout]   --> src/chap8/mod.rs:62:9
[INFO] [stdout]    |
[INFO] [stdout] 62 |         'inner: loop {
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/chap8/mod.rs:185:11
[INFO] [stdout]     |
[INFO] [stdout] 185 |         13...19 => println!("A teen"),
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/chap8/mod.rs:362:14
[INFO] [stdout]     |
[INFO] [stdout] 362 |         n @ 1...12 => println!("I'm a child of age {:?}", n),
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `...` range patterns are deprecated
[INFO] [stdout]    --> src/chap8/mod.rs:363:15
[INFO] [stdout]     |
[INFO] [stdout] 363 |         n @ 13...19 => println!("I'm a teen of age {:?}", n),
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]    --> src/chap1/mod.rs:112:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     struct Person<'a> {
[INFO] [stdout]     |            ------ fields in this struct
[INFO] [stdout] 112 |         name: &'a str,
[INFO] [stdout]     |         ^^^^^^^^^^^^^
[INFO] [stdout] 113 |         age: u8,
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `x` and `y` are never read
[INFO] [stdout]    --> src/chap15/mod.rs:458:9
[INFO] [stdout]     |
[INFO] [stdout] 457 |     struct NamedBorrowed<'a> {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 458 |         x: &'a i32,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout] 459 |         y: &'a i32,
[INFO] [stdout]     |         ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `NamedBorrowed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]  --> src/chap3/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     struct Person<'pl> {
[INFO] [stdout]   |            ------ fields in this struct
[INFO] [stdout] 4 |         // pl for person lifetime
[INFO] [stdout] 5 |         name: &'pl str,
[INFO] [stdout]   |         ^^^^^^^^^^^^^^
[INFO] [stdout] 6 |         age: u8,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `name` and `age` are never read
[INFO] [stdout]   --> src/chap3/mod.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     struct Child {
[INFO] [stdout]    |            ----- fields in this struct
[INFO] [stdout] 11 |         // remove lifetime annotation
[INFO] [stdout] 12 |         name: String,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 13 |         age: u8,
[INFO] [stdout]    |         ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Child` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `father` and `kid` are never read
[INFO] [stdout]   --> src/chap3/mod.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     struct Family<'fl> {
[INFO] [stdout]    |            ------ fields in this struct
[INFO] [stdout] 18 |         // fl for family lifetime
[INFO] [stdout] 19 |         father: Person<'fl>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |         kid: Child,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Family` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `value` is never read
[INFO] [stdout]  --> src/chap6/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     struct Number {
[INFO] [stdout]   |            ------ field in this struct
[INFO] [stdout] 6 |         value: i32,
[INFO] [stdout]   |         ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 17 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.44s
[INFO] running `Command { std: "docker" "inspect" "83955fd015e276001860c4771ed3fa8146a506205dee796885e7da88b58ddcca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "83955fd015e276001860c4771ed3fa8146a506205dee796885e7da88b58ddcca", kill_on_drop: false }`
[INFO] [stdout] 83955fd015e276001860c4771ed3fa8146a506205dee796885e7da88b58ddcca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+beta-2022-07-16" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 31d1725bb0b024c05269ae72bab025df92e5829e39c2c4166854cf296d882757
[INFO] running `Command { std: "docker" "start" "-a" "31d1725bb0b024c05269ae72bab025df92e5829e39c2c4166854cf296d882757", kill_on_drop: false }`
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]    --> src/chap14/mod.rs:306:28
[INFO] [stderr]     |
[INFO] [stderr] 306 |         fn contains(&self, &A, &B) -> bool; // Explicitly requires `A` and `B`.
[INFO] [stderr]     |                            ^^ help: try naming the parameter or explicitly ignoring it: `_: &A`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(anonymous_parameters)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]    --> src/chap14/mod.rs:306:32
[INFO] [stderr]     |
[INFO] [stderr] 306 |         fn contains(&self, &A, &B) -> bool; // Explicitly requires `A` and `B`.
[INFO] [stderr]     |                                ^^ help: try naming the parameter or explicitly ignoring it: `_: &B`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]    --> src/chap14/mod.rs:364:28
[INFO] [stderr]     |
[INFO] [stderr] 364 |         fn contains(&self, &Self::A, &Self::B) -> bool;
[INFO] [stderr]     |                            ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::A`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]    --> src/chap14/mod.rs:364:38
[INFO] [stderr]     |
[INFO] [stderr] 364 |         fn contains(&self, &Self::A, &Self::B) -> bool;
[INFO] [stderr]     |                                      ^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Self::B`
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
[INFO] [stderr]     = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686>
[INFO] [stderr] 
[INFO] [stderr] warning: the item `std` is imported redundantly
[INFO] [stderr]   --> src/chap5/mod.rs:51:9
[INFO] [stderr]    |
[INFO] [stderr] 51 |     use std;
[INFO] [stderr]    |         ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: the item `From` is imported redundantly
[INFO] [stderr]  --> src/chap6/mod.rs:2:9
[INFO] [stderr]   |
[INFO] [stderr] 2 |     use std::convert::From;
[INFO] [stderr]   |         ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: the item `ToString` is imported redundantly
[INFO] [stderr]   --> src/chap6/mod.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     use std::string::ToString;
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused label
[INFO] [stderr]   --> src/chap8/mod.rs:62:9
[INFO] [stderr]    |
[INFO] [stderr] 62 |         'inner: loop {
[INFO] [stderr]    |         ^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_labels)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/chap8/mod.rs:185:11
[INFO] [stderr]     |
[INFO] [stderr] 185 |         13...19 => println!("A teen"),
[INFO] [stderr]     |           ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/chap8/mod.rs:362:14
[INFO] [stderr]     |
[INFO] [stderr] 362 |         n @ 1...12 => println!("I'm a child of age {:?}", n),
[INFO] [stderr]     |              ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]    --> src/chap8/mod.rs:363:15
[INFO] [stderr]     |
[INFO] [stderr] 363 |         n @ 13...19 => println!("I'm a teen of age {:?}", n),
[INFO] [stderr]     |               ^^^ help: use `..=` for an inclusive range
[INFO] [stderr]     |
[INFO] [stderr]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `age` are never read
[INFO] [stderr]    --> src/chap1/mod.rs:112:9
[INFO] [stderr]     |
[INFO] [stderr] 111 |     struct Person<'a> {
[INFO] [stderr]     |            ------ fields in this struct
[INFO] [stderr] 112 |         name: &'a str,
[INFO] [stderr]     |         ^^^^^^^^^^^^^
[INFO] [stderr] 113 |         age: u8,
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr]     = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `x` and `y` are never read
[INFO] [stderr]    --> src/chap15/mod.rs:458:9
[INFO] [stderr]     |
[INFO] [stderr] 457 |     struct NamedBorrowed<'a> {
[INFO] [stderr]     |            ------------- fields in this struct
[INFO] [stderr] 458 |         x: &'a i32,
[INFO] [stderr]     |         ^^^^^^^^^^
[INFO] [stderr] 459 |         y: &'a i32,
[INFO] [stderr]     |         ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `NamedBorrowed` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `age` are never read
[INFO] [stderr]  --> src/chap3/mod.rs:5:9
[INFO] [stderr]   |
[INFO] [stderr] 3 |     struct Person<'pl> {
[INFO] [stderr]   |            ------ fields in this struct
[INFO] [stderr] 4 |         // pl for person lifetime
[INFO] [stderr] 5 |         name: &'pl str,
[INFO] [stderr]   |         ^^^^^^^^^^^^^^
[INFO] [stderr] 6 |         age: u8,
[INFO] [stderr]   |         ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Person` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `name` and `age` are never read
[INFO] [stderr]   --> src/chap3/mod.rs:12:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     struct Child {
[INFO] [stderr]    |            ----- fields in this struct
[INFO] [stderr] 11 |         // remove lifetime annotation
[INFO] [stderr] 12 |         name: String,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 13 |         age: u8,
[INFO] [stderr]    |         ^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Child` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `father` and `kid` are never read
[INFO] [stderr]   --> src/chap3/mod.rs:19:9
[INFO] [stderr]    |
[INFO] [stderr] 17 |     struct Family<'fl> {
[INFO] [stderr]    |            ------ fields in this struct
[INFO] [stderr] 18 |         // fl for family lifetime
[INFO] [stderr] 19 |         father: Person<'fl>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 20 |         kid: Child,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `Family` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `value` is never read
[INFO] [stderr]  --> src/chap6/mod.rs:6:9
[INFO] [stderr]   |
[INFO] [stderr] 5 |     struct Number {
[INFO] [stderr]   |            ------ field in this struct
[INFO] [stderr] 6 |         value: i32,
[INFO] [stderr]   |         ^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `Number` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: `examples-in-rust` (bin "examples-in-rust" test) generated 17 warnings
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.00s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/examples_in_rust-5541b5a309df31bf)
[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" "31d1725bb0b024c05269ae72bab025df92e5829e39c2c4166854cf296d882757", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31d1725bb0b024c05269ae72bab025df92e5829e39c2c4166854cf296d882757", kill_on_drop: false }`
[INFO] [stdout] 31d1725bb0b024c05269ae72bab025df92e5829e39c2c4166854cf296d882757
