[INFO] cloning repository https://github.com/yuto51942/rs-json-parser-sample
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yuto51942/rs-json-parser-sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuto51942%2Frs-json-parser-sample", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuto51942%2Frs-json-parser-sample'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f5e6b928261360dbeed24121c726d98b483b68a9
[INFO] checking yuto51942/rs-json-parser-sample against beta-2021-10-15 for beta-1.56-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuto51942%2Frs-json-parser-sample" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/yuto51942/rs-json-parser-sample on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/yuto51942/rs-json-parser-sample
[INFO] finished tweaking git repo https://github.com/yuto51942/rs-json-parser-sample
[INFO] tweaked toml for git repo https://github.com/yuto51942/rs-json-parser-sample written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/yuto51942/rs-json-parser-sample already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cc38e5a57af25398bb3834096b58993a694d5c0e4dd7afd6217fad16547b61ab
[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" "cc38e5a57af25398bb3834096b58993a694d5c0e4dd7afd6217fad16547b61ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cc38e5a57af25398bb3834096b58993a694d5c0e4dd7afd6217fad16547b61ab", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cc38e5a57af25398bb3834096b58993a694d5c0e4dd7afd6217fad16547b61ab", kill_on_drop: false }`
[INFO] [stdout] cc38e5a57af25398bb3834096b58993a694d5c0e4dd7afd6217fad16547b61ab
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--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] 173a01c1b1107cced691e5271ed5bea5a38e953bca1f71ccb20e550b2e7cb6e5
[INFO] running `Command { std: "docker" "start" "-a" "173a01c1b1107cced691e5271ed5bea5a38e953bca1f71ccb20e550b2e7cb6e5", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stderr]     Checking json_parser v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/value.rs:130:23
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let element = (buf as Box<dyn ListElement>);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/parser.rs:25:16
[INFO] [stdout]    |
[INFO] [stdout] 25 | fn start_brace(body: &mut Body) -> Option<Box<dyn value::Node>> {
[INFO] [stdout]    |                ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `body`
[INFO] [stdout]   --> src/parser.rs:29:18
[INFO] [stdout]    |
[INFO] [stdout] 29 | fn start_bracket(body: &mut Body) -> Option<Box<dyn value::Node>> {
[INFO] [stdout]    |                  ^^^^ help: if this is intentional, prefix it with an underscore: `_body`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_text`
[INFO] [stdout]   --> src/body.rs:83:12
[INFO] [stdout]    |
[INFO] [stdout] 83 |     pub fn get_text(&mut self) -> Result<String, Box<dyn Error>> {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `is_end_brace`
[INFO] [stdout]   --> src/symbol.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub fn is_end_brace(target: &u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `is_end_bracket`
[INFO] [stdout]   --> src/symbol.rs:36:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub fn is_end_bracket(target: &u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `is_comma`
[INFO] [stdout]   --> src/symbol.rs:46:8
[INFO] [stdout]    |
[INFO] [stdout] 46 | pub fn is_comma(target: &u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `is_colon`
[INFO] [stdout]   --> src/symbol.rs:56:8
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub fn is_colon(target: &u8) -> bool {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/value.rs:29:8
[INFO] [stdout]    |
[INFO] [stdout] 29 |     fn new(value: &'a str) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `add`
[INFO] [stdout]   --> src/value.rs:52:8
[INFO] [stdout]    |
[INFO] [stdout] 52 |     fn add(&mut self, value: Box<dyn Node>) {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new`
[INFO] [stdout]   --> src/value.rs:75:8
[INFO] [stdout]    |
[INFO] [stdout] 75 |     fn new(key: &'a str, value: Box<dyn Node>) -> Self {
[INFO] [stdout]    |        ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NodeType`
[INFO] [stdout]    --> src/value.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         assert_eq!(map.get_type(), NodeType::HashMap);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         NodeType
[INFO] [stdout]     |         NodeType
[INFO] [stdout]     |
[INFO] [stdout]     = note: an implementation of `std::cmp::PartialEq` might be missing for `NodeType`
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `NodeType` doesn't implement `Debug`
[INFO] [stdout]    --> src/value.rs:124:9
[INFO] [stdout]     |
[INFO] [stdout] 124 |         assert_eq!(map.get_type(), NodeType::HashMap);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NodeType` cannot be formatted using `{:?}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Debug` is not implemented for `NodeType`
[INFO] [stdout]     = note: add `#[derive(Debug)]` to `NodeType` or manually `impl Debug for NodeType`
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `NodeType`
[INFO] [stdout]    --> src/value.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_eq!(buf.get_type(), NodeType::List);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         NodeType
[INFO] [stdout]     |         NodeType
[INFO] [stdout]     |
[INFO] [stdout]     = note: an implementation of `std::cmp::PartialEq` might be missing for `NodeType`
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `NodeType` doesn't implement `Debug`
[INFO] [stdout]    --> src/value.rs:128:9
[INFO] [stdout]     |
[INFO] [stdout] 128 |         assert_eq!(buf.get_type(), NodeType::List);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `NodeType` cannot be formatted using `{:?}`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `Debug` is not implemented for `NodeType`
[INFO] [stdout]     = note: add `#[derive(Debug)]` to `NodeType` or manually `impl Debug for NodeType`
[INFO] [stdout]     = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0605]: non-primitive cast: `Box<dyn Node>` as `Box<dyn ListElement>`
[INFO] [stdout]    --> src/value.rs:130:23
[INFO] [stdout]     |
[INFO] [stdout] 130 |         let element = (buf as Box<dyn ListElement>);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ an `as` expression can only be used to convert between primitive types or to coerce to a specific trait object
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0369, E0605.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `json_parser` due to 6 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "173a01c1b1107cced691e5271ed5bea5a38e953bca1f71ccb20e550b2e7cb6e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "173a01c1b1107cced691e5271ed5bea5a38e953bca1f71ccb20e550b2e7cb6e5", kill_on_drop: false }`
[INFO] [stdout] 173a01c1b1107cced691e5271ed5bea5a38e953bca1f71ccb20e550b2e7cb6e5
