[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] testing decentninja/roleplaying-dice against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2Froleplaying-dice" "/workspace/builds/worker-101/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-101/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/decentninja/roleplaying-dice on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-101/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" "+1.55.0" "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 fuchsia-zircon-sys v0.3.2 [INFO] [stderr] Downloaded fuchsia-zircon v0.3.2 [INFO] [stderr] Downloaded rand v0.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 118df8871e34544ceb58e395bf0949ad0392a8435318a2cc6a285ac46bd4d2ad [INFO] running `Command { std: "docker" "start" "-a" "118df8871e34544ceb58e395bf0949ad0392a8435318a2cc6a285ac46bd4d2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "118df8871e34544ceb58e395bf0949ad0392a8435318a2cc6a285ac46bd4d2ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "118df8871e34544ceb58e395bf0949ad0392a8435318a2cc6a285ac46bd4d2ad", kill_on_drop: false }` [INFO] [stdout] 118df8871e34544ceb58e395bf0949ad0392a8435318a2cc6a285ac46bd4d2ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-101/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=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4b2bea487b4303e1cfa1a5866d4d148027179e742eaa4c96444d2f44be91890 [INFO] running `Command { std: "docker" "start" "-a" "e4b2bea487b4303e1cfa1a5866d4d148027179e742eaa4c96444d2f44be91890", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.34 [INFO] [stderr] Compiling rand v0.4.1 [INFO] [stderr] Compiling 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[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sharp-dice` due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "e4b2bea487b4303e1cfa1a5866d4d148027179e742eaa4c96444d2f44be91890", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4b2bea487b4303e1cfa1a5866d4d148027179e742eaa4c96444d2f44be91890", kill_on_drop: false }` [INFO] [stdout] e4b2bea487b4303e1cfa1a5866d4d148027179e742eaa4c96444d2f44be91890