[INFO] fetching crate hel-random 0.4.0... [INFO] testing hel-random-0.4.0 against try#f23b22458132fb20faeb8a915b1c252478696f25 for pr-131095 [INFO] extracting crate hel-random 0.4.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate hel-random 0.4.0 on toolchain f23b22458132fb20faeb8a915b1c252478696f25 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "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" "+f23b22458132fb20faeb8a915b1c252478696f25" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10f85337401f8f98ba004fa3b5a88a614ea235e42a09d5477f203b6f25b4e54a [INFO] running `Command { std: "docker" "start" "-a" "10f85337401f8f98ba004fa3b5a88a614ea235e42a09d5477f203b6f25b4e54a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10f85337401f8f98ba004fa3b5a88a614ea235e42a09d5477f203b6f25b4e54a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f85337401f8f98ba004fa3b5a88a614ea235e42a09d5477f203b6f25b4e54a", kill_on_drop: false }` [INFO] [stdout] 10f85337401f8f98ba004fa3b5a88a614ea235e42a09d5477f203b6f25b4e54a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8a20db1b6ec9683042761dd5b08e80fea1b68b6474722ca5e926d8d1e2755c9 [INFO] running `Command { std: "docker" "start" "-a" "c8a20db1b6ec9683042761dd5b08e80fea1b68b6474722ca5e926d8d1e2755c9", 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.06s [INFO] running `Command { std: "docker" "inspect" "c8a20db1b6ec9683042761dd5b08e80fea1b68b6474722ca5e926d8d1e2755c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8a20db1b6ec9683042761dd5b08e80fea1b68b6474722ca5e926d8d1e2755c9", kill_on_drop: false }` [INFO] [stdout] c8a20db1b6ec9683042761dd5b08e80fea1b68b6474722ca5e926d8d1e2755c9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 510660228c69b698b822ef5b573dd02a634cbbfde0413c389993d2be9f4ae621 [INFO] running `Command { std: "docker" "start" "-a" "510660228c69b698b822ef5b573dd02a634cbbfde0413c389993d2be9f4ae621", 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.36s [INFO] running `Command { std: "docker" "inspect" "510660228c69b698b822ef5b573dd02a634cbbfde0413c389993d2be9f4ae621", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "510660228c69b698b822ef5b573dd02a634cbbfde0413c389993d2be9f4ae621", kill_on_drop: false }` [INFO] [stdout] 510660228c69b698b822ef5b573dd02a634cbbfde0413c389993d2be9f4ae621 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f23b22458132fb20faeb8a915b1c252478696f25" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54e0e598e47617c5b0c9f514996d85e3274d91b3b00eba29ec1d6aa2addaa020 [INFO] running `Command { std: "docker" "start" "-a" "54e0e598e47617c5b0c9f514996d85e3274d91b3b00eba29ec1d6aa2addaa020", 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.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hel_random-a24098a0fec48448) [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_bool ... ok [INFO] [stdout] test tests::test_i128 ... ok [INFO] [stdout] test tests::test_i16 ... 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_u32 ... ok [INFO] [stdout] test tests::test_u16 ... ok [INFO] [stdout] test tests::test_u64 ... ok [INFO] [stdout] test tests::test_u8 ... ok [INFO] [stdout] test tests::multithreaded ... ok [INFO] [stdout] test tests::flip_a_coin_fairness ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::flip_a_coin_fairness stdout ---- [INFO] [stdout] State: [9132390467106823939, 9867347622307428865, 14957219365315237376, 7696080384992547299] [INFO] [stdout] Population: 129 [INFO] [stdout] Fairness: 55622 [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: 0x63d1cc6b12aa - std::backtrace_rs::backtrace::libunwind::trace::h24270b8ca84976f5 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x63d1cc6b12aa - std::backtrace_rs::backtrace::trace_unsynchronized::h02001f29f8a7f873 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x63d1cc6b12aa - std::sys::backtrace::_print_fmt::hec0fad1ff9d0ced9 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63d1cc6b12aa - ::fmt::h64292488f7f2250f [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63d1cc6d7b83 - core::fmt::rt::Argument::fmt::h5a186eb42f172f83 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x63d1cc6d7b83 - core::fmt::write::h481de9317912dd10 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x63d1cc6adfa3 - std::io::Write::write_fmt::hf3775693c09b4454 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x63d1cc6b10f2 - std::sys::backtrace::BacktraceLock::print::h8adcaf0142651003 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x63d1cc6b2755 - std::panicking::default_hook::{{closure}}::h15fb66ff6c6741f9 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x63d1cc6b2548 - std::panicking::default_hook::hb9ad284307d8f928 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x63d1cc67d509 - as core::ops::function::Fn>::call::h7b6ff508218c42a0 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x63d1cc67d509 - test::test_main::{{closure}}::hbc464be6eb0d2a52 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x63d1cc6b2e58 - as core::ops::function::Fn>::call::h4be8ec3e201e2cf3 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x63d1cc6b2e58 - std::panicking::rust_panic_with_hook::h66f68b895f94d79f [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x63d1cc6b2be6 - std::panicking::begin_panic_handler::{{closure}}::hca74b9b22568e264 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:667:13 [INFO] [stdout] 15: 0x63d1cc6b1789 - std::sys::backtrace::__rust_end_short_backtrace::h74dd0769b8a109e0 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x63d1cc6b28ac - rust_begin_unwind [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x63d1cc6d6070 - core::panicking::panic_fmt::h9d563f5dc1b01cab [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x63d1cc6d60fc - core::panicking::panic::hcfd2d8a918b233c5 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panicking.rs:148:5 [INFO] [stdout] 19: 0x63d1cc62fd43 - hel_random::tests::flip_a_coin_fairness::h5c03ed0c1fd29b47 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:227:4 [INFO] [stdout] 20: 0x63d1cc62fa77 - hel_random::tests::flip_a_coin_fairness::{{closure}}::h2fba8f9771c5e4d3 [INFO] [stdout] at /opt/rustwide/workdir/src/lib.rs:208:27 [INFO] [stdout] 21: 0x63d1cc633866 - core::ops::function::FnOnce::call_once::ha6868a2a5139b635 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 22: 0x63d1cc681dcb - core::ops::function::FnOnce::call_once::h2b334953e617de9b [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x63d1cc681dcb - test::__rust_begin_short_backtrace::h8faab66b1ff1d0c8 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:621:18 [INFO] [stdout] 24: 0x63d1cc6816b8 - test::run_test_in_process::{{closure}}::hfb9c1a00854dd37d [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:644:60 [INFO] [stdout] 25: 0x63d1cc6816b8 - as core::ops::function::FnOnce<()>>::call_once::h74c9970fa5634840 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 26: 0x63d1cc6816b8 - std::panicking::try::do_call::hc4c1295047d6f2d7 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:557:40 [INFO] [stdout] 27: 0x63d1cc6816b8 - std::panicking::try::h67266f7a45240585 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:520:19 [INFO] [stdout] 28: 0x63d1cc6816b8 - std::panic::catch_unwind::h9bd43337d7e40f31 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panic.rs:358:14 [INFO] [stdout] 29: 0x63d1cc6816b8 - test::run_test_in_process::hcd26e1ba57fd34c2 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:644:27 [INFO] [stdout] 30: 0x63d1cc6816b8 - test::run_test::{{closure}}::h7249fd59f504e406 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:565:43 [INFO] [stdout] 31: 0x63d1cc645674 - test::run_test::{{closure}}::h9278596bd856801d [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/test/src/lib.rs:595:41 [INFO] [stdout] 32: 0x63d1cc645674 - std::sys::backtrace::__rust_begin_short_backtrace::h81ab71768b07ffb5 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 33: 0x63d1cc648d22 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hd39edce2d4305e8d [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/thread/mod.rs:521:17 [INFO] [stdout] 34: 0x63d1cc648d22 - as core::ops::function::FnOnce<()>>::call_once::hffcde42bb45e43d3 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 35: 0x63d1cc648d22 - std::panicking::try::do_call::h30d61604663dff17 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:557:40 [INFO] [stdout] 36: 0x63d1cc648d22 - std::panicking::try::h7b8b36119ae94880 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panicking.rs:520:19 [INFO] [stdout] 37: 0x63d1cc648d22 - std::panic::catch_unwind::h4a4bb2ef7a88f652 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/panic.rs:358:14 [INFO] [stdout] 38: 0x63d1cc648d22 - std::thread::Builder::spawn_unchecked_::{{closure}}::hd62ab97c763f4e34 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/thread/mod.rs:520:30 [INFO] [stdout] 39: 0x63d1cc648d22 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0a89a60c6ceef6b4 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 40: 0x63d1cc6b6bcb - as core::ops::function::FnOnce>::call_once::h5de9072f83a0d37c [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 41: 0x63d1cc6b6bcb - as core::ops::function::FnOnce>::call_once::hbbf67a38c5e8c30f [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x63d1cc6b6bcb - std::sys::pal::unix::thread::Thread::new::thread_start::hb547260a5233ab58 [INFO] [stdout] at /rustc/f23b22458132fb20faeb8a915b1c252478696f25/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 43: 0x7b2f5b500ac3 - [INFO] [stdout] 44: 0x7b2f5b591a04 - 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.12s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "54e0e598e47617c5b0c9f514996d85e3274d91b3b00eba29ec1d6aa2addaa020", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54e0e598e47617c5b0c9f514996d85e3274d91b3b00eba29ec1d6aa2addaa020", kill_on_drop: false }` [INFO] [stdout] 54e0e598e47617c5b0c9f514996d85e3274d91b3b00eba29ec1d6aa2addaa020