[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuto51942%2Frs-json-parser-sample" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuto51942/rs-json-parser-sample on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-2-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a0e1ff9a04ec40de16a813a91f809971e6b223c4bfe84aa23dea4d8cf8807c1 [INFO] running `Command { std: "docker" "start" "-a" "0a0e1ff9a04ec40de16a813a91f809971e6b223c4bfe84aa23dea4d8cf8807c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a0e1ff9a04ec40de16a813a91f809971e6b223c4bfe84aa23dea4d8cf8807c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a0e1ff9a04ec40de16a813a91f809971e6b223c4bfe84aa23dea4d8cf8807c1", kill_on_drop: false }` [INFO] [stdout] 0a0e1ff9a04ec40de16a813a91f809971e6b223c4bfe84aa23dea4d8cf8807c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73482939cbba0adbb9e2bd06d84e63884df314413b0f41dc73fb6853db53487e [INFO] running `Command { std: "docker" "start" "-a" "73482939cbba0adbb9e2bd06d84e63884df314413b0f41dc73fb6853db53487e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.30 [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" "73482939cbba0adbb9e2bd06d84e63884df314413b0f41dc73fb6853db53487e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73482939cbba0adbb9e2bd06d84e63884df314413b0f41dc73fb6853db53487e", kill_on_drop: false }` [INFO] [stdout] 73482939cbba0adbb9e2bd06d84e63884df314413b0f41dc73fb6853db53487e [INFO] checking yuto51942/rs-json-parser-sample against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyuto51942%2Frs-json-parser-sample" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/yuto51942/rs-json-parser-sample on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-2-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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c57bf5b8ed88d5ab0f24a8f0ab2c8ce2df4d23a526a54e4b2e0c20442de8f84 [INFO] running `Command { std: "docker" "start" "-a" "0c57bf5b8ed88d5ab0f24a8f0ab2c8ce2df4d23a526a54e4b2e0c20442de8f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c57bf5b8ed88d5ab0f24a8f0ab2c8ce2df4d23a526a54e4b2e0c20442de8f84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c57bf5b8ed88d5ab0f24a8f0ab2c8ce2df4d23a526a54e4b2e0c20442de8f84", kill_on_drop: false }` [INFO] [stdout] 0c57bf5b8ed88d5ab0f24a8f0ab2c8ce2df4d23a526a54e4b2e0c20442de8f84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 398883b45c0520ce5dbcfcee9023d15ad7fbcd199a7a4e76a6af7d6b9b1bcc71 [INFO] running `Command { std: "docker" "start" "-a" "398883b45c0520ce5dbcfcee9023d15ad7fbcd199a7a4e76a6af7d6b9b1bcc71", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "398883b45c0520ce5dbcfcee9023d15ad7fbcd199a7a4e76a6af7d6b9b1bcc71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398883b45c0520ce5dbcfcee9023d15ad7fbcd199a7a4e76a6af7d6b9b1bcc71", kill_on_drop: false }` [INFO] [stdout] 398883b45c0520ce5dbcfcee9023d15ad7fbcd199a7a4e76a6af7d6b9b1bcc71