[INFO] fetching crate simulacrum_mock 0.1.0... [INFO] testing simulacrum_mock-0.1.0 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate simulacrum_mock 0.1.0 into /workspace/builds/worker-26/source [INFO] validating manifest of crates.io crate simulacrum_mock 0.1.0 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate simulacrum_mock 0.1.0 [INFO] finished tweaking crates.io crate simulacrum_mock 0.1.0 [INFO] tweaked toml for crates.io crate simulacrum_mock 0.1.0 written to /workspace/builds/worker-26/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1d7362407288433f544f18b9c7ddb5321a2f93470f4282c3a9870f3e29d3f2f [INFO] running `Command { std: "docker" "start" "-a" "f1d7362407288433f544f18b9c7ddb5321a2f93470f4282c3a9870f3e29d3f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1d7362407288433f544f18b9c7ddb5321a2f93470f4282c3a9870f3e29d3f2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d7362407288433f544f18b9c7ddb5321a2f93470f4282c3a9870f3e29d3f2f", kill_on_drop: false }` [INFO] [stdout] f1d7362407288433f544f18b9c7ddb5321a2f93470f4282c3a9870f3e29d3f2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4818bd65f6197429b08c020d7ddbae2afac82c7a92147f6fc60a2947caa4c1ef [INFO] running `Command { std: "docker" "start" "-a" "4818bd65f6197429b08c020d7ddbae2afac82c7a92147f6fc60a2947caa4c1ef", kill_on_drop: false }` [INFO] [stderr] Compiling handlebox v0.3.0 [INFO] [stderr] Compiling debugit v0.1.2 [INFO] [stderr] Compiling simulacrum_shared v0.1.0 [INFO] [stderr] Compiling simulacrum_mock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | validator: Box> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Validator` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | modification_fn: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut I)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | return_fn: Option O>> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&I) -> O` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | fn as_any(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | fn as_any(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | expectations: HandleBox> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ExpectationT` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "4818bd65f6197429b08c020d7ddbae2afac82c7a92147f6fc60a2947caa4c1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4818bd65f6197429b08c020d7ddbae2afac82c7a92147f6fc60a2947caa4c1ef", kill_on_drop: false }` [INFO] [stdout] 4818bd65f6197429b08c020d7ddbae2afac82c7a92147f6fc60a2947caa4c1ef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19da99f38b93f7bf3a95ef219cce617f4e14a7b075624510e3268c4c798ce236 [INFO] running `Command { std: "docker" "start" "-a" "19da99f38b93f7bf3a95ef219cce617f4e14a7b075624510e3268c4c798ce236", kill_on_drop: false }` [INFO] [stderr] Compiling simulacrum_user v0.1.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | validator: Box> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Validator` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | modification_fn: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut I)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | return_fn: Option O>> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&I) -> O` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | fn as_any(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | fn as_any(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | expectations: HandleBox> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ExpectationT` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling simulacrum_mock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/always.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/always.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | validator: Box> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Validator` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 70 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:83:18 [INFO] [stdout] | [INFO] [stdout] 83 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:96:18 [INFO] [stdout] | [INFO] [stdout] 96 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/params.rs:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/times.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/times.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/times.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/constraint/stock/times.rs:66:18 [INFO] [stdout] | [INFO] [stdout] 66 | let r = >::verify(&c); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | constraints: Vec>>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:19:33 [INFO] [stdout] | [INFO] [stdout] 19 | modification_fn: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut I)` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:20:27 [INFO] [stdout] | [INFO] [stdout] 20 | return_fn: Option O>> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&I) -> O` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:84:34 [INFO] [stdout] | [INFO] [stdout] 84 | fn as_any(&mut self) -> &mut Any; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/expectation/mod.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | fn as_any(&mut self) -> &mut Any { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/store.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | expectations: HandleBox> [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ExpectationT` [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.11s [INFO] running `Command { std: "docker" "inspect" "19da99f38b93f7bf3a95ef219cce617f4e14a7b075624510e3268c4c798ce236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19da99f38b93f7bf3a95ef219cce617f4e14a7b075624510e3268c4c798ce236", kill_on_drop: false }` [INFO] [stdout] 19da99f38b93f7bf3a95ef219cce617f4e14a7b075624510e3268c4c798ce236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56ec46676cd7e66bbc93fd500ae688b20690d82b570f5a7548d1ede896fa316d [INFO] running `Command { std: "docker" "start" "-a" "56ec46676cd7e66bbc93fd500ae688b20690d82b570f5a7548d1ede896fa316d", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/params.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | validator: Box> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Validator` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expectation/mod.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | constraints: Vec>>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expectation/mod.rs:19:33 [INFO] [stderr] | [INFO] [stderr] 19 | modification_fn: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&mut I)` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expectation/mod.rs:20:27 [INFO] [stderr] | [INFO] [stderr] 20 | return_fn: Option O>> [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn FnMut(&I) -> O` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expectation/mod.rs:84:34 [INFO] [stderr] | [INFO] [stderr] 84 | fn as_any(&mut self) -> &mut Any; [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/expectation/mod.rs:95:34 [INFO] [stderr] | [INFO] [stderr] 95 | fn as_any(&mut self) -> &mut Any { [INFO] [stderr] | ^^^ help: use `dyn`: `dyn Any` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/store.rs:17:33 [INFO] [stderr] | [INFO] [stderr] 17 | expectations: HandleBox> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn ExpectationT` [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 [INFO] [stderr] [INFO] [stderr] warning: `simulacrum_mock` (lib) generated 7 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/always.rs:31:18 [INFO] [stderr] | [INFO] [stderr] 31 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/always.rs:40:18 [INFO] [stderr] | [INFO] [stderr] 40 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/params.rs:13:20 [INFO] [stderr] | [INFO] [stderr] 13 | validator: Box> [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Validator` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/params.rs:59:18 [INFO] [stderr] | [INFO] [stderr] 59 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/params.rs:70:18 [INFO] [stderr] | [INFO] [stderr] 70 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/params.rs:83:18 [INFO] [stderr] | [INFO] [stderr] 83 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/params.rs:96:18 [INFO] [stderr] | [INFO] [stderr] 96 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/params.rs:108:18 [INFO] [stderr] | [INFO] [stderr] 108 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/times.rs:34:18 [INFO] [stderr] | [INFO] [stderr] 34 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/times.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/times.rs:53:18 [INFO] [stderr] | [INFO] [stderr] 53 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/constraint/stock/times.rs:66:18 [INFO] [stderr] | [INFO] [stderr] 66 | let r = >::verify(&c); [INFO] [stderr] | ^^^^^^^^^^^^^^ help: use `dyn`: `dyn Constraint<()>` [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 [INFO] [stderr] [INFO] [stderr] warning: `simulacrum_mock` (lib test) generated 18 warnings (6 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/simulacrum_mock-69ab33888784ee19) [INFO] [stdout] [INFO] [stdout] running 53 tests [INFO] [stdout] test constraint::stock::always::tests::test_pass ... ok [INFO] [stdout] test constraint::stock::always::tests::test_fail ... ok [INFO] [stdout] test constraint::stock::params::tests::test_handle_call_bad_then_good ... ok [INFO] [stdout] test constraint::stock::params::tests::test_handle_call_fail ... ok [INFO] [stdout] test constraint::stock::params::tests::test_handle_call_pass ... ok [INFO] [stdout] test constraint::stock::params::tests::test_handle_call_good_then_bad ... ok [INFO] [stdout] test constraint::stock::params::tests::test_new ... ok [INFO] [stdout] test constraint::stock::times::tests::test_fail_called_fewer ... ok [INFO] [stdout] test constraint::stock::times::tests::test_fail_called_more ... ok [INFO] [stdout] test constraint::stock::times::tests::test_handle_call ... ok [INFO] [stdout] test constraint::stock::times::tests::test_pass ... ok [INFO] [stdout] test expectation::tests::test_handle_call ... ok [INFO] [stdout] test expectation::tests::test_constrain ... ok [INFO] [stdout] test expectation::tests::test_new ... ok [INFO] [stdout] test expectation::tests::test_return ... ok [INFO] [stdout] test expectation::tests::test_set_modification ... ok [INFO] [stdout] test expectation::tests::test_verify_pass ... ok [INFO] [stdout] test expectation::tests::test_verify_fail ... ok [INFO] [stdout] test mock::tests::test_called_twice ... ok [INFO] [stdout] test mock::tests::test_empty_era_end ... ok [INFO] [stdout] test mock::tests::test_empty_era_middle ... ok [INFO] [stdout] test mock::tests::test_calls_ignored_after_final_era_completes ... ok [INFO] [stdout] test mock::tests::test_called_any_two ... ok [INFO] [stdout] test mock::tests::test_called_never_pass ... ok [INFO] [stdout] test mock::tests::test_called_once ... ok [INFO] [stdout] test mock::tests::test_called_any_zero ... ok [INFO] [stdout] test mock::tests::test_eras_complete_eagerly ... ok [INFO] [stdout] test mock::tests::test_empty_era_leading ... ok [INFO] [stdout] test mock::tests::test_modifications ... ok [INFO] [stdout] test mock::tests::test_param ... ok [INFO] [stdout] test mock::tests::test_returning ... ok [INFO] [stdout] test mock::tests::test_then ... ok [INFO] [stdout] test mock::tests::test_then_multi_call ... ok [INFO] [stdout] test mock::tests::test_then_never ... ok [INFO] [stdout] test mock::tests::test_then_specific ... ok [INFO] [stdout] test store::store_tests::test_add ... ok [INFO] [stdout] test store::store_tests::test_match_current_era ... ok [INFO] [stdout] test store::store_tests::test_match_current_era_passed ... ok [INFO] [stdout] test store::store_tests::test_new ... ok [INFO] [stdout] test store::store_tests::test_new_era ... ok [INFO] [stdout] test store::store_tests::test_match ... ok [INFO] [stdout] test store::store_tests::test_verify_no_expectations ... ok [INFO] [stdout] test store::store_tests::test_verify_simple_pass ... ok [INFO] [stdout] test store::store_tests::test_verify_simple_fail ... ok [INFO] [stdout] test expectation::tests::test_return_no_closure_given - should panic ... ok [INFO] [stdout] test mock::tests::test_called_never_fail - should panic ... ok [INFO] [stdout] test mock::tests::test_called_twice_fail - should panic ... ok [INFO] [stdout] test mock::tests::test_called_once_fail - should panic ... ok [INFO] [stdout] test mock::tests::test_one_expectation_per_era ... ok [INFO] [stdout] test mock::tests::test_param_fail - should panic ... ok [INFO] [stdout] test mock::tests::test_returning_no_matches - should panic ... ok [INFO] [stdout] test mock::tests::test_then_partial_fail - should panic ... ok [INFO] [stdout] test mock::tests::test_then_wrong_order_fail - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 53 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests simulacrum_mock [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "56ec46676cd7e66bbc93fd500ae688b20690d82b570f5a7548d1ede896fa316d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56ec46676cd7e66bbc93fd500ae688b20690d82b570f5a7548d1ede896fa316d", kill_on_drop: false }` [INFO] [stdout] 56ec46676cd7e66bbc93fd500ae688b20690d82b570f5a7548d1ede896fa316d