[INFO] fetching crate tari-log4rs 1.2.0... [INFO] checking tari-log4rs-1.2.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate tari-log4rs 1.2.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate tari-log4rs 1.2.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tari-log4rs 1.2.0 [INFO] tweaked toml for crates.io crate tari-log4rs 1.2.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tari-log4rs 1.2.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tari-log4rs 1.2.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c89bde365ba69453d9d42c24458a1ecfef85d4a650c7b898f6d41b9767de09 [INFO] running `Command { std: "docker" "start" "-a" "e5c89bde365ba69453d9d42c24458a1ecfef85d4a650c7b898f6d41b9767de09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c89bde365ba69453d9d42c24458a1ecfef85d4a650c7b898f6d41b9767de09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c89bde365ba69453d9d42c24458a1ecfef85d4a650c7b898f6d41b9767de09", kill_on_drop: false }` [INFO] [stdout] e5c89bde365ba69453d9d42c24458a1ecfef85d4a650c7b898f6d41b9767de09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f727f1bc87cca82ee7b09a174cbed532c900ccd4aaececed96981a657aa55833 [INFO] running `Command { std: "docker" "start" "-a" "f727f1bc87cca82ee7b09a174cbed532c900ccd4aaececed96981a657aa55833", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking chrono v0.4.33 [INFO] [stderr] Checking streaming-stats v0.2.3 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking thread-id v4.2.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking tempfile v3.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Checking thiserror v1.0.56 [INFO] [stderr] Checking serde v1.0.196 [INFO] [stderr] Checking serde_yaml v0.8.26 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking tari-log4rs v1.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stdout] --> src/lib.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #![allow(where_clauses_object_safety, clippy::manual_non_exhaustive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `where_clauses_object_safety` has been removed: converted into hard error, see PR #125380 for more information [INFO] [stdout] --> src/lib.rs:186:10 [INFO] [stdout] | [INFO] [stdout] 186 | #![allow(where_clauses_object_safety, clippy::manual_non_exhaustive)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ErrorInternals` is never used [INFO] [stdout] --> src/lib.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | trait ErrorInternals { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/append/console.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn lock(&self) -> WriterLock { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn lock(&self) -> WriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/encode/writer/console.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn lock(&self) -> ConsoleWriterLock { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn lock(&self) -> ConsoleWriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/encode/writer/console.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn lock(&self) -> WriterLock { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn lock(&self) -> WriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/priv_io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn lock(&self) -> StdWriterLock { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn lock(&self) -> StdWriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> examples/json_logger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log4rs::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> examples/log_to_file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log4rs::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> benches/rotation.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use log4rs::{ [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log4rs` [INFO] [stdout] --> examples/compile_time_config.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log4rs; [INFO] [stdout] | ^^^^^^ no external crate `log4rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> examples/log_to_file.rs:47:19 [INFO] [stdout] | [INFO] [stdout] 47 | let _handle = log4rs::init_config(config)?; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tari-log4rs` (example "compile_time_config") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tari-log4rs` (example "log_to_file") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> examples/json_logger.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | let log_config = log4rs::config::Config::builder() [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use tari_log4rs::Config; [INFO] [stdout] | [INFO] [stdout] help: if you import `Config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 12 - let log_config = log4rs::config::Config::builder() [INFO] [stdout] 12 + let log_config = Config::builder() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> examples/json_logger.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | log4rs::init_config(log_config).unwrap(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tari-log4rs` (example "json_logger") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> benches/rotation.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | fn mk_config(file_size: u64, file_count: u32) -> log4rs::config::Config { [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use tari_log4rs::config; [INFO] [stdout] | [INFO] [stdout] help: if you import `config`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 57 - fn mk_config(file_size: u64, file_count: u32) -> log4rs::config::Config { [INFO] [stdout] 57 + fn mk_config(file_size: u64, file_count: u32) -> config::Config { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> benches/rotation.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | log4rs::init_config(mk_config(FILE_SIZE, FILE_COUNT)).unwrap(); [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] --> benches/rotation.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | static ref HANDLE: log4rs::Handle = [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `log4rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log4rs`, use `cargo add log4rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tari-log4rs` (bench "rotation") due to 4 previous errors [INFO] [stdout] warning: trait `ErrorInternals` is never used [INFO] [stdout] --> src/lib.rs:473:7 [INFO] [stdout] | [INFO] [stdout] 473 | trait ErrorInternals { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/append/console.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | fn lock(&self) -> WriterLock { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 55 | fn lock(&self) -> WriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/encode/writer/console.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn lock(&self) -> ConsoleWriterLock { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn lock(&self) -> ConsoleWriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/encode/writer/console.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn lock(&self) -> WriterLock { [INFO] [stdout] | ^^^^^ ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 114 | pub fn lock(&self) -> WriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/priv_io.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn lock(&self) -> StdWriterLock { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn lock(&self) -> StdWriterLock<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f727f1bc87cca82ee7b09a174cbed532c900ccd4aaececed96981a657aa55833", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f727f1bc87cca82ee7b09a174cbed532c900ccd4aaececed96981a657aa55833", kill_on_drop: false }` [INFO] [stdout] f727f1bc87cca82ee7b09a174cbed532c900ccd4aaececed96981a657aa55833