[INFO] fetching crate libcodejam 0.2.0... [INFO] checking libcodejam-0.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate libcodejam 0.2.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate libcodejam 0.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate libcodejam 0.2.0 [INFO] finished tweaking crates.io crate libcodejam 0.2.0 [INFO] tweaked toml for crates.io crate libcodejam 0.2.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding arrayvec v0.4.12 (available: v0.7.6) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding crossbeam v0.4.1 (available: v0.8.4) [INFO] [stderr] Adding crossbeam-channel v0.2.6 (available: v0.5.13) [INFO] [stderr] Adding crossbeam-deque v0.5.2 (available: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.5.2 (available: v0.9.18) [INFO] [stderr] Adding crossbeam-epoch v0.6.1 (available: v0.9.18) [INFO] [stderr] Adding crossbeam-utils v0.5.0 (available: v0.8.20) [INFO] [stderr] Adding crossbeam-utils v0.6.6 (available: v0.8.20) [INFO] [stderr] Adding derive_more v0.11.0 (available: v1.0.0) [INFO] [stderr] Adding lock_api v0.1.5 (available: v0.4.12) [INFO] [stderr] Adding memoffset v0.2.1 (available: v0.9.1) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v4.3.0) [INFO] [stderr] Adding parking_lot v0.6.4 (available: v0.12.3) [INFO] [stderr] Adding parking_lot_core v0.3.1 (available: v0.9.10) [INFO] [stderr] Adding proc-macro2 v0.3.8 (available: v1.0.86) [INFO] [stderr] Adding quote v0.5.2 (available: v1.0.37) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rustc_version v0.2.3 (available: v0.4.1) [INFO] [stderr] Adding scopeguard v0.3.3 (available: v1.2.0) [INFO] [stderr] Adding semver v0.9.0 (available: v1.0.23) [INFO] [stderr] Adding semver-parser v0.7.0 (available: v0.10.2) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.13.2) [INFO] [stderr] Adding syn v0.13.11 (available: v2.0.77) [INFO] [stderr] Adding unicode-xid v0.1.0 (available: v0.2.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive_more v0.11.0 [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded crossbeam-deque v0.5.2 [INFO] [stderr] Downloaded crossbeam-utils v0.5.0 [INFO] [stderr] Downloaded crossbeam v0.4.1 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded crossbeam-epoch v0.5.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.6.1 [INFO] [stderr] Downloaded crossbeam-channel v0.2.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ebc7050dbd61b60bc410eaaf762a5ae3847749a6cecf43430924f5207f7c766d [INFO] running `Command { std: "docker" "start" "-a" "ebc7050dbd61b60bc410eaaf762a5ae3847749a6cecf43430924f5207f7c766d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ebc7050dbd61b60bc410eaaf762a5ae3847749a6cecf43430924f5207f7c766d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ebc7050dbd61b60bc410eaaf762a5ae3847749a6cecf43430924f5207f7c766d", kill_on_drop: false }` [INFO] [stdout] ebc7050dbd61b60bc410eaaf762a5ae3847749a6cecf43430924f5207f7c766d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b15234361ed4365352db8ffd40063f56e6f5a133c74a3889e0e3c1c71fadab19 [INFO] running `Command { std: "docker" "start" "-a" "b15234361ed4365352db8ffd40063f56e6f5a133c74a3889e0e3c1c71fadab19", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Compiling derive_more v0.11.0 [INFO] [stderr] Checking libcodejam v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/tokens.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Try; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/tokens.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | R: Try, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 | error: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 | error: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/tokens.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Try; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'try_trait_v2' [INFO] [stdout] --> src/tokens.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | R: Try, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #84277 for more information [INFO] [stdout] = help: add `#![feature(try_trait_v2)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2024-09-17; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:111:16 [INFO] [stdout] | [INFO] [stdout] 111 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 111 | error: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:178:16 [INFO] [stdout] | [INFO] [stdout] 178 | error: Box, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 178 | error: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/global.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/global.rs:28:32 [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:37:32 [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/executor.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 101 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:134:32 [INFO] [stdout] | [INFO] [stdout] 134 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 134 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/data/group.rs:201:32 [INFO] [stdout] | [INFO] [stdout] 201 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 201 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tokens.rs:31:32 [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 31 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Try` [INFO] [stdout] --> src/tokens.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | R: Try, [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0220]: associated type `Ok` not found for `Try` [INFO] [stdout] --> src/tokens.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | R: Try, [INFO] [stdout] | ^^ associated type `Ok` not found [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): std::error::Error` is not satisfied [INFO] [stdout] --> src/data/group.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | TupleGroupError::new(0, err) [INFO] [stdout] | -------------------- ^^^ the trait `std::error::Error` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TupleGroupError::new` [INFO] [stdout] --> src/data/group.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(index: usize, error: E) -> Self { [INFO] [stdout] | ^^^^^ required by this bound in `TupleGroupError::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `(): std::error::Error` is not satisfied [INFO] [stdout] --> src/data/group.rs:142:33 [INFO] [stdout] | [INFO] [stdout] 142 | TupleGroupError::new(0, err) [INFO] [stdout] | -------------------- ^^^ the trait `std::error::Error` is not implemented for `()` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `TupleGroupError::new` [INFO] [stdout] --> src/data/group.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | pub fn new(index: usize, error: E) -> Self { [INFO] [stdout] | ^^^^^ required by this bound in `TupleGroupError::new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/tokens.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_fold(&mut self, mut accum: B, mut fold: F) -> R [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 119 | accum = fold(accum, self.tokens.next())? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `B`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `::Output` to `B` [INFO] [stdout] = note: expected type parameter `B` [INFO] [stdout] found associated type `::Output` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 116 | R: Try, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `?` operator has incompatible types [INFO] [stdout] --> src/tokens.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_fold(&mut self, mut accum: B, mut fold: F) -> R [INFO] [stdout] | - expected this type parameter [INFO] [stdout] ... [INFO] [stdout] 119 | accum = fold(accum, self.tokens.next())? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected type parameter `B`, found associated type [INFO] [stdout] | [INFO] [stdout] = note: `?` operator cannot convert from `::Output` to `B` [INFO] [stdout] = note: expected type parameter `B` [INFO] [stdout] found associated type `::Output` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 116 | R: Try, [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0220, E0277, E0308, E0635, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0220`. [INFO] [stdout] [INFO] [stderr] error: could not compile `libcodejam` (lib) due to 7 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `libcodejam` (lib test) due to 7 previous errors; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b15234361ed4365352db8ffd40063f56e6f5a133c74a3889e0e3c1c71fadab19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b15234361ed4365352db8ffd40063f56e6f5a133c74a3889e0e3c1c71fadab19", kill_on_drop: false }` [INFO] [stdout] b15234361ed4365352db8ffd40063f56e6f5a133c74a3889e0e3c1c71fadab19