[INFO] cloning repository https://github.com/decentninja/roleplaying-dice [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/decentninja/roleplaying-dice" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2Froleplaying-dice", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2Froleplaying-dice'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 69d9a031eb75043b67382ad3fcc62b6f822889a9 [INFO] checking decentninja/roleplaying-dice against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2Froleplaying-dice" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/decentninja/roleplaying-dice on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/decentninja/roleplaying-dice [INFO] finished tweaking git repo https://github.com/decentninja/roleplaying-dice [INFO] tweaked toml for git repo https://github.com/decentninja/roleplaying-dice written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/decentninja/roleplaying-dice already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19c3534bb55f2d7fe6491245636a6ae93e8393520d65fc0caa53d578bbea2b7c [INFO] running `Command { std: "docker" "start" "-a" "19c3534bb55f2d7fe6491245636a6ae93e8393520d65fc0caa53d578bbea2b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19c3534bb55f2d7fe6491245636a6ae93e8393520d65fc0caa53d578bbea2b7c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c3534bb55f2d7fe6491245636a6ae93e8393520d65fc0caa53d578bbea2b7c", kill_on_drop: false }` [INFO] [stdout] 19c3534bb55f2d7fe6491245636a6ae93e8393520d65fc0caa53d578bbea2b7c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c274a5c91cf86ed1da5a45dbec907976232a9fae383cb81b8a987d0cb9bdc723 [INFO] running `Command { std: "docker" "start" "-a" "c274a5c91cf86ed1da5a45dbec907976232a9fae383cb81b8a987d0cb9bdc723", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.34 [INFO] [stderr] Checking rand v0.4.1 [INFO] [stderr] Checking sharp-dice v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/main.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | impl From for CommandError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/main.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | fn from(_: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/main.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 63 | impl From for CommandError { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/main.rs:64:29 [INFO] [stdout] | [INFO] [stdout] 64 | fn from(_: std::option::NoneError) -> Self { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 83 | | parts.next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 89 | | let your_bonus = parts.next()?.parse::()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 90 | | let enemy_bonus = parts.next()?.parse::()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 109 | | let dc = parts.next()?.parse::()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sharp-dice` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 83 | | parts.next()? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:89:42 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 89 | | let your_bonus = parts.next()?.parse::()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:90:43 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 90 | | let enemy_bonus = parts.next()?.parse::()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/main.rs:109:34 [INFO] [stdout] | [INFO] [stdout] 75 | / fn command(line: String, last: &str, rng: &mut rand::ThreadRng) -> Result { [INFO] [stdout] 76 | | let mut this = line.to_string(); [INFO] [stdout] 77 | | let mut parts = line.split_whitespace(); [INFO] [stdout] 78 | | let command = match parts.next() { [INFO] [stdout] ... | [INFO] [stdout] 109 | | let dc = parts.next()?.parse::()?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result` [INFO] [stdout] ... | [INFO] [stdout] 131 | | Ok(this) [INFO] [stdout] 132 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c274a5c91cf86ed1da5a45dbec907976232a9fae383cb81b8a987d0cb9bdc723", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c274a5c91cf86ed1da5a45dbec907976232a9fae383cb81b8a987d0cb9bdc723", kill_on_drop: false }` [INFO] [stdout] c274a5c91cf86ed1da5a45dbec907976232a9fae383cb81b8a987d0cb9bdc723