[INFO] fetching crate tari-log4rs 1.2.0... [INFO] checking tari-log4rs-1.2.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate tari-log4rs 1.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tari-log4rs 1.2.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded streaming-stats v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03d540673585c4fcb94fe98839127e71332163290f69739429e3644b03fcbc1d [INFO] running `Command { std: "docker" "start" "-a" "03d540673585c4fcb94fe98839127e71332163290f69739429e3644b03fcbc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03d540673585c4fcb94fe98839127e71332163290f69739429e3644b03fcbc1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03d540673585c4fcb94fe98839127e71332163290f69739429e3644b03fcbc1d", kill_on_drop: false }` [INFO] [stdout] 03d540673585c4fcb94fe98839127e71332163290f69739429e3644b03fcbc1d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cac46df7c1d83ffc212534ec9a7edc1155df2420d66e0cffac6d58322b912c0b [INFO] running `Command { std: "docker" "start" "-a" "cac46df7c1d83ffc212534ec9a7edc1155df2420d66e0cffac6d58322b912c0b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Checking destructure_traitobject v0.2.0 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking unsafe-any-ors v1.0.0 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking typemap-ors v1.0.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking arc-swap v1.6.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking thread-id v4.2.1 [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 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 log v0.4.20 [INFO] [stderr] Checking serde-value v0.7.0 [INFO] [stderr] Checking serde_yaml v0.8.26 [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log4rs` [INFO] [stdout] --> examples/json_logger.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log4rs::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `log4rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log4rs` [INFO] [stdout] --> examples/log_to_file.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use log4rs::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `log4rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log4rs` [INFO] [stdout] --> benches/rotation.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | use log4rs::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `log4rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `log4rs` [INFO] [stdout] | [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 undeclared crate or module `log4rs` [INFO] [stdout] --> examples/json_logger.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | log4rs::init_config(log_config).unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `log4rs` [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] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tari-log4rs` (example "json_logger") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] [stderr] error: could not compile `tari-log4rs` (example "compile_time_config") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `log4rs` [INFO] [stdout] | [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 undeclared crate or module `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 undeclared crate or module `log4rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `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 undeclared crate or module `log4rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tari-log4rs` (example "log_to_file") due to 3 previous errors [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `log4rs` [INFO] [stdout] --> benches/rotation.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | static ref HANDLE: log4rs::Handle = [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `log4rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [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 5 previous errors [INFO] running `Command { std: "docker" "inspect" "cac46df7c1d83ffc212534ec9a7edc1155df2420d66e0cffac6d58322b912c0b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac46df7c1d83ffc212534ec9a7edc1155df2420d66e0cffac6d58322b912c0b", kill_on_drop: false }` [INFO] [stdout] cac46df7c1d83ffc212534ec9a7edc1155df2420d66e0cffac6d58322b912c0b