[INFO] fetching crate log4rs-syslog 3.0.3... [INFO] testing log4rs-syslog-3.0.3 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate log4rs-syslog 3.0.3 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate log4rs-syslog 3.0.3 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 crates.io crate log4rs-syslog 3.0.3 [INFO] finished tweaking crates.io crate log4rs-syslog 3.0.3 [INFO] tweaked toml for crates.io crate log4rs-syslog 3.0.3 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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" "+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 log4rs v0.8.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 862cfe01e19f6a5b7e9b43550a0950feb2770003c49ffdd60e850d06953ffd67 [INFO] running `Command { std: "docker" "start" "-a" "862cfe01e19f6a5b7e9b43550a0950feb2770003c49ffdd60e850d06953ffd67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "862cfe01e19f6a5b7e9b43550a0950feb2770003c49ffdd60e850d06953ffd67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "862cfe01e19f6a5b7e9b43550a0950feb2770003c49ffdd60e850d06953ffd67", kill_on_drop: false }` [INFO] [stdout] 862cfe01e19f6a5b7e9b43550a0950feb2770003c49ffdd60e850d06953ffd67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] d970edc538b8aca1f406b16fe37416223e75de2cf380c89aee145bb8832ecb9e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d970edc538b8aca1f406b16fe37416223e75de2cf380c89aee145bb8832ecb9e", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling log4rs-syslog v3.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = log4rs::append::Append; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::append::Append` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub type LevelMap = Fn(log::Level) -> libc::c_int + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(log::Level) -> libc::c_int + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | encoder: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | fn append(&self, record: &log::Record) -> std::result::Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | encoder: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:318:43 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn encoder(mut self, encoder: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 27.35s [INFO] running `Command { std: "docker" "inspect" "d970edc538b8aca1f406b16fe37416223e75de2cf380c89aee145bb8832ecb9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d970edc538b8aca1f406b16fe37416223e75de2cf380c89aee145bb8832ecb9e", kill_on_drop: false }` [INFO] [stdout] d970edc538b8aca1f406b16fe37416223e75de2cf380c89aee145bb8832ecb9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] 0639aa0ee322e5222f76d6379cffc64ff79822ecf8c79deafdd1820e9bbe7df6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0639aa0ee322e5222f76d6379cffc64ff79822ecf8c79deafdd1820e9bbe7df6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = log4rs::append::Append; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::append::Append` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub type LevelMap = Fn(log::Level) -> libc::c_int + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(log::Level) -> libc::c_int + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | encoder: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | fn append(&self, record: &log::Record) -> std::result::Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | encoder: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:318:43 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn encoder(mut self, encoder: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling log4rs-syslog v3.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = log4rs::append::Append; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::append::Append` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/file.rs:49:39 [INFO] [stdout] | [INFO] [stdout] 49 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | pub type LevelMap = Fn(log::Level) -> libc::c_int + Send + Sync; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(log::Level) -> libc::c_int + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:54:18 [INFO] [stdout] | [INFO] [stdout] 54 | encoder: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:84:75 [INFO] [stdout] | [INFO] [stdout] 84 | fn append(&self, record: &log::Record) -> std::result::Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:311:25 [INFO] [stdout] | [INFO] [stdout] 311 | encoder: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/syslog.rs:318:43 [INFO] [stdout] | [INFO] [stdout] 318 | pub fn encoder(mut self, encoder: Box) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 24.77s [INFO] running `Command { std: "docker" "inspect" "0639aa0ee322e5222f76d6379cffc64ff79822ecf8c79deafdd1820e9bbe7df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0639aa0ee322e5222f76d6379cffc64ff79822ecf8c79deafdd1820e9bbe7df6", kill_on_drop: false }` [INFO] [stdout] 0639aa0ee322e5222f76d6379cffc64ff79822ecf8c79deafdd1820e9bbe7df6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f7459d0b4a789c334756e8a3f352f19392d2fc444d74dbc922d92eeb4001aaa4 [INFO] running `Command { std: "docker" "start" "-a" "f7459d0b4a789c334756e8a3f352f19392d2fc444d74dbc922d92eeb4001aaa4", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/file.rs:42:18 [INFO] [stderr] | [INFO] [stderr] 42 | type Trait = log4rs::append::Append; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::append::Append` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/file.rs:49:39 [INFO] [stderr] | [INFO] [stderr] 49 | ) -> Result, Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/syslog.rs:50:21 [INFO] [stderr] | [INFO] [stderr] 50 | pub type LevelMap = Fn(log::Level) -> libc::c_int + Send + Sync; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(log::Level) -> libc::c_int + Send + Sync` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/syslog.rs:54:18 [INFO] [stderr] | [INFO] [stderr] 54 | encoder: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/syslog.rs:84:75 [INFO] [stderr] | [INFO] [stderr] 84 | fn append(&self, record: &log::Record) -> std::result::Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn std::error::Error + Sync + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/syslog.rs:311:25 [INFO] [stderr] | [INFO] [stderr] 311 | encoder: Option>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/syslog.rs:318:43 [INFO] [stderr] | [INFO] [stderr] 318 | pub fn encoder(mut self, encoder: Box) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn log4rs::encode::Encode` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: `log4rs-syslog` (lib) generated 7 warnings [INFO] [stderr] warning: `log4rs-syslog` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/log4rs_syslog-0c7c08e011bbc82c) [INFO] [stdout] [INFO] [stderr] Running tests/skeptic.rs (/opt/rustwide/target/debug/deps/skeptic-5cfabf836274ffdd) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test /opt/rustwide/workdir/README.md - log4rs_syslog::Usage::Initialization_based_on_configuration_file (line 65) - compile ... ok [INFO] [stdout] test /opt/rustwide/workdir/README.md - log4rs_syslog::Usage::Manual_initialization (line 93) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- /opt/rustwide/workdir/README.md - log4rs_syslog::Usage::Manual_initialization (line 93) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/workdir/README.md:120:13 [INFO] [stdout] | [INFO] [stdout] 28 | log::LevelFilter::Trace, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected enum `log::LevelFilter`, found enum `LevelFilter` [INFO] [stdout] | [INFO] [stdout] = note: perhaps two different versions of crate `log` are being used? [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] /opt/rustwide/workdir/README.md - log4rs_syslog::Usage::Manual_initialization (line 93) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.66s [INFO] [stdout] [INFO] [stdout] test readme_test ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- readme_test stdout ---- [INFO] [stdout] thread 'readme_test' panicked at 'Failed to run rustdoc tests on README.md', tests/skeptic.rs:36:5 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5618573fb300 - 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: 0x5618573fb300 - 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: 0x5618573fb300 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5618573fb300 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x56185741e42c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x5618573f7be5 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x5618573fd49b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5618573fd49b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5618573fd49b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x5618573fcfac - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x5618573fdb64 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x5618572f9253 - std::panicking::begin_panic::{{closure}}::h435e6c59c3940db9 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:542:9 [INFO] [stdout] 12: 0x5618572f8d09 - std::sys_common::backtrace::__rust_end_short_backtrace::h0c765b3b4f55054e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x5618572f9189 - std::panicking::begin_panic::hacfa4454bc10337e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:541:12 [INFO] [stdout] 14: 0x5618572a7a66 - skeptic::readme_test::h427bc1c0c786550d [INFO] [stdout] at /opt/rustwide/workdir/tests/skeptic.rs:36:5 [INFO] [stdout] 15: 0x5618572a6f0a - skeptic::readme_test::{{closure}}::h343fca916da126c0 [INFO] [stdout] at /opt/rustwide/workdir/tests/skeptic.rs:5:1 [INFO] [stdout] 16: 0x5618572a251e - core::ops::function::FnOnce::call_once::h8e85d31cf50688da [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 17: 0x5618572dcec3 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 18: 0x5618572dcec3 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 19: 0x5618572db938 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 20: 0x5618572db938 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 21: 0x5618572db938 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 22: 0x5618572db938 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 23: 0x5618572db938 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 24: 0x5618572db938 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 25: 0x5618572db938 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 26: 0x5618572aa0bd - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 27: 0x5618572aa0bd - 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] 28: 0x5618572ae7e8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 29: 0x5618572ae7e8 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 30: 0x5618572ae7e8 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 31: 0x5618572ae7e8 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 32: 0x5618572ae7e8 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 33: 0x5618572ae7e8 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 34: 0x5618572ae7e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 35: 0x561857402f07 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 36: 0x561857402f07 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 37: 0x561857402f07 - 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] 38: 0x7fb36ec79609 - start_thread [INFO] [stdout] 39: 0x7fb36ea4b293 - clone [INFO] [stdout] 40: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] readme_test [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.99s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test skeptic' [INFO] running `Command { std: "docker" "inspect" "f7459d0b4a789c334756e8a3f352f19392d2fc444d74dbc922d92eeb4001aaa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7459d0b4a789c334756e8a3f352f19392d2fc444d74dbc922d92eeb4001aaa4", kill_on_drop: false }` [INFO] [stdout] f7459d0b4a789c334756e8a3f352f19392d2fc444d74dbc922d92eeb4001aaa4