[INFO] fetching crate art_dice 0.4.1... [INFO] testing art_dice-0.4.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate art_dice 0.4.1 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate art_dice 0.4.1 [INFO] finished tweaking crates.io crate art_dice 0.4.1 [INFO] tweaked toml for crates.io crate art_dice 0.4.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate art_dice 0.4.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 2 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3bd43cbed76d5cab856e76c5e47152f7a70c461c34a44554dfaa74d34d035653 [INFO] running `Command { std: "docker" "start" "-a" "3bd43cbed76d5cab856e76c5e47152f7a70c461c34a44554dfaa74d34d035653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3bd43cbed76d5cab856e76c5e47152f7a70c461c34a44554dfaa74d34d035653", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bd43cbed76d5cab856e76c5e47152f7a70c461c34a44554dfaa74d34d035653", kill_on_drop: false }` [INFO] [stdout] 3bd43cbed76d5cab856e76c5e47152f7a70c461c34a44554dfaa74d34d035653 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6252bbcc922787d2e522257ef47731cefd1431f6568188c7f102bf586db874b [INFO] running `Command { std: "docker" "start" "-a" "d6252bbcc922787d2e522257ef47731cefd1431f6568188c7f102bf586db874b", kill_on_drop: false }` [INFO] [stderr] Compiling art_dice v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:104:68 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:112:67 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:120:70 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:128:69 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "d6252bbcc922787d2e522257ef47731cefd1431f6568188c7f102bf586db874b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6252bbcc922787d2e522257ef47731cefd1431f6568188c7f102bf586db874b", kill_on_drop: false }` [INFO] [stdout] d6252bbcc922787d2e522257ef47731cefd1431f6568188c7f102bf586db874b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 74f89795ab50ac70f826d3a735b902d211c19286a43906391d10f1e20dd3bf84 [INFO] running `Command { std: "docker" "start" "-a" "74f89795ab50ac70f826d3a735b902d211c19286a43906391d10f1e20dd3bf84", kill_on_drop: false }` [INFO] [stderr] Compiling art_dice v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:104:68 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:112:67 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:120:70 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:128:69 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:53:64 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:61:65 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:69:64 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stdout] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:96:53 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:104:68 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:112:67 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:120:70 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rolls/mod.rs:128:69 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stdout] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.82s [INFO] running `Command { std: "docker" "inspect" "74f89795ab50ac70f826d3a735b902d211c19286a43906391d10f1e20dd3bf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74f89795ab50ac70f826d3a735b902d211c19286a43906391d10f1e20dd3bf84", kill_on_drop: false }` [INFO] [stdout] 74f89795ab50ac70f826d3a735b902d211c19286a43906391d10f1e20dd3bf84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a2799c76b0c810be13532d3f2a9cc77d33c37238b4f2f58f11951b9a44f28f5 [INFO] running `Command { std: "docker" "start" "-a" "9a2799c76b0c810be13532d3f2a9cc77d33c37238b4f2f58f11951b9a44f28f5", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:53:64 [INFO] [stderr] | [INFO] [stderr] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stderr] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 53 | pub fn exactly_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:61:65 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stderr] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 61 | pub fn at_least_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:69:64 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget { [INFO] [stderr] | -- ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 69 | pub fn at_most_n_of(n: usize, symbols: &'a [DieSymbol]) -> RollTarget<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:96:53 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 96 | pub fn collect_all(symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:104:68 [INFO] [stderr] | [INFO] [stderr] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 104 | pub fn take_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:112:67 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 112 | pub fn take_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:120:70 [INFO] [stderr] | [INFO] [stderr] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 120 | pub fn remove_highest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/rolls/mod.rs:128:69 [INFO] [stderr] | [INFO] [stderr] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy { [INFO] [stderr] | -- ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 128 | pub fn remove_lowest_n_of(n:usize, symbols: &'a [DieSymbol]) -> RollCollectionPolicy<'a> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `art_dice` (lib) generated 8 warnings (run `cargo fix --lib -p art_dice` to apply 8 suggestions) [INFO] [stderr] warning: `art_dice` (lib test) generated 8 warnings (8 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/art_dice-4dcbcc0e5fac0e35) [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test dice::tests::four_sided_die ... ok [INFO] [stdout] test dice::tests::six_sided_die_average ... ok [INFO] [stdout] test dice::tests::ten_sided_die_average ... ok [INFO] [stdout] test rolls::tests::d4_and_d8 ... ok [INFO] [stdout] test rolls::tests::one_d4 ... ok [INFO] [stdout] test rolls::tests::one_d4_compare_two_d4 ... ok [INFO] [stdout] test rolls::tests::one_d8_compare_two_d4 ... ok [INFO] [stdout] test dice::tests::twelve_sided_die ... ok [INFO] [stdout] test rolls::tests::two_d4_compare_two_d4 ... ok [INFO] [stdout] test rolls::tests::three_d4s_remove_lowest_two ... ok [INFO] [stdout] test rolls::tests::three_d4s_remove_highest_two ... ok [INFO] [stdout] test rolls::tests::two_custom_d4_multiple_targets ... ok [INFO] [stdout] test rolls::tests::three_d4s_highest_two ... ok [INFO] [stdout] test rolls::tests::two_d4s ... ok [INFO] [stdout] test rolls::tests::three_d4s_lowest_two ... ok [INFO] [stdout] test rolls::tests::three_d4s ... ok [INFO] [stderr] Doc-tests art_dice [INFO] [stdout] test rolls::tests::four_through_ten ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 15 tests [INFO] [stdout] test src/dice/mod.rs - dice::DieSymbol::new (line 14) ... ok [INFO] [stdout] test src/rolls/mod.rs - rolls::RollProbabilities::new (line 178) ... ok [INFO] [stdout] test src/dice/mod.rs - dice::DieSymbol::name (line 33) ... ok [INFO] [stdout] test src/dice/mod.rs - dice::Die::sides (line 127) ... ok [INFO] [stdout] test src/dice/mod.rs - dice::Die::new (line 102) ... ok [INFO] [stdout] test src/rolls/mod.rs - rolls::RollCompareResult::win_odds (line 345) ... ok [INFO] [stdout] test src/rolls/mod.rs - rolls::RollProbabilities::get_odds (line 222) ... ok [INFO] [stdout] test src/dice/mod.rs - dice::Die::average_of (line 186) ... ok [INFO] [stdout] test src/dice/mod.rs - dice::DieSide::symbols (line 74) ... ok [INFO] [stdout] test src/dice/mod.rs - dice::DieSide::new (line 57) ... ok [INFO] [stdout] test src/rolls/mod.rs - rolls::RollCompareResult::tie_odds (line 375) ... ok [INFO] [stdout] test src/rolls/mod.rs - rolls::RollCompareResult::new (line 323) ... ok [INFO] [stdout] test src/dice/mod.rs - dice::Die::unique_symbols (line 151) ... ok [INFO] [stdout] test src/rolls/mod.rs - rolls::RollCompareResult::loss_odds (line 405) ... ok [INFO] [stdout] test src/rolls/mod.rs - rolls::RollProbabilities::roll_against (line 272) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9a2799c76b0c810be13532d3f2a9cc77d33c37238b4f2f58f11951b9a44f28f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a2799c76b0c810be13532d3f2a9cc77d33c37238b4f2f58f11951b9a44f28f5", kill_on_drop: false }` [INFO] [stdout] 9a2799c76b0c810be13532d3f2a9cc77d33c37238b4f2f58f11951b9a44f28f5