[INFO] fetching crate log4rs-syslog 3.0.3... [INFO] checking log4rs-syslog-3.0.3 against master#8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 for pr-102474 [INFO] extracting crate log4rs-syslog 3.0.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate log4rs-syslog 3.0.3 on toolchain 8a497b7181cad4ae66dbd6cc31042b69b6bd0df7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "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-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bdbd5dc243c3ec99cd816f5a79b20cc54b18c138ca474fd9179ffaefff025038 [INFO] running `Command { std: "docker" "start" "-a" "bdbd5dc243c3ec99cd816f5a79b20cc54b18c138ca474fd9179ffaefff025038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bdbd5dc243c3ec99cd816f5a79b20cc54b18c138ca474fd9179ffaefff025038", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdbd5dc243c3ec99cd816f5a79b20cc54b18c138ca474fd9179ffaefff025038", kill_on_drop: false }` [INFO] [stdout] bdbd5dc243c3ec99cd816f5a79b20cc54b18c138ca474fd9179ffaefff025038 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:06bd2dc561ac9b9120e7d8112cca06cd3b1bded0ddb8515a4f6a39439d56c944" "/opt/rustwide/cargo-home/bin/cargo" "+8a497b7181cad4ae66dbd6cc31042b69b6bd0df7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d9d72d20dc1e69ca2661d472a18f861be802392800d50168bea2b1ef91bdcff [INFO] running `Command { std: "docker" "start" "-a" "3d9d72d20dc1e69ca2661d472a18f861be802392800d50168bea2b1ef91bdcff", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libc v0.2.133 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.44 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling serde v1.0.145 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling syn v1.0.101 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.26.2 [INFO] [stderr] Compiling serde_derive v1.0.145 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking iana-time-zone v0.1.50 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v0.3.11 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking fastrand v1.8.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking glob v0.2.11 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking chrono v0.4.22 [INFO] [stderr] Checking serde-value v0.5.3 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking which v2.0.1 [INFO] [stderr] Checking log4rs v0.8.3 [INFO] [stderr] Checking log4rs-syslog v3.0.3 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | encoder: Box, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub type LevelMap = dyn Fn(log::Level) -> libc::c_int + Send + Sync; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 | encoder: Option>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 54 | encoder: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = dyn log4rs::append::Append; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 50 | pub type LevelMap = dyn Fn(log::Level) -> libc::c_int + Send + Sync; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | ) -> Result, Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 311 | encoder: Option>, [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | fn append(&self, record: &log::Record) -> std::result::Result<(), Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 318 | pub fn encoder(mut self, encoder: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 42 | type Trait = dyn log4rs::append::Append; [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 | ) -> Result, Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | fn append(&self, record: &log::Record) -> std::result::Result<(), Box> { [INFO] [stdout] | +++ [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] | ^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 318 | pub fn encoder(mut self, encoder: Box) -> Self { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.92s [INFO] running `Command { std: "docker" "inspect" "3d9d72d20dc1e69ca2661d472a18f861be802392800d50168bea2b1ef91bdcff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d9d72d20dc1e69ca2661d472a18f861be802392800d50168bea2b1ef91bdcff", kill_on_drop: false }` [INFO] [stdout] 3d9d72d20dc1e69ca2661d472a18f861be802392800d50168bea2b1ef91bdcff