[INFO] fetching crate jstr 0.1.1...
[INFO] testing jstr-0.1.1 against beta-2021-08-01 for beta-1.55-1
[INFO] extracting crate jstr 0.1.1 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate jstr 0.1.1 on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "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-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 229bc2f40c4a1b63a785d3e430a10a61338e9011af360b48615014bb926de55b
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "229bc2f40c4a1b63a785d3e430a10a61338e9011af360b48615014bb926de55b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "229bc2f40c4a1b63a785d3e430a10a61338e9011af360b48615014bb926de55b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "229bc2f40c4a1b63a785d3e430a10a61338e9011af360b48615014bb926de55b", kill_on_drop: false }`
[INFO] [stdout] 229bc2f40c4a1b63a785d3e430a10a61338e9011af360b48615014bb926de55b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] a74f72a378742cbcdf43cf28c6727a3046c8d27a77ed97d1b5b5d65f959d6a1b
[INFO] running `Command { std: "docker" "start" "-a" "a74f72a378742cbcdf43cf28c6727a3046c8d27a77ed97d1b5b5d65f959d6a1b", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[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<std::option::NoneError> for Error {
[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/lib.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(try_trait)]
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^
[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[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<Option<Infallible>>` is not implemented for `Result<(&str, &str), Error>`
[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/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<Option<Infallible>>` is not implemented for `Result<(&str, &str), Error>`
[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/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<Option<Infallible>>` is not implemented for `Result<(Box<[Entry<'_>]>, &str), Error>`
[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/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<Option<Infallible>>` is not implemented for `Result<(Box<[Value<'_>]>, &str), Error>`
[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/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<Option<Infallible>>` is not implemented for `Result<(Value<'_>, &str), Error>`
[INFO] [stdout] note: required by `from_residual`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0554.
[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 9 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "a74f72a378742cbcdf43cf28c6727a3046c8d27a77ed97d1b5b5d65f959d6a1b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a74f72a378742cbcdf43cf28c6727a3046c8d27a77ed97d1b5b5d65f959d6a1b", kill_on_drop: false }`
[INFO] [stdout] a74f72a378742cbcdf43cf28c6727a3046c8d27a77ed97d1b5b5d65f959d6a1b
