[INFO] cloning repository https://github.com/indutny/tokio-lock [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/indutny/tokio-lock" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Ftokio-lock", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Ftokio-lock'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] da5d0b59fc75461cab266c228bd8940c0649a6c7 [INFO] testing indutny/tokio-lock against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findutny%2Ftokio-lock" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/indutny/tokio-lock on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/indutny/tokio-lock [INFO] finished tweaking git repo https://github.com/indutny/tokio-lock [INFO] tweaked toml for git repo https://github.com/indutny/tokio-lock written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/indutny/tokio-lock already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-sync v0.1.1 [INFO] [stderr] Downloaded tokio-fs v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 33c2e37682f78fa4c371cb18d7d73808d63051b217035354461d25931d02d56c [INFO] running `Command { std: "docker" "start" "-a" "33c2e37682f78fa4c371cb18d7d73808d63051b217035354461d25931d02d56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "33c2e37682f78fa4c371cb18d7d73808d63051b217035354461d25931d02d56c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33c2e37682f78fa4c371cb18d7d73808d63051b217035354461d25931d02d56c", kill_on_drop: false }` [INFO] [stdout] 33c2e37682f78fa4c371cb18d7d73808d63051b217035354461d25931d02d56c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7647f7dc4d32476ed302f1fde57d785fb53e5de22a401be8351941d3bb44cbaa [INFO] running `Command { std: "docker" "start" "-a" "7647f7dc4d32476ed302f1fde57d785fb53e5de22a401be8351941d3bb44cbaa", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.48 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling futures v0.1.25 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling memoffset v0.2.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling owning_ref v0.4.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling tokio-executor v0.1.6 [INFO] [stderr] Compiling tokio-sync v0.1.1 [INFO] [stderr] Compiling bytes v0.4.11 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling tokio-current-thread v0.1.4 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling crossbeam-deque v0.6.3 [INFO] [stderr] Compiling tokio-io v0.1.11 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling tokio-reactor v0.1.8 [INFO] [stderr] Compiling crossbeam v0.6.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.11 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-fs v0.1.5 [INFO] [stderr] Compiling tokio v0.1.15 [INFO] [stderr] Compiling tokio-lock v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | type AnyBox = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&T) -> Box + Send>) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&mut T) -> Box + Send>) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.22s [INFO] running `Command { std: "docker" "inspect" "7647f7dc4d32476ed302f1fde57d785fb53e5de22a401be8351941d3bb44cbaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7647f7dc4d32476ed302f1fde57d785fb53e5de22a401be8351941d3bb44cbaa", kill_on_drop: false }` [INFO] [stdout] 7647f7dc4d32476ed302f1fde57d785fb53e5de22a401be8351941d3bb44cbaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21fc61338fa00c7c8eb6e67eb46a95e913c1634f5ff4b9dba3748bb326cefb16 [INFO] running `Command { std: "docker" "start" "-a" "21fc61338fa00c7c8eb6e67eb46a95e913c1634f5ff4b9dba3748bb326cefb16", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-lock v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | type AnyBox = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&T) -> Box + Send>) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&mut T) -> Box + Send>) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | type AnyBox = Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:14 [INFO] [stdout] | [INFO] [stdout] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&T) -> Box + Send>) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:73:32 [INFO] [stdout] | [INFO] [stdout] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:15 [INFO] [stdout] | [INFO] [stdout] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&mut T) -> Box + Send>) + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:37 [INFO] [stdout] | [INFO] [stdout] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:117:14 [INFO] [stdout] | [INFO] [stdout] 117 | ) -> Box + Send> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | write!(f, "{}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.24s [INFO] running `Command { std: "docker" "inspect" "21fc61338fa00c7c8eb6e67eb46a95e913c1634f5ff4b9dba3748bb326cefb16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21fc61338fa00c7c8eb6e67eb46a95e913c1634f5ff4b9dba3748bb326cefb16", kill_on_drop: false }` [INFO] [stdout] 21fc61338fa00c7c8eb6e67eb46a95e913c1634f5ff4b9dba3748bb326cefb16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 11ccf9d1780d629a9b0344d476cde68ae5b3ac8cbd3e8fb70a1ae17e7d405937 [INFO] running `Command { std: "docker" "start" "-a" "11ccf9d1780d629a9b0344d476cde68ae5b3ac8cbd3e8fb70a1ae17e7d405937", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:59:19 [INFO] [stderr] | [INFO] [stderr] 59 | type AnyBox = Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + 'static` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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/lib.rs:73:14 [INFO] [stderr] | [INFO] [stderr] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&T) -> Box + Send>) + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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/lib.rs:73:32 [INFO] [stderr] | [INFO] [stderr] 73 | Read(Box<(FnMut(&T) -> Box + Send>) + Send>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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/lib.rs:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (FnMut(&mut T) -> Box + Send>) + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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/lib.rs:74:37 [INFO] [stderr] | [INFO] [stderr] 74 | Write(Box<(FnMut(&mut T) -> Box + Send>) + Send>), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) 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/lib.rs:117:14 [INFO] [stderr] | [INFO] [stderr] 117 | ) -> Box + Send> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:29:30 [INFO] [stderr] | [INFO] [stderr] 29 | write!(f, "{}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `tokio-lock` (lib) generated 7 warnings [INFO] [stderr] warning: `tokio-lock` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/tokio_lock-4d69897dda59b4c0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_should_compute_digest_for_abc ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::it_should_compute_digest_for_abc stdout ---- [INFO] [stdout] thread 'tests::it_should_compute_digest_for_abc' panicked at 'attempted to leave type `futures::task::Task` uninitialized, which is invalid', /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/mem/mod.rs:663:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x555556ae74f0 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x555556ae74f0 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x555556ae74f0 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x555556ae74f0 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x555556b09fec - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x555556ae41e5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x555556ae96bb - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x555556ae96bb - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x555556ae96bb - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x555556ae91cc - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x555556ae9d84 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x555556ae9837 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:517:13 [INFO] [stdout] 12: 0x555556ae79cc - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x555556ae97c9 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x555556994441 - core::panicking::panic_fmt::hcf5f6d96e1dd7099 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:92:14 [INFO] [stdout] 15: 0x55555699438d - core::panicking::panic::hd695e3b1d0dd4ef4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/panicking.rs:50:5 [INFO] [stdout] 16: 0x55555699e1ad - core::mem::uninitialized::h3986d7a67a36d51c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/mem/mod.rs:663:9 [INFO] [stdout] 17: 0x55555699e1ad - tokio_sync::oneshot::channel::hf79e815b34ad31ce [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-sync-0.1.1/src/oneshot.rs:101:61 [INFO] [stdout] 18: 0x555556998d57 - tokio_lock::Lock::run_closure::hd6525181a119d4b7 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:125:32 [INFO] [stdout] 19: 0x5555569992f7 - tokio_lock::Lock::get::h8e918303e5093951 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:148:9 [INFO] [stdout] 20: 0x5555569a8678 - tokio_lock::tests::it_should_compute_digest_for_abc::h172cb9a53456252a [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:211:21 [INFO] [stdout] 21: 0x5555569a85aa - tokio_lock::tests::it_should_compute_digest_for_abc::{{closure}}::ha537c4afc0da52d4 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:203:5 [INFO] [stdout] 22: 0x5555569a4f5e - core::ops::function::FnOnce::call_once::h6279a9d56b7f1401 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 23: 0x5555569dbdd3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 24: 0x5555569dbdd3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 25: 0x5555569da848 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 26: 0x5555569da848 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 27: 0x5555569da848 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 28: 0x5555569da848 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 29: 0x5555569da848 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 30: 0x5555569da848 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 31: 0x5555569da848 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 32: 0x5555569a8fcd - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 33: 0x5555569a8fcd - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 34: 0x5555569ad6f8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 35: 0x5555569ad6f8 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 36: 0x5555569ad6f8 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 37: 0x5555569ad6f8 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 38: 0x5555569ad6f8 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 39: 0x5555569ad6f8 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 40: 0x5555569ad6f8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 41: 0x555556aeeae7 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 42: 0x555556aeeae7 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 43: 0x555556aeeae7 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 44: 0x7ff66ee35609 - start_thread [INFO] [stdout] 45: 0x7ff66ec07293 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::it_should_compute_digest_for_abc [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `Command { std: "docker" "inspect" "11ccf9d1780d629a9b0344d476cde68ae5b3ac8cbd3e8fb70a1ae17e7d405937", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11ccf9d1780d629a9b0344d476cde68ae5b3ac8cbd3e8fb70a1ae17e7d405937", kill_on_drop: false }` [INFO] [stdout] 11ccf9d1780d629a9b0344d476cde68ae5b3ac8cbd3e8fb70a1ae17e7d405937