[INFO] fetching crate jstr 0.1.1... [INFO] testing jstr-0.1.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate jstr 0.1.1 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate jstr 0.1.1 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 crates.io crate jstr 0.1.1 [INFO] finished tweaking crates.io crate jstr 0.1.1 [INFO] tweaked toml for crates.io crate jstr 0.1.1 written to /workspace/builds/worker-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] ac0d1a8daf0ac6ef49a2d08bc36a3fd7a0046b0816f09b3d86e8c52c659c3036 [INFO] running `Command { std: "docker" "start" "-a" "ac0d1a8daf0ac6ef49a2d08bc36a3fd7a0046b0816f09b3d86e8c52c659c3036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0d1a8daf0ac6ef49a2d08bc36a3fd7a0046b0816f09b3d86e8c52c659c3036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0d1a8daf0ac6ef49a2d08bc36a3fd7a0046b0816f09b3d86e8c52c659c3036", kill_on_drop: false }` [INFO] [stdout] ac0d1a8daf0ac6ef49a2d08bc36a3fd7a0046b0816f09b3d86e8c52c659c3036 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/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] 9416353f8afe1708f759f2393daef2c3ce893a449f93eef69a64c29231b325c9 [INFO] running `Command { std: "docker" "start" "-a" "9416353f8afe1708f759f2393daef2c3ce893a449f93eef69a64c29231b325c9", kill_on_drop: false }` [INFO] [stderr] Compiling jstr v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `std::option::NoneError` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::option::NoneError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ no `NoneError` in `option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NoneError` in module `std::option` [INFO] [stdout] --> src/lib.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^ not found in `std::option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Display`, `Formatter` [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Display, Formatter}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/lib.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/lib.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/lib.rs:67:29 [INFO] [stdout] | [INFO] [stdout] 62 | / fn get_str(s: &str) -> Result<(&str, &str), Error> { [INFO] [stdout] 63 | | let mut esc = false; [INFO] [stdout] 64 | | let mut index: usize = 0; [INFO] [stdout] 65 | | let mut valid = false; [INFO] [stdout] 66 | | [INFO] [stdout] 67 | | let c = s.chars().nth(0)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(&str, &str), Error>` [INFO] [stdout] ... | [INFO] [stdout] 96 | | } [INFO] [stdout] 97 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(&str, &str), Error>` [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/lib.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 99 | / fn get_num(s: &str) -> Result<(&str, &str), Error> { [INFO] [stdout] 100 | | let c = s.chars().nth(0)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(&str, &str), Error>` [INFO] [stdout] 101 | | if !(c.is_digit(10) || c == '-') { [INFO] [stdout] 102 | | return Err(Error::new(c, 0)); [INFO] [stdout] ... | [INFO] [stdout] 109 | | return Err(Error::NoEnd); [INFO] [stdout] 110 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(&str, &str), Error>` [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/lib.rs:128:31 [INFO] [stdout] | [INFO] [stdout] 124 | / fn get_object(s: &str) -> Result<(Object, &str), Error> { [INFO] [stdout] 125 | | let mut cur_s = &s[1..]; [INFO] [stdout] 126 | | let mut object = vec![]; [INFO] [stdout] 127 | | [INFO] [stdout] 128 | | while cur_s.chars().nth(0)? != '}' { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(Box<[Entry<'_>]>, &str), Error>` [INFO] [stdout] ... | [INFO] [stdout] 135 | | return Ok((Object::from(object), &cur_s[1..])); [INFO] [stdout] 136 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(Box<[Entry<'_>]>, &str), Error>` [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/lib.rs:142:31 [INFO] [stdout] | [INFO] [stdout] 138 | / fn get_array(s: &str) -> Result<(Array, &str), Error> { [INFO] [stdout] 139 | | let mut cur_s = &s[1..]; [INFO] [stdout] 140 | | let mut array = vec![]; [INFO] [stdout] 141 | | [INFO] [stdout] 142 | | while cur_s.chars().nth(0)? != ']' { [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(Box<[Value<'_>]>, &str), Error>` [INFO] [stdout] ... | [INFO] [stdout] 149 | | return Ok((Array::from(array), &cur_s[1..])); [INFO] [stdout] 150 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(Box<[Value<'_>]>, &str), Error>` [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/lib.rs:157:29 [INFO] [stdout] | [INFO] [stdout] 156 | / fn get_value(s: &str) -> Result<(Value, &str), Error> { [INFO] [stdout] 157 | | let c = s.chars().nth(0)?; [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result<(Value<'_>, &str), Error>` [INFO] [stdout] 158 | | [INFO] [stdout] 159 | | if c == '"' { [INFO] [stdout] ... | [INFO] [stdout] 191 | | return Err(Error::BadChar(c, 0)); [INFO] [stdout] 192 | | } [INFO] [stdout] | |_- this function returns a `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result<(Value<'_>, &str), Error>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0554, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jstr` due to 10 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9416353f8afe1708f759f2393daef2c3ce893a449f93eef69a64c29231b325c9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9416353f8afe1708f759f2393daef2c3ce893a449f93eef69a64c29231b325c9", kill_on_drop: false }` [INFO] [stdout] 9416353f8afe1708f759f2393daef2c3ce893a449f93eef69a64c29231b325c9