[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 master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuto51942%2Frs-json-parser-sample" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuto51942/rs-json-parser-sample on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-1-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-xid v0.2.2 [INFO] [stderr] Downloaded thiserror v1.0.30 [INFO] [stderr] Downloaded thiserror-impl v1.0.30 [INFO] [stderr] Downloaded quote v1.0.10 [INFO] [stderr] Downloaded proc-macro2 v1.0.30 [INFO] [stderr] Downloaded syn v1.0.80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fa8f8d7b4618291daf6b80e4e4d22aa6de11902c0960c2723f07fda51cc5a203 [INFO] running `Command { std: "docker" "start" "-a" "fa8f8d7b4618291daf6b80e4e4d22aa6de11902c0960c2723f07fda51cc5a203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fa8f8d7b4618291daf6b80e4e4d22aa6de11902c0960c2723f07fda51cc5a203", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa8f8d7b4618291daf6b80e4e4d22aa6de11902c0960c2723f07fda51cc5a203", kill_on_drop: false }` [INFO] [stdout] fa8f8d7b4618291daf6b80e4e4d22aa6de11902c0960c2723f07fda51cc5a203 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36fcb4b451fd1e5cbb14cb5d2c525153a9b0b3971609bfcd5d3e7b645a23822e [INFO] running `Command { std: "docker" "start" "-a" "36fcb4b451fd1e5cbb14cb5d2c525153a9b0b3971609bfcd5d3e7b645a23822e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.80 [INFO] [stderr] Compiling quote v1.0.10 [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] 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 `PartialEq` might be missing for `NodeType` [INFO] [stdout] --> src/value.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum NodeType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `NodeType` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(PartialEq)] [INFO] [stdout] 2 | pub enum NodeType { [INFO] [stdout] | [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] help: consider annotating `NodeType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(Debug)] [INFO] [stdout] 2 | pub enum NodeType { [INFO] [stdout] | [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] help: consider annotating `NodeType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(Debug)] [INFO] [stdout] 2 | pub enum NodeType { [INFO] [stdout] | [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 `PartialEq` might be missing for `NodeType` [INFO] [stdout] --> src/value.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum NodeType { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ must implement `PartialEq` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: consider annotating `NodeType` with `#[derive(PartialEq)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(PartialEq)] [INFO] [stdout] 2 | pub enum NodeType { [INFO] [stdout] | [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] help: consider annotating `NodeType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(Debug)] [INFO] [stdout] 2 | pub enum NodeType { [INFO] [stdout] | [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] help: consider annotating `NodeType` with `#[derive(Debug)]` [INFO] [stdout] | [INFO] [stdout] 1 + #[derive(Debug)] [INFO] [stdout] 2 | pub enum NodeType { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0605]: non-primitive cast: `Box` as `Box` [INFO] [stdout] --> src/value.rs:130:23 [INFO] [stdout] | [INFO] [stdout] 130 | let element = (buf as Box); [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 7 previous errors [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` (lib test) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "36fcb4b451fd1e5cbb14cb5d2c525153a9b0b3971609bfcd5d3e7b645a23822e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36fcb4b451fd1e5cbb14cb5d2c525153a9b0b3971609bfcd5d3e7b645a23822e", kill_on_drop: false }` [INFO] [stdout] 36fcb4b451fd1e5cbb14cb5d2c525153a9b0b3971609bfcd5d3e7b645a23822e [INFO] checking yuto51942/rs-json-parser-sample against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuto51942%2Frs-json-parser-sample" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuto51942/rs-json-parser-sample on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-1-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ee80d50a10f50dc898aabc101a3b2084dae1160bcbaa40fad93dd8048f74b286 [INFO] running `Command { std: "docker" "start" "-a" "ee80d50a10f50dc898aabc101a3b2084dae1160bcbaa40fad93dd8048f74b286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ee80d50a10f50dc898aabc101a3b2084dae1160bcbaa40fad93dd8048f74b286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee80d50a10f50dc898aabc101a3b2084dae1160bcbaa40fad93dd8048f74b286", kill_on_drop: false }` [INFO] [stdout] ee80d50a10f50dc898aabc101a3b2084dae1160bcbaa40fad93dd8048f74b286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08ab3713c776e01ab34e054f926d55b5e62588fa0e8732418ca0218f936ed5e4 [INFO] running `Command { std: "docker" "start" "-a" "08ab3713c776e01ab34e054f926d55b5e62588fa0e8732418ca0218f936ed5e4", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "08ab3713c776e01ab34e054f926d55b5e62588fa0e8732418ca0218f936ed5e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08ab3713c776e01ab34e054f926d55b5e62588fa0e8732418ca0218f936ed5e4", kill_on_drop: false }` [INFO] [stdout] 08ab3713c776e01ab34e054f926d55b5e62588fa0e8732418ca0218f936ed5e4