[INFO] cloning repository https://github.com/binaryoverload/DiceRollParser-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/binaryoverload/DiceRollParser-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10c2047e448b3ce58816791d2f8537ea8a156501 [INFO] checking binaryoverload/DiceRollParser-Rust against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbinaryoverload%2FDiceRollParser-Rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/binaryoverload/DiceRollParser-Rust on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/binaryoverload/DiceRollParser-Rust [INFO] finished tweaking git repo https://github.com/binaryoverload/DiceRollParser-Rust [INFO] tweaked toml for git repo https://github.com/binaryoverload/DiceRollParser-Rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/binaryoverload/DiceRollParser-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdc13479b15bb54ac665f35f84b0a7978711c76c2534d283fcd10274788d36ee [INFO] running `Command { std: "docker" "start" "-a" "fdc13479b15bb54ac665f35f84b0a7978711c76c2534d283fcd10274788d36ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdc13479b15bb54ac665f35f84b0a7978711c76c2534d283fcd10274788d36ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc13479b15bb54ac665f35f84b0a7978711c76c2534d283fcd10274788d36ee", kill_on_drop: false }` [INFO] [stdout] fdc13479b15bb54ac665f35f84b0a7978711c76c2534d283fcd10274788d36ee [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d826af1c03368c85c8161a5518258a93de22510adbd88fcea1ae6e69f95933ec [INFO] running `Command { std: "docker" "start" "-a" "d826af1c03368c85c8161a5518258a93de22510adbd88fcea1ae6e69f95933ec", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking dicerollparser_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::option::Option::Some; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Some` is imported redundantly [INFO] [stdout] --> src/parser.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::option::Option::Some; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Some` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number_of_dice` and `number_of_sides` are never read [INFO] [stdout] --> src/types.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Dice { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) number_of_dice: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub(crate) number_of_sides: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `value` are never read [INFO] [stdout] --> src/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValueOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | pub(crate) operator: OperatorType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub(crate) value: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modifier_type`, `modifier_value`, and `selector` are never read [INFO] [stdout] --> src/types.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Modifier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | pub(crate) modifier_type: ModifierType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) modifier_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub(crate) selector: Option<(SelectorType, u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dice`, `modifiers`, `value_operators`, `label`, and `joining_operator` are never read [INFO] [stdout] --> src/types.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct DiceRoll<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 50 | pub(crate) dice: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) value_operators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub(crate) label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub(crate) joining_operator: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiceRoll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_dice` is never used [INFO] [stdout] --> src/impls.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl DiceRoll<'_> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn calculate_dice(dice: &Dice) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `number_of_dice` and `number_of_sides` are never read [INFO] [stdout] --> src/types.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) struct Dice { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 3 | pub(crate) number_of_dice: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 4 | pub(crate) number_of_sides: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Dice` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `operator` and `value` are never read [INFO] [stdout] --> src/types.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ValueOperator { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 9 | pub(crate) operator: OperatorType, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | pub(crate) value: u8 [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ValueOperator` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `modifier_type`, `modifier_value`, and `selector` are never read [INFO] [stdout] --> src/types.rs:43:16 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct Modifier { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 43 | pub(crate) modifier_type: ModifierType, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 44 | pub(crate) modifier_value: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 45 | pub(crate) selector: Option<(SelectorType, u8)> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Modifier` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dice`, `modifiers`, `value_operators`, `label`, and `joining_operator` are never read [INFO] [stdout] --> src/types.rs:50:16 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct DiceRoll<'a> { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 50 | pub(crate) dice: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] 51 | pub(crate) modifiers: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 52 | pub(crate) value_operators: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub(crate) label: Option<&'a str>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 54 | pub(crate) joining_operator: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DiceRoll` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_dice` is never used [INFO] [stdout] --> src/impls.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 51 | impl DiceRoll<'_> { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 52 | [INFO] [stdout] 53 | fn calculate_dice(dice: &Dice) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.82s [INFO] running `Command { std: "docker" "inspect" "d826af1c03368c85c8161a5518258a93de22510adbd88fcea1ae6e69f95933ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d826af1c03368c85c8161a5518258a93de22510adbd88fcea1ae6e69f95933ec", kill_on_drop: false }` [INFO] [stdout] d826af1c03368c85c8161a5518258a93de22510adbd88fcea1ae6e69f95933ec