[INFO] cloning repository https://github.com/legacyofmu/dice
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/legacyofmu/dice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegacyofmu%2Fdice", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegacyofmu%2Fdice'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 71f0724d6c938655da6dc6b78e4bc7faf8c0f1f5
[INFO] checking legacyofmu/dice against try#987a165cfab916796a8315782b83ac460a651ce2 for pr-145262
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flegacyofmu%2Fdice" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/legacyofmu/dice
[INFO] finished tweaking git repo https://github.com/legacyofmu/dice
[INFO] tweaked toml for git repo https://github.com/legacyofmu/dice written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/legacyofmu/dice on toolchain 987a165cfab916796a8315782b83ac460a651ce2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/legacyofmu/dice 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" "+987a165cfab916796a8315782b83ac460a651ce2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rounded-div v0.1.3
[INFO] [stderr]   Downloaded fraction v0.11.2
[INFO] [stderr]   Downloaded dices v0.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2bf429e531e54e3ec5f31aab83aba1e0f1c227e8730cf4c6d88446f57e148dce
[INFO] running `Command { std: "docker" "start" "-a" "2bf429e531e54e3ec5f31aab83aba1e0f1c227e8730cf4c6d88446f57e148dce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2bf429e531e54e3ec5f31aab83aba1e0f1c227e8730cf4c6d88446f57e148dce", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bf429e531e54e3ec5f31aab83aba1e0f1c227e8730cf4c6d88446f57e148dce", kill_on_drop: false }`
[INFO] [stdout] 2bf429e531e54e3ec5f31aab83aba1e0f1c227e8730cf4c6d88446f57e148dce
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+987a165cfab916796a8315782b83ac460a651ce2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 123a14b39597b303256eb895362a647010d2edef8ebcc8609a5afc9cec1d852c
[INFO] running `Command { std: "docker" "start" "-a" "123a14b39597b303256eb895362a647010d2edef8ebcc8609a5afc9cec1d852c", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling wasm-bindgen-shared v0.2.100
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling zerocopy v0.8.25
[INFO] [stderr]    Compiling bumpalo v3.17.0
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling wasm-bindgen v0.2.100
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking anstyle v1.0.10
[INFO] [stderr]     Checking anstyle-query v1.1.2
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]     Checking colorchoice v1.0.3
[INFO] [stderr]     Checking anstyle-parse v0.2.6
[INFO] [stderr]     Checking clap_lex v0.7.4
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking rounded-div v0.1.3
[INFO] [stderr]     Checking anstream v0.6.18
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking clap_builder v4.5.38
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking num-complex v0.4.6
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking num-iter v0.1.45
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking num-rational v0.4.2
[INFO] [stderr]    Compiling wasm-bindgen-backend v0.2.100
[INFO] [stderr]     Checking num v0.4.3
[INFO] [stderr]     Checking fraction v0.11.2
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]    Compiling wasm-bindgen-macro v0.2.100
[INFO] [stderr]     Checking js-sys v0.3.77
[INFO] [stderr]     Checking dices v0.3.0
[INFO] [stderr]     Checking dice v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[clap(short, long, default_value = "2")]
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find derive macro `Parser` in this scope
[INFO] [stdout]  --> src/main.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Parser)]
[INFO] [stdout]   |          ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Parser` is imported here, but it is only a trait, without a derive macro
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use clap::Parser;
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find attribute `clap` in this scope
[INFO] [stdout]  --> src/main.rs:8:7
[INFO] [stdout]   |
[INFO] [stdout] 8 |     #[clap(short, long, default_value = "2")]
[INFO] [stdout]   |       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `clap` is in scope, but it is a crate, not an attribute
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Cli {
[INFO] [stdout]    | ---------- function or associated item `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let args = Cli::parse();
[INFO] [stdout]    |                     ^^^^^ function or associated item not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `parse` found for struct `Cli` in the current scope
[INFO] [stdout]   --> src/main.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Cli {
[INFO] [stdout]    | ---------- function or associated item `parse` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 46 |     let args = Cli::parse();
[INFO] [stdout]    |                     ^^^^^ function or associated item not found in `Cli`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `parse`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Parser`
[INFO] [stdout]            candidate #2: `TypedValueParser`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `distribution` found for struct `Dice` in the current scope
[INFO] [stdout]   --> src/main.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let expected_dist = dice.distribution();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `distribution` found for struct `Dice` in the current scope
[INFO] [stdout]   --> src/main.rs:83:34
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let expected_dist = dice.distribution();
[INFO] [stdout]    |                                  ^^^^^^^^^^^^-- help: remove the arguments
[INFO] [stdout]    |                                  |
[INFO] [stdout]    |                                  field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   --> src/main.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn main() -> anyhow::Result<()> {
[INFO] [stdout]    |              ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]   --> src/main.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | fn main() -> anyhow::Result<()> {
[INFO] [stdout]    |              ^^^^^^ use of unresolved module or unlinked crate `anyhow`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `anyhow`, use `cargo add anyhow` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dice` (bin "dice") due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `dice` (bin "dice" test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "123a14b39597b303256eb895362a647010d2edef8ebcc8609a5afc9cec1d852c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "123a14b39597b303256eb895362a647010d2edef8ebcc8609a5afc9cec1d852c", kill_on_drop: false }`
[INFO] [stdout] 123a14b39597b303256eb895362a647010d2edef8ebcc8609a5afc9cec1d852c
