[INFO] cloning repository https://github.com/huwb/learningrust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huwb/learningrust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuwb%2Flearningrust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuwb%2Flearningrust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 419b6eacb02bba0520897cba8888fb5184f3a1b8
[INFO] testing huwb/learningrust against 1.62.0 for beta-1.63-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuwb%2Flearningrust" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/huwb/learningrust on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/huwb/learningrust
[INFO] finished tweaking git repo https://github.com/huwb/learningrust
[INFO] tweaked toml for git repo https://github.com/huwb/learningrust written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/huwb/learningrust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded fuchsia-zircon v0.3.2
[INFO] [stderr]   Downloaded simple-stopwatch v0.1.4
[INFO] [stderr]   Downloaded rand v0.3.19
[INFO] [stderr]   Downloaded fuchsia-zircon-sys v0.3.2
[INFO] [stderr]   Downloaded time v0.1.39
[INFO] [stderr]   Downloaded libc v0.2.34
[INFO] [stderr]   Downloaded bitflags v1.0.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e01367a514010dabe5bfae527f91dda59231c5b60f0cdd315f9fd6ce41ac1146
[INFO] running `Command { std: "docker" "start" "-a" "e01367a514010dabe5bfae527f91dda59231c5b60f0cdd315f9fd6ce41ac1146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e01367a514010dabe5bfae527f91dda59231c5b60f0cdd315f9fd6ce41ac1146", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e01367a514010dabe5bfae527f91dda59231c5b60f0cdd315f9fd6ce41ac1146", kill_on_drop: false }`
[INFO] [stdout] e01367a514010dabe5bfae527f91dda59231c5b60f0cdd315f9fd6ce41ac1146
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c8c890945b6a7062d50fcd64b12da95705ec37ad99d5896fa054884b0f01ca01
[INFO] running `Command { std: "docker" "start" "-a" "c8c890945b6a7062d50fcd64b12da95705ec37ad99d5896fa054884b0f01ca01", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.34
[INFO] [stderr]    Compiling time v0.1.39
[INFO] [stderr]    Compiling rand v0.3.19
[INFO] [stderr]    Compiling simple-stopwatch v0.1.4
[INFO] [stderr]    Compiling learningrust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/limit_tracker.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn send(&self, &str);
[INFO] [stdout]    |                    ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str`
[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: `...` range patterns are deprecated
[INFO] [stdout]   --> src/patterns_chapter.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Some(y @ 1...3) => println!("It's a thricer: {}", y),
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     state: Option<Box<State>>,
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` 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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     state: Option<Box<State>>,
[INFO] [stdout] 13 +     state: Option<Box<dyn State>>,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threadpool.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub type Job = Box<FnBox + Send>;
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 - pub type Job = Box<FnBox + Send>;
[INFO] [stdout] 41 + pub type Job = Box<dyn FnBox + Send>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 47 -     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stdout] 47 +     fn request_review(self: Box<Self>) -> Box<dyn State>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 -     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stdout] 48 +     fn approve(self: Box<Self>) -> Box<dyn State>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:57:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 57 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 60 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:68:47
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 68 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:71:40
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 71 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 71 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:79:47
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 79 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 82 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2.88s
[INFO] running `Command { std: "docker" "inspect" "c8c890945b6a7062d50fcd64b12da95705ec37ad99d5896fa054884b0f01ca01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8c890945b6a7062d50fcd64b12da95705ec37ad99d5896fa054884b0f01ca01", kill_on_drop: false }`
[INFO] [stdout] c8c890945b6a7062d50fcd64b12da95705ec37ad99d5896fa054884b0f01ca01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 204bdc0026a107b64df69f252e83cb4d3fcc5207d8dae1a0af403427cdb12fb2
[INFO] running `Command { std: "docker" "start" "-a" "204bdc0026a107b64df69f252e83cb4d3fcc5207d8dae1a0af403427cdb12fb2", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/limit_tracker.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn send(&self, &str);
[INFO] [stdout]    |                    ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str`
[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: `...` range patterns are deprecated
[INFO] [stdout]   --> src/patterns_chapter.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Some(y @ 1...3) => println!("It's a thricer: {}", y),
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     state: Option<Box<State>>,
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` 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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     state: Option<Box<State>>,
[INFO] [stdout] 13 +     state: Option<Box<dyn State>>,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threadpool.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub type Job = Box<FnBox + Send>;
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 - pub type Job = Box<FnBox + Send>;
[INFO] [stdout] 41 + pub type Job = Box<dyn FnBox + Send>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 47 -     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stdout] 47 +     fn request_review(self: Box<Self>) -> Box<dyn State>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 -     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stdout] 48 +     fn approve(self: Box<Self>) -> Box<dyn State>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:57:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 57 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 60 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:68:47
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 68 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:71:40
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 71 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 71 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:79:47
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 79 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 82 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling learningrust v0.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stdout]   --> src/limit_tracker.rs:24:20
[INFO] [stdout]    |
[INFO] [stdout] 24 |     fn send(&self, &str);
[INFO] [stdout]    |                    ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str`
[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: `...` range patterns are deprecated
[INFO] [stdout]   --> src/patterns_chapter.rs:14:19
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Some(y @ 1...3) => println!("It's a thricer: {}", y),
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:13:23
[INFO] [stdout]    |
[INFO] [stdout] 13 |     state: Option<Box<State>>,
[INFO] [stdout]    |                       ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` 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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 13 -     state: Option<Box<State>>,
[INFO] [stdout] 13 +     state: Option<Box<dyn State>>,
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/threadpool.rs:41:20
[INFO] [stdout]    |
[INFO] [stdout] 41 | pub type Job = Box<FnBox + Send>;
[INFO] [stdout]    |                    ^^^^^^^^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 41 - pub type Job = Box<FnBox + Send>;
[INFO] [stdout] 41 + pub type Job = Box<dyn FnBox + Send>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:47:47
[INFO] [stdout]    |
[INFO] [stdout] 47 |     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 47 -     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stdout] 47 +     fn request_review(self: Box<Self>) -> Box<dyn State>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:48:40
[INFO] [stdout]    |
[INFO] [stdout] 48 |     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 48 -     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stdout] 48 +     fn approve(self: Box<Self>) -> Box<dyn State>;
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:57:47
[INFO] [stdout]    |
[INFO] [stdout] 57 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 57 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 57 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:60:40
[INFO] [stdout]    |
[INFO] [stdout] 60 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 60 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 60 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:68:47
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 68 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 68 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:71:40
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 71 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 71 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:79:47
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 79 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 79 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/state_pattern.rs:82:40
[INFO] [stdout]    |
[INFO] [stdout] 82 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 82 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stdout] 82 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stdout]    | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `value`
[INFO] [stdout]  --> src/ref_cycles.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |         value: isize,
[INFO] [stdout]   |         ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/ref_cycles.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 |     #[derive(Debug)]
[INFO] [stdout]   |              ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `children`
[INFO] [stdout]   --> src/ref_cycles.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |         children: Vec<Rc<Node>>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   --> src/ref_cycles.rs:7:14
[INFO] [stdout]    |
[INFO] [stdout] 7  |     #[derive(Debug)]
[INFO] [stdout]    |              ^^^^^
[INFO] [stdout]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 1.65s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/learningrust-ad70905ca8e6532e)
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/learningrust-62d5d2aa76e075b8)
[INFO] [stderr]   Executable tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-e15cdeda446d55a4)
[INFO] running `Command { std: "docker" "inspect" "204bdc0026a107b64df69f252e83cb4d3fcc5207d8dae1a0af403427cdb12fb2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "204bdc0026a107b64df69f252e83cb4d3fcc5207d8dae1a0af403427cdb12fb2", kill_on_drop: false }`
[INFO] [stdout] 204bdc0026a107b64df69f252e83cb4d3fcc5207d8dae1a0af403427cdb12fb2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 0f2ac2b64122d0d6462b459022304b0df8db7dc2c8e2dfaa6f8e024b48a04162
[INFO] running `Command { std: "docker" "start" "-a" "0f2ac2b64122d0d6462b459022304b0df8db7dc2c8e2dfaa6f8e024b48a04162", kill_on_drop: false }`
[INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition
[INFO] [stderr]   --> src/limit_tracker.rs:24:20
[INFO] [stderr]    |
[INFO] [stderr] 24 |     fn send(&self, &str);
[INFO] [stderr]    |                    ^^^^ help: try naming the parameter or explicitly ignoring it: `_: &str`
[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: `...` range patterns are deprecated
[INFO] [stderr]   --> src/patterns_chapter.rs:14:19
[INFO] [stderr]    |
[INFO] [stderr] 14 |         Some(y @ 1...3) => println!("It's a thricer: {}", y),
[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: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:13:23
[INFO] [stderr]    |
[INFO] [stderr] 13 |     state: Option<Box<State>>,
[INFO] [stderr]    |                       ^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` 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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 13 -     state: Option<Box<State>>,
[INFO] [stderr] 13 +     state: Option<Box<dyn State>>,
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/threadpool.rs:41:20
[INFO] [stderr]    |
[INFO] [stderr] 41 | pub type Job = Box<FnBox + Send>;
[INFO] [stderr]    |                    ^^^^^^^^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 41 - pub type Job = Box<FnBox + Send>;
[INFO] [stderr] 41 + pub type Job = Box<dyn FnBox + Send>;
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:47:47
[INFO] [stderr]    |
[INFO] [stderr] 47 |     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stderr]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 47 -     fn request_review(self: Box<Self>) -> Box<State>;
[INFO] [stderr] 47 +     fn request_review(self: Box<Self>) -> Box<dyn State>;
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:48:40
[INFO] [stderr]    |
[INFO] [stderr] 48 |     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stderr]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 48 -     fn approve(self: Box<Self>) -> Box<State>;
[INFO] [stderr] 48 +     fn approve(self: Box<Self>) -> Box<dyn State>;
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:57:47
[INFO] [stderr]    |
[INFO] [stderr] 57 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stderr]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 57 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stderr] 57 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:60:40
[INFO] [stderr]    |
[INFO] [stderr] 60 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stderr]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 60 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stderr] 60 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:68:47
[INFO] [stderr]    |
[INFO] [stderr] 68 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stderr]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 68 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stderr] 68 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:71:40
[INFO] [stderr]    |
[INFO] [stderr] 71 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stderr]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 71 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stderr] 71 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:79:47
[INFO] [stderr]    |
[INFO] [stderr] 79 |     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stderr]    |                                               ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 79 -     fn request_review(self: Box<Self>) -> Box<State> {
[INFO] [stderr] 79 +     fn request_review(self: Box<Self>) -> Box<dyn State> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/state_pattern.rs:82:40
[INFO] [stderr]    |
[INFO] [stderr] 82 |     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stderr]    |                                        ^^^^^
[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] help: use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 82 -     fn approve(self: Box<Self>) -> Box<State> {
[INFO] [stderr] 82 +     fn approve(self: Box<Self>) -> Box<dyn State> {
[INFO] [stderr]    | 
[INFO] [stderr] 
[INFO] [stderr] warning: `learningrust` (lib) generated 12 warnings
[INFO] [stderr] warning: field is never read: `value`
[INFO] [stderr]  --> src/ref_cycles.rs:9:9
[INFO] [stderr]   |
[INFO] [stderr] 9 |         value: isize,
[INFO] [stderr]   |         ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/ref_cycles.rs:7:14
[INFO] [stderr]   |
[INFO] [stderr] 7 |     #[derive(Debug)]
[INFO] [stderr]   |              ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `children`
[INFO] [stderr]   --> src/ref_cycles.rs:11:9
[INFO] [stderr]    |
[INFO] [stderr] 11 |         children: Vec<Rc<Node>>,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]   --> src/ref_cycles.rs:7:14
[INFO] [stderr]    |
[INFO] [stderr] 7  |     #[derive(Debug)]
[INFO] [stderr]    |              ^^^^^
[INFO] [stderr]    = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: `learningrust` (lib test) generated 14 warnings (12 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.04s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/learningrust-ad70905ca8e6532e)
[INFO] [stdout] 
[INFO] [stdout] running 57 tests
[INFO] [stdout] test adv_traits::tests::dist_multiple_first_shortest ... ok
[INFO] [stdout] test adv_traits::tests::dist_one_edge ... ok
[INFO] [stdout] test adv_traits::tests::dist_multiple_second_shortest ... ok
[INFO] [stdout] test adv_traits::tests::dist_one_edge_bad_node ... ok
[INFO] [stdout] test adv_traits::tests::dist_no_edges ... ok
[INFO] [stdout] test adv_traits::tests::dist_two_edges ... ok
[INFO] [stdout] test adv_traits::tests::dist_one_edge_switched_nodes ... ok
[INFO] [stdout] test closures::tests::cacher_first_call_populates ... ok
[INFO] [stdout] test closures::tests::cacher_starts_empty ... ok
[INFO] [stdout] test closures::tests::cacher_second_call_uses_cache ... ok
[INFO] [stdout] test generic_fn::tests::largest_in_list_returns_largest_value ... ok
[INFO] [stdout] test iterators::tests::counter_calling_next ... ok
[INFO] [stdout] test iterators::tests::counter_other_iterator_traits ... ok
[INFO] [stdout] test iterators::tests::iterator_adaptor_filter ... ok
[INFO] [stdout] test iterators::tests::iterator_adaptor_map ... ok
[INFO] [stdout] test iterators::tests::iterator_sum ... ok
[INFO] [stdout] test limit_tracker::tests::less_than_100pc ... ok
[INFO] [stdout] test limit_tracker::tests::less_than_70pc ... ok
[INFO] [stdout] test limit_tracker::tests::more_than_100pc ... ok
[INFO] [stdout] test longest_string::tests::longest_empty_strings ... ok
[INFO] [stdout] test new_type_pattern::tests::empty_vector ... ok
[INFO] [stdout] test new_type_pattern::tests::int_vector_1 ... ok
[INFO] [stdout] test points::tests::add_points ... ok
[INFO] [stdout] test new_type_pattern::tests::int_vector_2 ... ok
[INFO] [stdout] test points::tests::copy_constructor ... ok
[INFO] [stdout] test new_type_pattern::tests::string_vector_3 ... ok
[INFO] [stdout] test prime::tests::factors_of_one_is_one ... ok
[INFO] [stdout] test prime::tests::factors_of_two_is_one_and_two ... ok
[INFO] [stdout] test prime::tests::factors_of_zero_are_none ... ok
[INFO] [stdout] test prime::tests::factors_three_to_six ... ok
[INFO] [stdout] test prime::tests::one_not_prime ... ok
[INFO] [stdout] test prime::tests::prime_examples ... ok
[INFO] [stdout] test prime::tests::nonprime_examples ... ok
[INFO] [stdout] test rc_refcell::tests::runtime_mutable_borrow ... ok
[INFO] [stdout] test ref_cycles::tests::check_weak_and_strong_counts ... ok
[INFO] [stdout] test smart_pointers::tests::mylist_add ... ok
[INFO] [stdout] test prime::tests::zero_not_prime ... ok
[INFO] [stdout] test smart_pointers::tests::mylist_constructors ... ok
[INFO] [stdout] test smart_pointers::tests::mylist_push ... ok
[INFO] [stdout] test smart_pointers::tests::ref_count ... ok
[INFO] [stdout] test spring::tests::nonpositive_timestep_doesnt_change ... ok
[INFO] [stdout] test state_pattern::tests::approve_publishes_text ... ok
[INFO] [stdout] test spring::tests::update_stiff ... ok
[INFO] [stdout] test spring::tests::default_values ... ok
[INFO] [stdout] test state_pattern::tests::draft_text_not_published ... ok
[INFO] [stdout] test state_pattern::tests::multiple_add_texts_append ... ok
[INFO] [stdout] test state_pattern::tests::new_post_empty ... ok
[INFO] [stdout] test state_pattern::tests::requested_review_text_not_published ... ok
[INFO] [stdout] test state_pattern_rust::tests::post_workflow ... ok
[INFO] [stdout] test spring::tests::update_default_vals ... ok
[INFO] [stdout] test threadpool::tests::create_then_join ... ok
[INFO] [stdout] test prime::tests::compute_primes_st_vs_mt ... ok
[INFO] [stdout] test threadpool::tests::run_trivial_job ... ok
[INFO] [stdout] test generic_fn::tests::largest_in_empty_list_panics - should panic ... ok
[INFO] [stdout] test limit_tracker::tests::decreasing_value_panics - should panic ... ok
[INFO] [stdout] test rc_refcell::tests::runtime_two_mutable_borrows_panics - should panic ... ok
[INFO] [stdout] test threadpool::tests::zero_thread_count_panics - should panic ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 57 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learningrust-62d5d2aa76e075b8)
[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] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-e15cdeda446d55a4)
[INFO] [stdout] 
[INFO] [stdout] running 2 tests
[INFO] [stdout] test longest_string_works ... ok
[INFO] [stdout] test check_thread_pool ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.90s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests learningrust
[INFO] [stderr] warning: `...` range patterns are deprecated
[INFO] [stderr]   --> /opt/rustwide/workdir/src/patterns_chapter.rs:14:19
[INFO] [stderr]    |
[INFO] [stderr] 14 |         Some(y @ 1...3) => println!("It's a thricer: {}", y),
[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: 1 warning emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/longest_string.rs - longest_string::longest (line 23) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.32s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "0f2ac2b64122d0d6462b459022304b0df8db7dc2c8e2dfaa6f8e024b48a04162", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f2ac2b64122d0d6462b459022304b0df8db7dc2c8e2dfaa6f8e024b48a04162", kill_on_drop: false }`
[INFO] [stdout] 0f2ac2b64122d0d6462b459022304b0df8db7dc2c8e2dfaa6f8e024b48a04162
