[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdecentninja%2Froleplaying-dice" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/decentninja/roleplaying-dice on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-3/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" "+beta-2022-04-10" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e987e370c6e7daf300181a1dbcdddf9344da1b004b044a212298d950e94c716 [INFO] running `Command { std: "docker" "start" "-a" "7e987e370c6e7daf300181a1dbcdddf9344da1b004b044a212298d950e94c716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e987e370c6e7daf300181a1dbcdddf9344da1b004b044a212298d950e94c716", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e987e370c6e7daf300181a1dbcdddf9344da1b004b044a212298d950e94c716", kill_on_drop: false }` [INFO] [stdout] 7e987e370c6e7daf300181a1dbcdddf9344da1b004b044a212298d950e94c716 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef6b8d84915aef7f546df5d9058b0e8ac594ebbb28e21f59cb444b83c62e9f4c [INFO] running `Command { std: "docker" "start" "-a" "ef6b8d84915aef7f546df5d9058b0e8ac594ebbb28e21f59cb444b83c62e9f4c", kill_on_drop: false }` [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 beta release channel [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_trait)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `try_trait` [INFO] [stdout] --> src/main.rs:1:12 [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] [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] [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] [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] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0554, E0635. [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 9 previous errors [INFO] running `Command { std: "docker" "inspect" "ef6b8d84915aef7f546df5d9058b0e8ac594ebbb28e21f59cb444b83c62e9f4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef6b8d84915aef7f546df5d9058b0e8ac594ebbb28e21f59cb444b83c62e9f4c", kill_on_drop: false }` [INFO] [stdout] ef6b8d84915aef7f546df5d9058b0e8ac594ebbb28e21f59cb444b83c62e9f4c