[INFO] updating cached repository https://github.com/vparekh1/rust-dicegen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1653c6b90b9d2aeb7386086cd5e45bd024d82a41 [INFO] checking vparekh1/rust-dicegen against master#e1beee4992ad4b235fc700bf7af1ee86f894ea53 for pr-74130 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvparekh1%2Frust-dicegen" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vparekh1/rust-dicegen on toolchain e1beee4992ad4b235fc700bf7af1ee86f894ea53 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vparekh1/rust-dicegen [INFO] finished tweaking git repo https://github.com/vparekh1/rust-dicegen [INFO] tweaked toml for git repo https://github.com/vparekh1/rust-dicegen written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/vparekh1/rust-dicegen already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7ecf6d02d7cc1ca3370d921b97c2eb469f946aedd47bbc3308edf86995224595 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7ecf6d02d7cc1ca3370d921b97c2eb469f946aedd47bbc3308edf86995224595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7ecf6d02d7cc1ca3370d921b97c2eb469f946aedd47bbc3308edf86995224595", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ecf6d02d7cc1ca3370d921b97c2eb469f946aedd47bbc3308edf86995224595", kill_on_drop: false }` [INFO] [stdout] 7ecf6d02d7cc1ca3370d921b97c2eb469f946aedd47bbc3308edf86995224595 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:819119df93c0f5eca3f29186f14981ef29945a311854d7222af07488600a2584" "/opt/rustwide/cargo-home/bin/cargo" "+e1beee4992ad4b235fc700bf7af1ee86f894ea53" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ca8fc04ad73d94fbdf5b7a08bc9b92f51c93f1cb436ca0a5c4ec3c74d8ac076e [INFO] running `Command { std: "docker" "start" "-a" "ca8fc04ad73d94fbdf5b7a08bc9b92f51c93f1cb436ca0a5c4ec3c74d8ac076e", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking static_assertions v0.3.4 [INFO] [stderr] Compiling nom v5.1.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling lexical-core v0.6.7 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rust-dicegen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/dice_roll/calculator.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn new(rng: R) -> RollRequest { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `roll_dice` [INFO] [stdout] --> src/dice_roll/calculator.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn roll_dice<'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `explode` [INFO] [stdout] --> src/dice_roll/calculator.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn explode<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove` [INFO] [stdout] --> src/dice_roll/calculator.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn remove<'a>(&'a mut self, count: u64) -> &'a mut RollRequest { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep` [INFO] [stdout] --> src/dice_roll/calculator.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn keep<'a>(&'a mut self, count: u64) -> &'a mut RollRequest { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `keep_lower` [INFO] [stdout] --> src/dice_roll/calculator.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn keep_lower<'a>(&'a mut self, count: u64) -> &'a mut RollRequest { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `complex_dice_roll` [INFO] [stdout] --> src/dice_roll/parser.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn complex_dice_roll(input: &str) -> IResult<&str, ComplexDiceRoll> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `simple_dice_roll` [INFO] [stdout] --> src/dice_roll/parser.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn simple_dice_roll(input: &str) -> IResult<&str, DiceRoll> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dice_roll_mod` [INFO] [stdout] --> src/dice_roll/parser.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn dice_roll_mod(input: &str) -> IResult<&str, RollMod> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `number` [INFO] [stdout] --> src/dice_roll/parser.rs:51:4 [INFO] [stdout] | [INFO] [stdout] 51 | fn number(input: &str) -> IResult<&str, u64> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `roll_type` [INFO] [stdout] --> src/dice_roll/parser.rs:56:4 [INFO] [stdout] | [INFO] [stdout] 56 | fn roll_type(input: &str) -> IResult<&str, RollModType> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dice_roll_separator` [INFO] [stdout] --> src/dice_roll/parser.rs:60:4 [INFO] [stdout] | [INFO] [stdout] 60 | fn dice_roll_separator(input: &str) -> IResult<&str, char> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_number` [INFO] [stdout] --> src/dice_roll/parser.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn parse_number(text: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parse_roll_mod_type` [INFO] [stdout] --> src/dice_roll/parser.rs:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | fn parse_roll_mod_type(c: char) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `roll_complex_dice` [INFO] [stdout] --> src/dice_roll/controller.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn roll_complex_dice(roll: ComplexDiceRoll) -> RollRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `roll_simple_dice` [INFO] [stdout] --> src/dice_roll/controller.rs:18:4 [INFO] [stdout] | [INFO] [stdout] 18 | fn roll_simple_dice(parser: DiceRoll) -> RollRequest { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `E` [INFO] [stdout] --> src/dice_roll/mod.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | E, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `R` [INFO] [stdout] --> src/dice_roll/mod.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | R, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `K` [INFO] [stdout] --> src/dice_roll/mod.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | K, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `L` [INFO] [stdout] --> src/dice_roll/mod.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | L, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.93s [INFO] running `Command { std: "docker" "inspect" "ca8fc04ad73d94fbdf5b7a08bc9b92f51c93f1cb436ca0a5c4ec3c74d8ac076e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca8fc04ad73d94fbdf5b7a08bc9b92f51c93f1cb436ca0a5c4ec3c74d8ac076e", kill_on_drop: false }` [INFO] [stdout] ca8fc04ad73d94fbdf5b7a08bc9b92f51c93f1cb436ca0a5c4ec3c74d8ac076e