[INFO] fetching crate jstr 0.1.1...
[INFO] checking jstr-0.1.1 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate jstr 0.1.1 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate jstr 0.1.1 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "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-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 56cf1a6bc53ce973981089246514389b5ebd68a04d104019ba4091742543d061
[INFO] running `Command { std: "docker" "start" "-a" "56cf1a6bc53ce973981089246514389b5ebd68a04d104019ba4091742543d061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "56cf1a6bc53ce973981089246514389b5ebd68a04d104019ba4091742543d061", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56cf1a6bc53ce973981089246514389b5ebd68a04d104019ba4091742543d061", kill_on_drop: false }`
[INFO] [stdout] 56cf1a6bc53ce973981089246514389b5ebd68a04d104019ba4091742543d061
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "RUSTDOCFLAGS=--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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f049c0455b85fa45d63e157512793c2706b79dd684f18f15f4a156e13b274262
[INFO] running `Command { std: "docker" "start" "-a" "f049c0455b85fa45d63e157512793c2706b79dd684f18f15f4a156e13b274262", kill_on_drop: false }`
[INFO] [stderr]     Checking 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[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] warning: unused imports: `Display` and `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[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[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] warning: unused imports: `Display` and `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[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]    | -------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[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]    = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(&str, &str), Error>`
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | -------------------------------------------------- this function returns a `Result`
[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]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(&str, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | ------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[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]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(Box<[Entry<'_>]>, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]    | -------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[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]    = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(&str, &str), Error>`
[INFO] [stdout]    = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | ----------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[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]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(Box<[Value<'_>]>, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | -------------------------------------------------- this function returns a `Result`
[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]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(&str, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | ----------------------------------------------------- this function returns a `Result`
[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]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(Value<'_>, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | ------------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[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]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(Box<[Entry<'_>]>, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | ----------------------------------------------------- this function returns a `Result`
[INFO] [stdout] ...
[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]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(Box<[Value<'_>]>, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[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]     | ----------------------------------------------------- this function returns a `Result`
[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]     |
[INFO] [stdout]     = help: the trait `FromResidual<Option<Infallible>>` is not implemented for `Result<(Value<'_>, &str), Error>`
[INFO] [stdout]     = help: the trait `FromResidual<Result<Infallible, E>>` is implemented for `Result<T, F>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jstr` (lib) due to 8 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0432, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `jstr` (lib test) due to 8 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f049c0455b85fa45d63e157512793c2706b79dd684f18f15f4a156e13b274262", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f049c0455b85fa45d63e157512793c2706b79dd684f18f15f4a156e13b274262", kill_on_drop: false }`
[INFO] [stdout] f049c0455b85fa45d63e157512793c2706b79dd684f18f15f4a156e13b274262
