[INFO] fetching crate ezlog 0.2.1-alpha.1... [INFO] testing ezlog-0.2.1-alpha.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate ezlog 0.2.1-alpha.1 into /workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ezlog 0.2.1-alpha.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 104 packages to latest compatible versions [INFO] [stderr] Adding android_logger v0.13.3 (available: v0.15.0) [INFO] [stderr] Adding dirs v5.0.1 (available: v6.0.0) [INFO] [stderr] Adding integer-encoding v3.0.4 (available: v4.0.2) [INFO] [stderr] Adding memmap2 v0.6.2 (available: v0.9.5) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] [stderr] Adding thread-id v4.2.2 (available: v5.0.0) [INFO] [stderr] Adding windows v0.46.0 (available: v0.61.3) [INFO] [stderr] Adding windows-sys v0.45.0 (available: v0.60.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded android_logger v0.13.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccd5e6065c45426cdf4e1f007d13afda9313f7310364e907c9416b476d717574 [INFO] running `Command { std: "docker" "start" "-a" "ccd5e6065c45426cdf4e1f007d13afda9313f7310364e907c9416b476d717574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccd5e6065c45426cdf4e1f007d13afda9313f7310364e907c9416b476d717574", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccd5e6065c45426cdf4e1f007d13afda9313f7310364e907c9416b476d717574", kill_on_drop: false }` [INFO] [stdout] ccd5e6065c45426cdf4e1f007d13afda9313f7310364e907c9416b476d717574 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 0b6f68983b8260c975e8c89cecd4ce025b4262532b5a505170cea6b705bf9fec [INFO] running `Command { std: "docker" "start" "-a" "0b6f68983b8260c975e8c89cecd4ce025b4262532b5a505170cea6b705bf9fec", kill_on_drop: false }` [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling integer-encoding v3.0.4 [INFO] [stderr] Compiling thread-id v4.2.2 [INFO] [stderr] Compiling time v0.3.41 [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 inout v0.1.4 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [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 aes v0.8.4 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes-gcm-siv v0.11.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling ezlog v0.2.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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)]` 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.34s [INFO] running `Command { std: "docker" "inspect" "0b6f68983b8260c975e8c89cecd4ce025b4262532b5a505170cea6b705bf9fec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6f68983b8260c975e8c89cecd4ce025b4262532b5a505170cea6b705bf9fec", kill_on_drop: false }` [INFO] [stdout] 0b6f68983b8260c975e8c89cecd4ce025b4262532b5a505170cea6b705bf9fec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4a9855a2792d1f82175d694545f518a5b3ee1147e6ba0f43f1ebf7b2dbcc8271 [INFO] running `Command { std: "docker" "start" "-a" "4a9855a2792d1f82175d694545f518a5b3ee1147e6ba0f43f1ebf7b2dbcc8271", kill_on_drop: false }` [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling ezlog v0.2.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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)]` 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)]` 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 8.24s [INFO] running `Command { std: "docker" "inspect" "4a9855a2792d1f82175d694545f518a5b3ee1147e6ba0f43f1ebf7b2dbcc8271", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a9855a2792d1f82175d694545f518a5b3ee1147e6ba0f43f1ebf7b2dbcc8271", kill_on_drop: false }` [INFO] [stdout] 4a9855a2792d1f82175d694545f518a5b3ee1147e6ba0f43f1ebf7b2dbcc8271 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 677a56c23386e4bb016947c4668fa55646c1936f63bbc9a1499f502e7a07d237 [INFO] running `Command { std: "docker" "start" "-a" "677a56c23386e4bb016947c4668fa55646c1936f63bbc9a1499f502e7a07d237", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [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)]` 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 8 warnings [INFO] [stderr] warning: `ezlog` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/ezlog-94bb73017ebcdb03) [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test config::tests::test_config_cipher_hash ... ok [INFO] [stdout] test config::tests::test_is_out_of_date ... ok [INFO] [stdout] test errors::tests::test_error ... ok [INFO] [stdout] test tests::teset_level ... ok [INFO] [stdout] test config::tests::test_read_file_name_as_date ... ok [INFO] [stdout] test tests::test_compress ... ok [INFO] [stdout] test tests::test_header_size ... ok [INFO] [stdout] test tests::test_const ... ok [INFO] [stdout] test tests::test_record_truncks ... ok [INFO] [stdout] test tests::test_create_log ... ok [INFO] [stdout] test appender::tests::test_appender_write ... ok [INFO] [stdout] test thread_name::tests::test_get_thread_name ... ok [INFO] [stdout] test appender::tests::test_appender_inner_rolling ... ok [INFO] [stdout] test tests::test_request_logs ... 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/x86_64-unknown-linux-musl/debug/deps/integration_test-c69f20eb4c499e26) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test_ezlog_request ... ok [INFO] [stdout] test test_ezlog_flush ... ok [INFO] [stdout] test test_ezlog_init ... ok [INFO] [stdout] test test_ezlog_trim ... ok [INFO] [stdout] test test_ezlog_log ... ok [INFO] [stdout] test test_logger_create ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "677a56c23386e4bb016947c4668fa55646c1936f63bbc9a1499f502e7a07d237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "677a56c23386e4bb016947c4668fa55646c1936f63bbc9a1499f502e7a07d237", kill_on_drop: false }` [INFO] [stdout] 677a56c23386e4bb016947c4668fa55646c1936f63bbc9a1499f502e7a07d237