[INFO] fetching crate ezlog 0.2.1-alpha.1... [INFO] testing ezlog-0.2.1-alpha.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate ezlog 0.2.1-alpha.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ezlog 0.2.1-alpha.1 [INFO] finished tweaking crates.io crate ezlog 0.2.1-alpha.1 [INFO] tweaked toml for crates.io crate ezlog 0.2.1-alpha.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ezlog 0.2.1-alpha.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding android_logger v0.13.3 (available: v0.15.1) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding integer-encoding v3.0.4 (available: v4.1.0) [INFO] [stderr] Adding memmap2 v0.6.2 (available: v0.9.9) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [INFO] [stderr] Adding thread-id v4.2.2 (available: v5.0.0) [INFO] [stderr] Adding windows v0.46.0 (available: v0.62.2) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.61.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded android_logger v0.13.3 [INFO] [stderr] Downloaded integer-encoding v3.0.4 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e1e9d5b9bc275e4c4c5d2f32d023cfc954c67bcd82950bc29bddf3230727805 [INFO] running `Command { std: "docker" "start" "-a" "2e1e9d5b9bc275e4c4c5d2f32d023cfc954c67bcd82950bc29bddf3230727805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e1e9d5b9bc275e4c4c5d2f32d023cfc954c67bcd82950bc29bddf3230727805", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e1e9d5b9bc275e4c4c5d2f32d023cfc954c67bcd82950bc29bddf3230727805", kill_on_drop: false }` [INFO] [stdout] 2e1e9d5b9bc275e4c4c5d2f32d023cfc954c67bcd82950bc29bddf3230727805 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] acb1974d0d9d66738efc009dae5264055ebce2bfdac93f94578da911a85da098 [INFO] running `Command { std: "docker" "start" "-a" "acb1974d0d9d66738efc009dae5264055ebce2bfdac93f94578da911a85da098", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling memmap2 v0.6.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling ezlog v0.2.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `println_with_time` [INFO] [stdout] --> src/events.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) use println_with_time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { Ok(&mut LOG_SERVICE.assume_init_mut().loggers) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().log_sender) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().fetch_sender) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { LOG_SERVICE.assume_init_mut().dispatch(msg) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 709 | if FORMATTER_INIT.is_completed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | / FORMATTER_INIT.call_once(|| { [INFO] [stdout] 728 | | FORMATTER = make_formatter(); [INFO] [stdout] 729 | | }) [INFO] [stdout] | |__________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/init.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | ptr::write(crate::LOG_SERVICE.as_mut_ptr(), service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.53s [INFO] running `Command { std: "docker" "inspect" "acb1974d0d9d66738efc009dae5264055ebce2bfdac93f94578da911a85da098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acb1974d0d9d66738efc009dae5264055ebce2bfdac93f94578da911a85da098", kill_on_drop: false }` [INFO] [stdout] acb1974d0d9d66738efc009dae5264055ebce2bfdac93f94578da911a85da098 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8c633f8ec3a2f9e5bbccf79b3994773f05d7e76e186f8af13f1efa670d22896 [INFO] running `Command { std: "docker" "start" "-a" "d8c633f8ec3a2f9e5bbccf79b3994773f05d7e76e186f8af13f1efa670d22896", kill_on_drop: false }` [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling ezlog v0.2.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `println_with_time` [INFO] [stdout] --> src/events.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) use println_with_time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `println_with_time` [INFO] [stdout] --> src/events.rs:131:16 [INFO] [stdout] | [INFO] [stdout] 131 | pub(crate) use println_with_time; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:45:28 [INFO] [stdout] | [INFO] [stdout] 45 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 94 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stdout] --> src/crypto.rs:104:28 [INFO] [stdout] | [INFO] [stdout] 104 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { Ok(&mut LOG_SERVICE.assume_init_mut().loggers) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().log_sender) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().fetch_sender) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { LOG_SERVICE.assume_init_mut().dispatch(msg) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 709 | if FORMATTER_INIT.is_completed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | / FORMATTER_INIT.call_once(|| { [INFO] [stdout] 728 | | FORMATTER = make_formatter(); [INFO] [stdout] 729 | | }) [INFO] [stdout] | |__________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/init.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | ptr::write(crate::LOG_SERVICE.as_mut_ptr(), service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:143:22 [INFO] [stdout] | [INFO] [stdout] 143 | unsafe { Ok(&mut LOG_SERVICE.assume_init_mut().loggers) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:151:18 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().log_sender) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:159:18 [INFO] [stdout] | [INFO] [stdout] 159 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().fetch_sender) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/lib.rs:475:18 [INFO] [stdout] | [INFO] [stdout] 475 | unsafe { LOG_SERVICE.assume_init_mut().dispatch(msg) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:709:12 [INFO] [stdout] | [INFO] [stdout] 709 | if FORMATTER_INIT.is_completed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:727:9 [INFO] [stdout] | [INFO] [stdout] 727 | / FORMATTER_INIT.call_once(|| { [INFO] [stdout] 728 | | FORMATTER = make_formatter(); [INFO] [stdout] 729 | | }) [INFO] [stdout] | |__________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/init.rs:236:24 [INFO] [stdout] | [INFO] [stdout] 236 | ptr::write(crate::LOG_SERVICE.as_mut_ptr(), service); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 6.15s [INFO] running `Command { std: "docker" "inspect" "d8c633f8ec3a2f9e5bbccf79b3994773f05d7e76e186f8af13f1efa670d22896", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8c633f8ec3a2f9e5bbccf79b3994773f05d7e76e186f8af13f1efa670d22896", kill_on_drop: false }` [INFO] [stdout] d8c633f8ec3a2f9e5bbccf79b3994773f05d7e76e186f8af13f1efa670d22896 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4266a2262966edbaa73bf25f9fec7f3cd1cd69def7d38c4be033b2e0f8ccb55d [INFO] running `Command { std: "docker" "start" "-a" "4266a2262966edbaa73bf25f9fec7f3cd1cd69def7d38c4be033b2e0f8ccb55d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `println_with_time` [INFO] [stderr] --> src/events.rs:131:16 [INFO] [stderr] | [INFO] [stderr] 131 | pub(crate) use println_with_time; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/crypto.rs:45:28 [INFO] [stderr] | [INFO] [stderr] 45 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/crypto.rs:55:28 [INFO] [stderr] | [INFO] [stderr] 55 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/crypto.rs:94:28 [INFO] [stderr] | [INFO] [stderr] 94 | let nonce = Nonce::from_slice(new_nonce.as_slice()); // 96-bits; unique per message [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `aead::generic_array::GenericArray::::from_slice`: please upgrade to generic-array 1.x [INFO] [stderr] --> src/crypto.rs:104:28 [INFO] [stderr] | [INFO] [stderr] 104 | let nonce = Nonce::from_slice(&new_nonce); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:143:22 [INFO] [stderr] | [INFO] [stderr] 143 | unsafe { Ok(&mut LOG_SERVICE.assume_init_mut().loggers) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:151:18 [INFO] [stderr] | [INFO] [stderr] 151 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().log_sender) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:159:18 [INFO] [stderr] | [INFO] [stderr] 159 | unsafe { Ok(&LOG_SERVICE.assume_init_mut().fetch_sender) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/lib.rs:475:18 [INFO] [stderr] | [INFO] [stderr] 475 | unsafe { LOG_SERVICE.assume_init_mut().dispatch(msg) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:709:12 [INFO] [stderr] | [INFO] [stderr] 709 | if FORMATTER_INIT.is_completed() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:727:9 [INFO] [stderr] | [INFO] [stderr] 727 | / FORMATTER_INIT.call_once(|| { [INFO] [stderr] 728 | | FORMATTER = make_formatter(); [INFO] [stderr] 729 | | }) [INFO] [stderr] | |__________^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/init.rs:236:24 [INFO] [stderr] | [INFO] [stderr] 236 | ptr::write(crate::LOG_SERVICE.as_mut_ptr(), service); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `ezlog` (lib) generated 12 warnings (run `cargo fix --lib -p ezlog` to apply 1 suggestion) [INFO] [stderr] warning: `ezlog` (lib test) generated 12 warnings (12 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ezlog-e360eb06b72c37ad) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test config::tests::test_config_cipher_hash ... ok [INFO] [stdout] test tests::teset_level ... ok [INFO] [stdout] test tests::test_const ... ok [INFO] [stdout] test tests::test_create_log ... ok [INFO] [stdout] test tests::test_record_truncks ... ok [INFO] [stdout] test config::tests::test_read_file_name_as_date ... ok [INFO] [stdout] test tests::test_header_size ... ok [INFO] [stdout] test thread_name::tests::test_get_thread_name ... ok [INFO] [stdout] test tests::test_compress ... ok [INFO] [stdout] test config::tests::test_is_out_of_date ... ok [INFO] [stdout] test errors::tests::test_error ... ok [INFO] [stdout] test appender::tests::test_appender_inner_rolling ... ok [INFO] [stdout] test tests::test_request_logs ... ok [INFO] [stdout] test appender::tests::test_appender_write ... ok [INFO] [stdout] test config::tests::test_query_log_files ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-c81a4c1296d43b0d) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_ezlog_flush ... ok [INFO] [stdout] test test_ezlog_log ... ok [INFO] [stdout] test test_logger_create ... ok [INFO] [stdout] test test_ezlog_request ... ok [INFO] [stdout] test test_ezlog_trim ... ok [INFO] [stdout] test test_ezlog_init ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests ezlog [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test src/lib.rs - (line 21) ... FAILED [INFO] [stdout] test src/lib.rs - EZLogCallback (line 534) - compile ... ok [INFO] [stdout] test src/init.rs - init::InitBuilder::with_request_callback (line 131) ... ok [INFO] [stdout] test src/init.rs - init::InitBuilder::debug (line 36) ... ok [INFO] [stdout] test src/init.rs - init::InitBuilder::with_event_listener (line 49) ... ok [INFO] [stdout] test src/init.rs - init::InitBuilder::with_request_callback_fn (line 105) ... ok [INFO] [stdout] test src/lib.rs - init (line 167) ... ok [INFO] [stdout] test src/init.rs - init::InitBuilder::with_layer (line 77) ... ok [INFO] [stdout] test src/init.rs - init::InitBuilder::with_formatter (line 173) ... ok [INFO] [stdout] test src/init.rs - init::InitBuilder::with_formatter_fn (line 195) ... ok [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] [stdout] test src/init.rs - init::InitBuilder::with_layer_fn (line 160) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 21) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/lib.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use log::trace; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 21) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 10 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.36s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4266a2262966edbaa73bf25f9fec7f3cd1cd69def7d38c4be033b2e0f8ccb55d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4266a2262966edbaa73bf25f9fec7f3cd1cd69def7d38c4be033b2e0f8ccb55d", kill_on_drop: false }` [INFO] [stdout] 4266a2262966edbaa73bf25f9fec7f3cd1cd69def7d38c4be033b2e0f8ccb55d