[INFO] fetching crate xlog-rs 0.3.1... [INFO] testing xlog-rs-0.3.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate xlog-rs 0.3.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate xlog-rs 0.3.1 [INFO] finished tweaking crates.io crate xlog-rs 0.3.1 [INFO] tweaked toml for crates.io crate xlog-rs 0.3.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xlog-rs 0.3.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate xlog-rs 0.3.1 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7360d8bb7bc5a2a8c63a93bea6fa4a65993a0d1a26888232278973c12fe1f8f4 [INFO] running `Command { std: "docker" "start" "-a" "7360d8bb7bc5a2a8c63a93bea6fa4a65993a0d1a26888232278973c12fe1f8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7360d8bb7bc5a2a8c63a93bea6fa4a65993a0d1a26888232278973c12fe1f8f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7360d8bb7bc5a2a8c63a93bea6fa4a65993a0d1a26888232278973c12fe1f8f4", kill_on_drop: false }` [INFO] [stdout] 7360d8bb7bc5a2a8c63a93bea6fa4a65993a0d1a26888232278973c12fe1f8f4 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca9c1514180bfdbd98ec86bb89277b3094bddb87155605a8541d26b29be7f902 [INFO] running `Command { std: "docker" "start" "-a" "ca9c1514180bfdbd98ec86bb89277b3094bddb87155605a8541d26b29be7f902", kill_on_drop: false }` [INFO] [stderr] Compiling xlog-rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | LOGGER.log(args); [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "ca9c1514180bfdbd98ec86bb89277b3094bddb87155605a8541d26b29be7f902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca9c1514180bfdbd98ec86bb89277b3094bddb87155605a8541d26b29be7f902", kill_on_drop: false }` [INFO] [stdout] ca9c1514180bfdbd98ec86bb89277b3094bddb87155605a8541d26b29be7f902 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b211a671d6f4ba47710781b058f51a070c066b6022bdf2240ebd94ec81e3287 [INFO] running `Command { std: "docker" "start" "-a" "8b211a671d6f4ba47710781b058f51a070c066b6022bdf2240ebd94ec81e3287", kill_on_drop: false }` [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> src/log.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | LOGGER.log(args); [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] [stderr] Compiling xlog-rs v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> tests/common/mod.rs:9:30 [INFO] [stdout] | [INFO] [stdout] 9 | unsafe { Cursor::new(LOG_BUF.as_mut().unwrap()) }, [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] --> tests/common/mod.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | String::from_utf8(LOG_BUF.as_mut().unwrap().clone()) [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/log.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | LOGGER.log(args); [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "8b211a671d6f4ba47710781b058f51a070c066b6022bdf2240ebd94ec81e3287", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b211a671d6f4ba47710781b058f51a070c066b6022bdf2240ebd94ec81e3287", kill_on_drop: false }` [INFO] [stdout] 8b211a671d6f4ba47710781b058f51a070c066b6022bdf2240ebd94ec81e3287 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e52d808cd35f41b793746c53b482780deacafa051a5ca937b9c16c713fbbae16 [INFO] running `Command { std: "docker" "start" "-a" "e52d808cd35f41b793746c53b482780deacafa051a5ca937b9c16c713fbbae16", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> src/log.rs:79:9 [INFO] [stderr] | [INFO] [stderr] 79 | LOGGER.log(args); [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: `xlog-rs` (lib) generated 1 warning [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> tests/common/mod.rs:9:30 [INFO] [stderr] | [INFO] [stderr] 9 | unsafe { Cursor::new(LOG_BUF.as_mut().unwrap()) }, [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] --> tests/common/mod.rs:16:31 [INFO] [stderr] | [INFO] [stderr] 16 | String::from_utf8(LOG_BUF.as_mut().unwrap().clone()) [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: `xlog-rs` (test "log_test") generated 2 warnings [INFO] [stderr] warning: `xlog-rs` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xlog-55b7302e0dfb3f3e) [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/xlog_rs-b0f4f10faede422b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/log_test.rs (/opt/rustwide/target/debug/deps/log_test-948a57218b40c93e) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test res_test ... ok [INFO] [stderr] Doc-tests xlog [INFO] [stdout] test simple_test ... ok [INFO] [stdout] test log_test ... ok [INFO] [stdout] test opt_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/log.rs - log::set_level (line 60) ... ok [INFO] [stdout] test src/log.rs - log::init (line 28) ... ok [INFO] [stdout] test src/log.rs - log::trace (line 112) ... ok [INFO] [stdout] test src/lib.rs - (line 7) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e52d808cd35f41b793746c53b482780deacafa051a5ca937b9c16c713fbbae16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e52d808cd35f41b793746c53b482780deacafa051a5ca937b9c16c713fbbae16", kill_on_drop: false }` [INFO] [stdout] e52d808cd35f41b793746c53b482780deacafa051a5ca937b9c16c713fbbae16