[INFO] fetching crate hel-random 0.4.0... [INFO] testing hel-random-0.4.0 against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] extracting crate hel-random 0.4.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate hel-random 0.4.0 on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hel-random 0.4.0 [INFO] finished tweaking crates.io crate hel-random 0.4.0 [INFO] tweaked toml for crates.io crate hel-random 0.4.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f39152f459bc430e39b04a17299fd35a22281567b056321cc09fe10ee662fc49 [INFO] running `Command { std: "docker" "start" "-a" "f39152f459bc430e39b04a17299fd35a22281567b056321cc09fe10ee662fc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f39152f459bc430e39b04a17299fd35a22281567b056321cc09fe10ee662fc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f39152f459bc430e39b04a17299fd35a22281567b056321cc09fe10ee662fc49", kill_on_drop: false }` [INFO] [stdout] f39152f459bc430e39b04a17299fd35a22281567b056321cc09fe10ee662fc49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fce579d38c6d4e261a6d35602a5124ad47b5b201e1b8ab5622bedf7bbee1df97 [INFO] running `Command { std: "docker" "start" "-a" "fce579d38c6d4e261a6d35602a5124ad47b5b201e1b8ab5622bedf7bbee1df97", kill_on_drop: false }` [INFO] [stderr] Compiling hel-random v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s [INFO] running `Command { std: "docker" "inspect" "fce579d38c6d4e261a6d35602a5124ad47b5b201e1b8ab5622bedf7bbee1df97", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fce579d38c6d4e261a6d35602a5124ad47b5b201e1b8ab5622bedf7bbee1df97", kill_on_drop: false }` [INFO] [stdout] fce579d38c6d4e261a6d35602a5124ad47b5b201e1b8ab5622bedf7bbee1df97 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d99da0dd1d6749c0ff2907b4da8a1ea8d358134e27f4c7c315311f70f5feebb3 [INFO] running `Command { std: "docker" "start" "-a" "d99da0dd1d6749c0ff2907b4da8a1ea8d358134e27f4c7c315311f70f5feebb3", kill_on_drop: false }` [INFO] [stderr] Compiling hel-random v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:216:28 [INFO] [stdout] | [INFO] [stdout] 216 | println!("State: {:?}", STATE); [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | STATE.iter().fold(0, |acc, s| acc + s.count_ones()) [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 is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 290 | make_ignored!(output_u128, u128); [INFO] [stdout] | -------------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 291 | make_ignored!(output_i128, i128); [INFO] [stdout] | -------------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 292 | make_ignored!(output_u64, u64); [INFO] [stdout] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 293 | make_ignored!(output_i64, i64); [INFO] [stdout] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 294 | make_ignored!(output_u32, u32); [INFO] [stdout] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 295 | make_ignored!(output_i32, i32); [INFO] [stdout] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 296 | make_ignored!(output_u16, u16); [INFO] [stdout] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 297 | make_ignored!(output_i16, i16); [INFO] [stdout] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 298 | make_ignored!(output_u8, u8); [INFO] [stdout] | ---------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 299 | make_ignored!(output_i8, i8); [INFO] [stdout] | ---------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/lib.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | println!("{:?}", STATE); [INFO] [stdout] | ^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 300 | make_ignored!(output_bool, bool); [INFO] [stdout] | -------------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "d99da0dd1d6749c0ff2907b4da8a1ea8d358134e27f4c7c315311f70f5feebb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d99da0dd1d6749c0ff2907b4da8a1ea8d358134e27f4c7c315311f70f5feebb3", kill_on_drop: false }` [INFO] [stdout] d99da0dd1d6749c0ff2907b4da8a1ea8d358134e27f4c7c315311f70f5feebb3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a879659da8a2691641c7606123bad91ac36e4a4a7a6da5e8683573f2e9744635 [INFO] running `Command { std: "docker" "start" "-a" "a879659da8a2691641c7606123bad91ac36e4a4a7a6da5e8683573f2e9744635", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:216:28 [INFO] [stderr] | [INFO] [stderr] 216 | println!("State: {:?}", STATE); [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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:219:5 [INFO] [stderr] | [INFO] [stderr] 219 | STATE.iter().fold(0, |acc, s| acc + s.count_ones()) [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 is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 290 | make_ignored!(output_u128, u128); [INFO] [stderr] | -------------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 291 | make_ignored!(output_i128, i128); [INFO] [stderr] | -------------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 292 | make_ignored!(output_u64, u64); [INFO] [stderr] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 293 | make_ignored!(output_i64, i64); [INFO] [stderr] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 294 | make_ignored!(output_u32, u32); [INFO] [stderr] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 295 | make_ignored!(output_i32, i32); [INFO] [stderr] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 296 | make_ignored!(output_u16, u16); [INFO] [stderr] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 297 | make_ignored!(output_i16, i16); [INFO] [stderr] | ------------------------------ in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 298 | make_ignored!(output_u8, u8); [INFO] [stderr] | ---------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 299 | make_ignored!(output_i8, i8); [INFO] [stderr] | ---------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/lib.rs:278:23 [INFO] [stderr] | [INFO] [stderr] 278 | println!("{:?}", STATE); [INFO] [stderr] | ^^^^^ shared reference to mutable static [INFO] [stderr] ... [INFO] [stderr] 300 | make_ignored!(output_bool, bool); [INFO] [stderr] | -------------------------------- in this macro invocation [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] = note: this warning originates in the macro `make_ignored` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `hel-random` (lib test) generated 13 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hel_random-c21adc2da6600b4d) [INFO] [stdout] [INFO] [stdout] running 35 tests [INFO] [stdout] test tests::bench_bool ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_i128 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_i16 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_i32 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_i64 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_i8 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_u128 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_u16 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_u32 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_u64 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::bench_u8 ... ignored, generating 1_000_000 result. Use 'cargo bench -- --ignored' [INFO] [stdout] test tests::output_bool ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_i128 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_i16 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_i32 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_i64 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_i8 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_u128 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_u16 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_u32 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_u64 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::output_u8 ... ignored, to see output use "cargo t -- --ignored" [INFO] [stdout] test tests::test_i16 ... ok [INFO] [stdout] test tests::test_bool ... ok [INFO] [stdout] test tests::test_i128 ... ok [INFO] [stdout] test tests::test_i32 ... ok [INFO] [stdout] test tests::test_i64 ... ok [INFO] [stdout] test tests::test_i8 ... ok [INFO] [stdout] test tests::test_u128 ... ok [INFO] [stdout] test tests::test_u16 ... ok [INFO] [stdout] test tests::test_u32 ... ok [INFO] [stdout] test tests::test_u64 ... ok [INFO] [stdout] test tests::test_u8 ... ok [INFO] [stdout] test tests::flip_a_coin_fairness ... FAILED [INFO] [stdout] test tests::multithreaded ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::flip_a_coin_fairness stdout ---- [INFO] [stdout] State: [9511835449499917085, 7070919538939163007, 274051200570841617, 5129812871203673303] [INFO] [stdout] Population: 137 [INFO] [stdout] Fairness: 10372 [INFO] [stdout] thread 'tests::flip_a_coin_fairness' panicked at src/lib.rs:227:13: [INFO] [stdout] assertion failed: balance < (TRIES / 100) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f4b61ce38ca - std::backtrace_rs::backtrace::libunwind::trace::h45f575fdcec9cdc1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x5f4b61ce38ca - std::backtrace_rs::backtrace::trace_unsynchronized::heed7aaaa28209ac3 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5f4b61ce38ca - std::sys::backtrace::_print_fmt::h47d1e3547844619c [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f4b61ce38ca - ::fmt::h6c37de0361fa7462 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f4b61d0a7b3 - core::fmt::rt::Argument::fmt::h6606d9b5304941e1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x5f4b61d0a7b3 - core::fmt::write::hf77fe0583268bf67 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/fmt/mod.rs:1437:21 [INFO] [stdout] 6: 0x5f4b61ce05c3 - std::io::Write::write_fmt::h672ff980e46892ac [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/io/mod.rs:1887:15 [INFO] [stdout] 7: 0x5f4b61ce3712 - std::sys::backtrace::BacktraceLock::print::hce84519ec0e7588e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x5f4b61ce4d4e - std::panicking::default_hook::{{closure}}::h6e0433c33d1ed12b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:284:22 [INFO] [stdout] 9: 0x5f4b61ce4b57 - std::panicking::default_hook::h19d4e9e8d7fba9e2 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:308:9 [INFO] [stdout] 10: 0x5f4b61cae108 - as core::ops::function::Fn>::call::hd2aa5731f018e269 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 11: 0x5f4b61cae108 - test::test_main::{{closure}}::h1ae6fb8f80aa49b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:134:21 [INFO] [stdout] 12: 0x5f4b61ce5568 - as core::ops::function::Fn>::call::h4f2af756974b90d5 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1984:9 [INFO] [stdout] 13: 0x5f4b61ce5568 - std::panicking::rust_panic_with_hook::hd21771b96ea64164 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:825:13 [INFO] [stdout] 14: 0x5f4b61ce51e6 - std::panicking::begin_panic_handler::{{closure}}::h2e177f984fc72cbb [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:683:13 [INFO] [stdout] 15: 0x5f4b61ce3da9 - std::sys::backtrace::__rust_end_short_backtrace::ha7f0445003f40b38 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 16: 0x5f4b61ce4ead - rust_begin_unwind [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:681:5 [INFO] [stdout] 17: 0x5f4b61d08c80 - core::panicking::panic_fmt::h85741df7bc4071b6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:75:14 [INFO] [stdout] 18: 0x5f4b61d08d0c - core::panicking::panic::h4797f5178217e884 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panicking.rs:145:5 [INFO] [stdout] 19: 0x5f4b61c66d1f - hel_random::tests::flip_a_coin_fairness::hb627e3e914e0f5dd [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:227:4 [INFO] [stdout] 20: 0x5f4b61c66b57 - hel_random::tests::flip_a_coin_fairness::{{closure}}::h65222a4999437b7a [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:208:27 [INFO] [stdout] 21: 0x5f4b61c600b6 - core::ops::function::FnOnce::call_once::hf4be2bdf129b2314 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x5f4b61cb2d4b - core::ops::function::FnOnce::call_once::hc1e06e2a5640370a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f4b61cb2d4b - test::__rust_begin_short_backtrace::heb5aa654e2797f5b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:632:18 [INFO] [stdout] 24: 0x5f4b61cb2659 - test::run_test_in_process::{{closure}}::h1329474a96646ad1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:60 [INFO] [stdout] 25: 0x5f4b61cb2659 - as core::ops::function::FnOnce<()>>::call_once::hc87a7a8694e6d844 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x5f4b61cb2659 - std::panicking::try::do_call::h3b8456af8bacf88f [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 27: 0x5f4b61cb2659 - std::panicking::try::hc177f95c6592cea1 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 28: 0x5f4b61cb2659 - std::panic::catch_unwind::h847b2adf17f7da7a [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 29: 0x5f4b61cb2659 - test::run_test_in_process::h824f7775d92af51e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:655:27 [INFO] [stdout] 30: 0x5f4b61cb2659 - test::run_test::{{closure}}::hdfaf20d18f7af8f6 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:576:43 [INFO] [stdout] 31: 0x5f4b61c751ea - test::run_test::{{closure}}::he83661a0a1c97403 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/test/src/lib.rs:606:41 [INFO] [stdout] 32: 0x5f4b61c751ea - std::sys::backtrace::__rust_begin_short_backtrace::hd3a78fd401685e9b [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 33: 0x5f4b61c78c26 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h78d6a457dee8dc60 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:561:17 [INFO] [stdout] 34: 0x5f4b61c78c26 - as core::ops::function::FnOnce<()>>::call_once::hc4069b3cc6600bde [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x5f4b61c78c26 - std::panicking::try::do_call::h0dde49ad0af85fa8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:573:40 [INFO] [stdout] 36: 0x5f4b61c78c26 - std::panicking::try::h918d0d3a7e94727d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panicking.rs:536:19 [INFO] [stdout] 37: 0x5f4b61c78c26 - std::panic::catch_unwind::h7016984cdcdd8b9e [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x5f4b61c78c26 - std::thread::Builder::spawn_unchecked_::{{closure}}::h2766f51195a4a65d [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/thread/mod.rs:559:30 [INFO] [stdout] 39: 0x5f4b61c78c26 - core::ops::function::FnOnce::call_once{{vtable.shim}}::hbd6e39e4ea63a011 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x5f4b61ce943b - as core::ops::function::FnOnce>::call_once::h34bec2a4cdedc102 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 41: 0x5f4b61ce943b - as core::ops::function::FnOnce>::call_once::ha62c0d1861fdf293 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/alloc/src/boxed.rs:1970:9 [INFO] [stdout] 42: 0x5f4b61ce943b - std::sys::pal::unix::thread::Thread::new::thread_start::h71fe57097907b3f8 [INFO] [stdout] at /rustc/9e136a30a965bf4e63f03095c57df7257bf96fd6/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 43: 0x72a493a5cac3 - [INFO] [stdout] 44: 0x72a493aeda04 - clone [INFO] [stdout] 45: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::flip_a_coin_fairness [INFO] [stdout] [INFO] [stdout] test result: FAILED. 12 passed; 1 failed; 22 ignored; 0 measured; 0 filtered out; finished in 0.45s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "a879659da8a2691641c7606123bad91ac36e4a4a7a6da5e8683573f2e9744635", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a879659da8a2691641c7606123bad91ac36e4a4a7a6da5e8683573f2e9744635", kill_on_drop: false }` [INFO] [stdout] a879659da8a2691641c7606123bad91ac36e4a4a7a6da5e8683573f2e9744635