[INFO] fetching crate kbw 0.1.7...
[INFO] checking kbw-0.1.7 against master#c2f2db79ca3024f68d22b45aa22b570775c2c4ad for pr-124157
[INFO] extracting crate kbw 0.1.7 into /workspace/builds/worker-7-tc1/source
[INFO] validating manifest of crates.io crate kbw 0.1.7 on toolchain c2f2db79ca3024f68d22b45aa22b570775c2c4ad
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate kbw 0.1.7
[INFO] finished tweaking crates.io crate kbw 0.1.7
[INFO] tweaked toml for crates.io crate kbw 0.1.7 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 39 packages to latest compatible versions
[INFO] [stderr]       Adding itertools v0.10.5 (latest: v0.12.1)
[INFO] [stderr]       Adding libket v0.3.1 (latest: v0.4.0)
[INFO] [stderr]       Adding num-derive v0.3.3 (latest: v0.4.2)
[INFO] [stderr]       Adding syn v1.0.109 (latest: v2.0.60)
[INFO] [stderr]       Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded libket v0.3.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa907027aebf351fd0a53549e19d345d9a4ea402d0ce2f0c92ff8f0e24bbab55
[INFO] running `Command { std: "docker" "start" "-a" "fa907027aebf351fd0a53549e19d345d9a4ea402d0ce2f0c92ff8f0e24bbab55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa907027aebf351fd0a53549e19d345d9a4ea402d0ce2f0c92ff8f0e24bbab55", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa907027aebf351fd0a53549e19d345d9a4ea402d0ce2f0c92ff8f0e24bbab55", kill_on_drop: false }`
[INFO] [stdout] fa907027aebf351fd0a53549e19d345d9a4ea402d0ce2f0c92ff8f0e24bbab55
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:99613afd962a8cfa530ec1899472a458bd015a1ab0af876cf7eb06f6006d81ea" "/opt/rustwide/cargo-home/bin/cargo" "+c2f2db79ca3024f68d22b45aa22b570775c2c4ad" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3cf175ddd86e9fa89fd9129816a1bef4e8ffb0dcb014564d839e3764e4b335bb
[INFO] running `Command { std: "docker" "start" "-a" "3cf175ddd86e9fa89fd9129816a1bef4e8ffb0dcb014564d839e3764e4b335bb", kill_on_drop: false }`
[INFO] [stderr]     Checking getrandom v0.2.14
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling syn v2.0.60
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking num-bigint v0.4.4
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking twox-hash v1.6.3
[INFO] [stderr]     Checking num-rational v0.4.1
[INFO] [stderr]     Checking num v0.4.2
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling serde_derive v1.0.200
[INFO] [stderr]     Checking serde v1.0.200
[INFO] [stderr]     Checking serde_json v1.0.116
[INFO] [stderr]     Checking bincode v1.3.3
[INFO] [stderr]     Checking libket v0.3.1
[INFO] [stderr]     Checking kbw v0.1.7 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0599]: no variant or associated item named `JSON` found for enum `DataType` in the current scope
[INFO] [stdout]    --> src/dense.rs:508:50
[INFO] [stdout]     |
[INFO] [stdout] 508 |         p.serialize_metrics(serialize::DataType::JSON);
[INFO] [stdout]     |                                                  ^^^^
[INFO] [stdout]     |                                                  |
[INFO] [stdout]     |                                                  variant or associated item not found in `DataType`
[INFO] [stdout]     |                                                  help: there is a variant with a similar name: `Json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JSON` found for enum `DataType` in the current scope
[INFO] [stdout]    --> src/dense.rs:509:55
[INFO] [stdout]     |
[INFO] [stdout] 509 |         p.serialize_quantum_code(serialize::DataType::JSON);
[INFO] [stdout]     |                                                       ^^^^
[INFO] [stdout]     |                                                       |
[INFO] [stdout]     |                                                       variant or associated item not found in `DataType`
[INFO] [stdout]     |                                                       help: there is a variant with a similar name: `Json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JSON` found for enum `SerializedData` in the current scope
[INFO] [stdout]    --> src/dense.rs:512:47
[INFO] [stdout]     |
[INFO] [stdout] 512 |             if let serialize::SerializedData::JSON(data) = p.get_serialized_metrics().unwrap() {
[INFO] [stdout]     |                                               ^^^^
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               variant or associated item not found in `SerializedData`
[INFO] [stdout]     |                                               help: there is a variant with a similar name: `Json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no variant or associated item named `JSON` found for enum `SerializedData` in the current scope
[INFO] [stdout]    --> src/dense.rs:519:62
[INFO] [stdout]     |
[INFO] [stdout] 519 |         let quantum_code = if let serialize::SerializedData::JSON(data) =
[INFO] [stdout]     |                                                              ^^^^
[INFO] [stdout]     |                                                              |
[INFO] [stdout]     |                                                              variant or associated item not found in `SerializedData`
[INFO] [stdout]     |                                                              help: there is a variant with a similar name: `Json`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/c_api.rs:26:17
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                 ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_SimMode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]   --> src/c_api.rs:26:32
[INFO] [stdout]    |
[INFO] [stdout] 26 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]    |                                ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_SimMode`
[INFO] [stdout]    = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]    = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]    = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `Box::<T>::from_raw` that must be used
[INFO] [stdout]    --> src/c_api.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { Box::from_raw(result) };
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box`
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { let _ = Box::from_raw(result); };
[INFO] [stdout]     |              +++++++                      +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/error.rs:6:17
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                 ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_FromPrimitive_FOR_KBWError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, they should be avoided as they go against expectation
[INFO] [stdout]  --> src/error.rs:6:32
[INFO] [stdout]   |
[INFO] [stdout] 6 | #[derive(Debug, FromPrimitive, ToPrimitive)]
[INFO] [stdout]   |                                ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = help: move this `impl` block outside the of the current constant `_IMPL_NUM_ToPrimitive_FOR_KBWError`
[INFO] [stdout]   = note: an `impl` definition is non-local if it is nested inside an item and may impact type checking outside of that item. This can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: one exception to the rule are anon-const (`const _: () = { ... }`) at top-level module and anon-const at the same nesting as the trait or type
[INFO] [stdout]   = note: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue <https://github.com/rust-lang/rust/issues/120363>
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 5 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `kbw` (lib test) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "3cf175ddd86e9fa89fd9129816a1bef4e8ffb0dcb014564d839e3764e4b335bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3cf175ddd86e9fa89fd9129816a1bef4e8ffb0dcb014564d839e3764e4b335bb", kill_on_drop: false }`
[INFO] [stdout] 3cf175ddd86e9fa89fd9129816a1bef4e8ffb0dcb014564d839e3764e4b335bb
