[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.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuwb%2Flearningrust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huwb/learningrust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.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-4/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.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c2a2e8770850865419498d4a6634bb2186e476758c553a6ed5f775653e85c598 [INFO] running `Command { std: "docker" "start" "-a" "c2a2e8770850865419498d4a6634bb2186e476758c553a6ed5f775653e85c598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2a2e8770850865419498d4a6634bb2186e476758c553a6ed5f775653e85c598", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2a2e8770850865419498d4a6634bb2186e476758c553a6ed5f775653e85c598", kill_on_drop: false }` [INFO] [stdout] c2a2e8770850865419498d4a6634bb2186e476758c553a6ed5f775653e85c598 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 987c12253d32c9784a0aa088c5c2b8cdcc699944019d50e8dd8f6ae90e2bb641 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "987c12253d32c9784a0aa088c5c2b8cdcc699944019d50e8dd8f6ae90e2bb641", 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 [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>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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 issue #80165 [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; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.93s [INFO] running `Command { std: "docker" "inspect" "987c12253d32c9784a0aa088c5c2b8cdcc699944019d50e8dd8f6ae90e2bb641", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "987c12253d32c9784a0aa088c5c2b8cdcc699944019d50e8dd8f6ae90e2bb641", kill_on_drop: false }` [INFO] [stdout] 987c12253d32c9784a0aa088c5c2b8cdcc699944019d50e8dd8f6ae90e2bb641 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 857615408f0e7748db2555ff1c39399bc30dab5f76c9cd0d8993a4eda656ce0a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "857615408f0e7748db2555ff1c39399bc30dab5f76c9cd0d8993a4eda656ce0a", kill_on_drop: false }` [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 [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>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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 issue #80165 [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; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [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 [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>, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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 issue #80165 [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; [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.56s [INFO] running `Command { std: "docker" "inspect" "857615408f0e7748db2555ff1c39399bc30dab5f76c9cd0d8993a4eda656ce0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857615408f0e7748db2555ff1c39399bc30dab5f76c9cd0d8993a4eda656ce0a", kill_on_drop: false }` [INFO] [stdout] 857615408f0e7748db2555ff1c39399bc30dab5f76c9cd0d8993a4eda656ce0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4829430aac498bd0e503314904a6d0a0a06ecad1b71058f121d260c8a5a327d5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4829430aac498bd0e503314904a6d0a0a06ecad1b71058f121d260c8a5a327d5", 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 [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>, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box; [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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) -> Box { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn State` [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 issue #80165 [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 issue #80165 [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; [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn FnBox + Send` [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 issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `learningrust` (lib) generated 12 warnings [INFO] [stderr] warning: `learningrust` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/learningrust-fd98f8a5310a97fe) [INFO] [stdout] [INFO] [stdout] running 57 tests [INFO] [stdout] test adv_traits::tests::dist_multiple_first_shortest ... ok [INFO] [stdout] test closures::tests::cacher_starts_empty ... ok [INFO] [stdout] test iterators::tests::iterator_adaptor_filter ... ok [INFO] [stdout] test iterators::tests::iterator_adaptor_map ... ok [INFO] [stdout] test iterators::tests::counter_other_iterator_traits ... ok [INFO] [stdout] test iterators::tests::counter_calling_next ... ok [INFO] [stdout] test closures::tests::cacher_second_call_uses_cache ... ok [INFO] [stdout] test closures::tests::cacher_first_call_populates ... 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 adv_traits::tests::dist_one_edge_switched_nodes ... ok [INFO] [stdout] test adv_traits::tests::dist_multiple_second_shortest ... 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 new_type_pattern::tests::int_vector_2 ... ok [INFO] [stdout] test new_type_pattern::tests::string_vector_3 ... ok [INFO] [stdout] test points::tests::add_points ... ok [INFO] [stdout] test prime::tests::factors_of_two_is_one_and_two ... ok [INFO] [stdout] test adv_traits::tests::dist_no_edges ... ok [INFO] [stdout] test adv_traits::tests::dist_two_edges ... ok [INFO] [stdout] test iterators::tests::iterator_sum ... ok [INFO] [stdout] test adv_traits::tests::dist_one_edge_bad_node ... ok [INFO] [stdout] test prime::tests::zero_not_prime ... ok [INFO] [stdout] test rc_refcell::tests::runtime_mutable_borrow ... ok [INFO] [stdout] test generic_fn::tests::largest_in_list_returns_largest_value ... ok [INFO] [stdout] test prime::tests::factors_of_one_is_one ... ok [INFO] [stdout] test points::tests::copy_constructor ... ok [INFO] [stdout] test prime::tests::factors_of_zero_are_none ... ok [INFO] [stdout] test adv_traits::tests::dist_one_edge ... ok [INFO] [stdout] test prime::tests::factors_three_to_six ... ok [INFO] [stdout] test prime::tests::nonprime_examples ... ok [INFO] [stdout] test prime::tests::one_not_prime ... ok [INFO] [stdout] test prime::tests::prime_examples ... ok [INFO] [stdout] test smart_pointers::tests::mylist_push ... 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 smart_pointers::tests::mylist_constructors ... ok [INFO] [stdout] test smart_pointers::tests::ref_count ... ok [INFO] [stdout] test spring::tests::default_values ... ok [INFO] [stdout] test spring::tests::update_stiff ... ok [INFO] [stdout] test state_pattern::tests::draft_text_not_published ... ok [INFO] [stdout] test spring::tests::nonpositive_timestep_doesnt_change ... ok [INFO] [stdout] test state_pattern::tests::approve_publishes_text ... ok [INFO] [stdout] test state_pattern::tests::new_post_empty ... ok [INFO] [stdout] test state_pattern_rust::tests::post_workflow ... ok [INFO] [stdout] test state_pattern::tests::multiple_add_texts_append ... ok [INFO] [stdout] test state_pattern::tests::requested_review_text_not_published ... ok [INFO] [stdout] test spring::tests::update_default_vals ... ok [INFO] [stdout] test threadpool::tests::create_then_join ... 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 threadpool::tests::run_trivial_job ... 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] [stderr] Running unittests (/opt/rustwide/target/debug/deps/learningrust-1425d332e0bc6095) [INFO] [stdout] test prime::tests::compute_primes_st_vs_mt ... ok [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-cf7623e8ec516a3a) [INFO] [stdout] [INFO] [stdout] test result: ok. 57 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [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] [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 issue #80165 [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.70s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4829430aac498bd0e503314904a6d0a0a06ecad1b71058f121d260c8a5a327d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4829430aac498bd0e503314904a6d0a0a06ecad1b71058f121d260c8a5a327d5", kill_on_drop: false }` [INFO] [stdout] 4829430aac498bd0e503314904a6d0a0a06ecad1b71058f121d260c8a5a327d5