[INFO] fetching crate dicebag 0.3.7... [INFO] testing dicebag-0.3.7 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate dicebag 0.3.7 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate dicebag 0.3.7 [INFO] finished tweaking crates.io crate dicebag 0.3.7 [INFO] tweaked toml for crates.io crate dicebag 0.3.7 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate dicebag 0.3.7 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate dicebag 0.3.7 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f60375652f09909c585f57d3fa06de2ac6819ec9f68169879985044592e0e1e3 [INFO] running `Command { std: "docker" "start" "-a" "f60375652f09909c585f57d3fa06de2ac6819ec9f68169879985044592e0e1e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f60375652f09909c585f57d3fa06de2ac6819ec9f68169879985044592e0e1e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60375652f09909c585f57d3fa06de2ac6819ec9f68169879985044592e0e1e3", kill_on_drop: false }` [INFO] [stdout] f60375652f09909c585f57d3fa06de2ac6819ec9f68169879985044592e0e1e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e274da8ae9c6257e997e7ff39601b7790421d767c4210e68adc52886325af4c3 [INFO] running `Command { std: "docker" "start" "-a" "e274da8ae9c6257e997e7ff39601b7790421d767c4210e68adc52886325af4c3", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.4 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling dicebag v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.46s [INFO] running `Command { std: "docker" "inspect" "e274da8ae9c6257e997e7ff39601b7790421d767c4210e68adc52886325af4c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e274da8ae9c6257e997e7ff39601b7790421d767c4210e68adc52886325af4c3", kill_on_drop: false }` [INFO] [stdout] e274da8ae9c6257e997e7ff39601b7790421d767c4210e68adc52886325af4c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 562b20de62d95a2f9642df220fba1bc075f9ef60a6ac5a0eeb7948d68c024949 [INFO] running `Command { std: "docker" "start" "-a" "562b20de62d95a2f9642df220fba1bc075f9ef60a6ac5a0eeb7948d68c024949", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling dicebag v0.3.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `percentage_chance_of` [INFO] [stdout] --> src/lib.rs:212:26 [INFO] [stdout] | [INFO] [stdout] 212 | use crate::{DiceExt, percentage_chance_of, RandomOf}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] help: `num` is captured in macro and introduced a unused variable [INFO] [stdout] --> src/lib.rs:132:29 [INFO] [stdout] | [INFO] [stdout] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] = note: this warning originates in the macro `implement_sign_dependant_diceext` (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.50s [INFO] running `Command { std: "docker" "inspect" "562b20de62d95a2f9642df220fba1bc075f9ef60a6ac5a0eeb7948d68c024949", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "562b20de62d95a2f9642df220fba1bc075f9ef60a6ac5a0eeb7948d68c024949", kill_on_drop: false }` [INFO] [stdout] 562b20de62d95a2f9642df220fba1bc075f9ef60a6ac5a0eeb7948d68c024949 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 692ff81128163ec4d848ccb671c1eba698a0ddcc281be57c9b2f1baa022410e1 [INFO] running `Command { std: "docker" "start" "-a" "692ff81128163ec4d848ccb671c1eba698a0ddcc281be57c9b2f1baa022410e1", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `num` [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stdout] running 4 tests [INFO] [stderr] | [INFO] [stdout] test dice_tests::chance_macro_works ... ok [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stdout] test dice_tests::random_of ... ok [INFO] [stderr] | ^^^ [INFO] [stdout] test dice_tests::d6_stay_in_range ... ok [INFO] [stderr] ... [INFO] [stdout] test dice_tests::d97_stay_in_range ... ok [INFO] [stderr] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stdout] [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] help: `num` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 141 | implement_sign_dependant_diceext!(u8, unsigned); [INFO] [stderr] | ----------------------------------------------- in this macro invocation [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `num` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 142 | implement_sign_dependant_diceext!(u16, unsigned); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `num` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | implement_sign_dependant_diceext!(u32, unsigned); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `num` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 144 | implement_sign_dependant_diceext!(u64, unsigned); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `num` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 145 | implement_sign_dependant_diceext!(u128, unsigned); [INFO] [stderr] | ------------------------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `num` [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] help: `num` is captured in macro and introduced a unused variable [INFO] [stderr] --> src/lib.rs:132:29 [INFO] [stderr] | [INFO] [stderr] 132 | fn [](num: $t) -> bool { false } [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 146 | implement_sign_dependant_diceext!(usize, unsigned); [INFO] [stderr] | -------------------------------------------------- in this macro invocation [INFO] [stderr] = note: this warning originates in the macro `implement_sign_dependant_diceext` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused import: `percentage_chance_of` [INFO] [stderr] --> src/lib.rs:212:26 [INFO] [stderr] | [INFO] [stderr] 212 | use crate::{DiceExt, percentage_chance_of, RandomOf}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `dicebag` (lib) generated 6 warnings [INFO] [stderr] warning: `dicebag` (lib test) generated 7 warnings (6 duplicates) (run `cargo fix --lib -p dicebag --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/dicebag-fd15946a5934e708) [INFO] [stderr] Doc-tests dicebag [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - percentage_chance_of (line 110) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] all doctests ran in 0.44s; merged doctests compilation took 0.43s [INFO] running `Command { std: "docker" "inspect" "692ff81128163ec4d848ccb671c1eba698a0ddcc281be57c9b2f1baa022410e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692ff81128163ec4d848ccb671c1eba698a0ddcc281be57c9b2f1baa022410e1", kill_on_drop: false }` [INFO] [stdout] 692ff81128163ec4d848ccb671c1eba698a0ddcc281be57c9b2f1baa022410e1