[INFO] cloning repository https://github.com/jakmeier/globals-in-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jakmeier/globals-in-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmeier%2Fglobals-in-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmeier%2Fglobals-in-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1819db9fb3a90a8c275ae66195779ae0822ecc12 [INFO] testing jakmeier/globals-in-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjakmeier%2Fglobals-in-rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jakmeier/globals-in-rust [INFO] finished tweaking git repo https://github.com/jakmeier/globals-in-rust [INFO] tweaked toml for git repo https://github.com/jakmeier/globals-in-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jakmeier/globals-in-rust 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] crate git repo https://github.com/jakmeier/globals-in-rust 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded half v1.7.1 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded plotters-svg v0.3.0 [INFO] [stderr] Downloaded cast v0.2.6 [INFO] [stderr] Downloaded plotters-backend v0.3.0 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded criterion v0.3.4 [INFO] [stderr] Downloaded bstr v0.2.16 [INFO] [stderr] Downloaded plotters v0.3.1 [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] 4b650b60be941605fd0a0c0f36234b7914fa9942db4e76244f4ab205c246ca5e [INFO] running `Command { std: "docker" "start" "-a" "4b650b60be941605fd0a0c0f36234b7914fa9942db4e76244f4ab205c246ca5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b650b60be941605fd0a0c0f36234b7914fa9942db4e76244f4ab205c246ca5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b650b60be941605fd0a0c0f36234b7914fa9942db4e76244f4ab205c246ca5e", kill_on_drop: false }` [INFO] [stdout] 4b650b60be941605fd0a0c0f36234b7914fa9942db4e76244f4ab205c246ca5e [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] 183e492ee7641262b7ec9dc83af3b9aee64af77f9010789cadb91cbb48078be2 [INFO] running `Command { std: "docker" "start" "-a" "183e492ee7641262b7ec9dc83af3b9aee64af77f9010789cadb91cbb48078be2", kill_on_drop: false }` [INFO] [stderr] Compiling globals_benchmarks v0.1.0 (/opt/rustwide/workdir/globals_benchmarks) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> globals_benchmarks/src/mutable_globals.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | *STD_ONCE_COUNTER.borrow_mut() = Some(Mutex::new(init_value())); [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 shared reference to mutable static [INFO] [stdout] --> globals_benchmarks/src/mutable_globals.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | *STD_ONCE_COUNTER_2.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | *STD_ONCE_COUNTER_3.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "183e492ee7641262b7ec9dc83af3b9aee64af77f9010789cadb91cbb48078be2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "183e492ee7641262b7ec9dc83af3b9aee64af77f9010789cadb91cbb48078be2", kill_on_drop: false }` [INFO] [stdout] 183e492ee7641262b7ec9dc83af3b9aee64af77f9010789cadb91cbb48078be2 [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] d0f64bb1f1a05285cf17b3f77c76eea600d00795c41ed4624c96b5fbac105452 [INFO] running `Command { std: "docker" "start" "-a" "d0f64bb1f1a05285cf17b3f77c76eea600d00795c41ed4624c96b5fbac105452", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> globals_benchmarks/src/mutable_globals.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | *STD_ONCE_COUNTER.borrow_mut() = Some(Mutex::new(init_value())); [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 shared reference to mutable static [INFO] [stdout] --> globals_benchmarks/src/mutable_globals.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | *STD_ONCE_COUNTER_2.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | *STD_ONCE_COUNTER_3.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling globals_benchmarks v0.1.0 (/opt/rustwide/workdir/globals_benchmarks) [INFO] [stdout] warning: creating a mutable reference to mutable static [INFO] [stdout] --> globals_benchmarks/src/mutable_globals.rs:57:14 [INFO] [stdout] | [INFO] [stdout] 57 | *STD_ONCE_COUNTER.borrow_mut() = Some(Mutex::new(init_value())); [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 shared reference to mutable static [INFO] [stdout] --> globals_benchmarks/src/mutable_globals.rs:62:14 [INFO] [stdout] | [INFO] [stdout] 62 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:66:10 [INFO] [stdout] | [INFO] [stdout] 66 | *STD_ONCE_COUNTER_2.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:72:10 [INFO] [stdout] | [INFO] [stdout] 72 | *STD_ONCE_COUNTER_3.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:74:14 [INFO] [stdout] | [INFO] [stdout] 74 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:66:14 [INFO] [stdout] | [INFO] [stdout] 66 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:72:14 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 16.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d0f64bb1f1a05285cf17b3f77c76eea600d00795c41ed4624c96b5fbac105452", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0f64bb1f1a05285cf17b3f77c76eea600d00795c41ed4624c96b5fbac105452", kill_on_drop: false }` [INFO] [stdout] d0f64bb1f1a05285cf17b3f77c76eea600d00795c41ed4624c96b5fbac105452 [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] bdf8f6cb5fac7a5e0419909d9ac7a50e026a625535aba9e31bfeedfa7a586875 [INFO] running `Command { std: "docker" "start" "-a" "bdf8f6cb5fac7a5e0419909d9ac7a50e026a625535aba9e31bfeedfa7a586875", kill_on_drop: false }` [INFO] [stderr] warning: creating a mutable reference to mutable static [INFO] [stderr] --> globals_benchmarks/src/mutable_globals.rs:57:14 [INFO] [stderr] | [INFO] [stderr] 57 | *STD_ONCE_COUNTER.borrow_mut() = Some(Mutex::new(init_value())); [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 shared reference to mutable static [INFO] [stderr] --> globals_benchmarks/src/mutable_globals.rs:62:14 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:66:10 [INFO] [stderr] | [INFO] [stderr] 66 | *STD_ONCE_COUNTER_2.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:68:14 [INFO] [stderr] | [INFO] [stderr] 68 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/mutable_globals.rs:72:10 [INFO] [stderr] | [INFO] [stderr] 72 | *STD_ONCE_COUNTER_3.borrow_mut() = Some(Mutex::new(init_value())); [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] --> globals_benchmarks/src/mutable_globals.rs:74:14 [INFO] [stderr] | [INFO] [stderr] 74 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:66:14 [INFO] [stderr] | [INFO] [stderr] 66 | unsafe { STD_ONCE_COUNTER.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:72:14 [INFO] [stderr] | [INFO] [stderr] 72 | unsafe { STD_ONCE_COUNTER_2.as_ref().unwrap() } [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] --> globals_benchmarks/src/read_only_globals.rs:78:14 [INFO] [stderr] | [INFO] [stderr] 78 | unsafe { STD_ONCE_COUNTER_3.as_ref().unwrap() } [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: `globals_benchmarks` (lib) generated 9 warnings [INFO] [stderr] warning: `globals_benchmarks` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/globals_benchmarks-31bea95375af7a3c) [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] running `Command { std: "docker" "inspect" "bdf8f6cb5fac7a5e0419909d9ac7a50e026a625535aba9e31bfeedfa7a586875", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdf8f6cb5fac7a5e0419909d9ac7a50e026a625535aba9e31bfeedfa7a586875", kill_on_drop: false }` [INFO] [stdout] bdf8f6cb5fac7a5e0419909d9ac7a50e026a625535aba9e31bfeedfa7a586875