[INFO] fetching crate serde_php 0.5.0... [INFO] testing serde_php-0.5.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate serde_php 0.5.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate serde_php 0.5.0 [INFO] finished tweaking crates.io crate serde_php 0.5.0 [INFO] tweaked toml for crates.io crate serde_php 0.5.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate serde_php 0.5.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding bson v0.14.1 (available: v3.0.0) [INFO] [stderr] Adding displaydoc v0.1.7 (available: v0.2.5) [INFO] [stderr] Adding proptest v0.9.6 (available: v1.7.0) [INFO] [stderr] Adding smallvec v0.6.14 (available: v1.15.1) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0841f467ba2fd4f76b3ee1904b656eea7af30d9bdaebcb7f14b019aa1881267 [INFO] running `Command { std: "docker" "start" "-a" "c0841f467ba2fd4f76b3ee1904b656eea7af30d9bdaebcb7f14b019aa1881267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0841f467ba2fd4f76b3ee1904b656eea7af30d9bdaebcb7f14b019aa1881267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0841f467ba2fd4f76b3ee1904b656eea7af30d9bdaebcb7f14b019aa1881267", kill_on_drop: false }` [INFO] [stdout] c0841f467ba2fd4f76b3ee1904b656eea7af30d9bdaebcb7f14b019aa1881267 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 68e8cd9bf50f336a2454a6d210e9d6436f0f915d4c67cadf9f636b039b4a600b [INFO] running `Command { std: "docker" "start" "-a" "68e8cd9bf50f336a2454a6d210e9d6436f0f915d4c67cadf9f636b039b4a600b", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling displaydoc v0.1.7 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_php v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 11 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.22s [INFO] running `Command { std: "docker" "inspect" "68e8cd9bf50f336a2454a6d210e9d6436f0f915d4c67cadf9f636b039b4a600b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68e8cd9bf50f336a2454a6d210e9d6436f0f915d4c67cadf9f636b039b4a600b", kill_on_drop: false }` [INFO] [stdout] 68e8cd9bf50f336a2454a6d210e9d6436f0f915d4c67cadf9f636b039b4a600b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ca821227df9afd8cea0e3fd2605aeb597eeb314928d9fc8ce7739a2a7583e80 [INFO] running `Command { std: "docker" "start" "-a" "4ca821227df9afd8cea0e3fd2605aeb597eeb314928d9fc8ce7739a2a7583e80", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 11 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rusty-fork v0.2.2 [INFO] [stderr] Compiling proptest v0.9.6 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling serde_php v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/error.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Debug, Display)] [INFO] [stdout] | ^------ [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stdout] 11 | pub enum Error { [INFO] [stdout] | ----- `Error` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 14.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4ca821227df9afd8cea0e3fd2605aeb597eeb314928d9fc8ce7739a2a7583e80", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ca821227df9afd8cea0e3fd2605aeb597eeb314928d9fc8ce7739a2a7583e80", kill_on_drop: false }` [INFO] [stdout] 4ca821227df9afd8cea0e3fd2605aeb597eeb314928d9fc8ce7739a2a7583e80 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b8540a7e3d6f3722da0b297be4491a641a52e1b62c0a2ea67e3c1f61e25b4cfc [INFO] running `Command { std: "docker" "start" "-a" "b8540a7e3d6f3722da0b297be4491a641a52e1b62c0a2ea67e3c1f61e25b4cfc", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/error.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Debug, Display)] [INFO] [stderr] | ^------ [INFO] [stderr] | | [INFO] [stderr] | `Display` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_DERIVE_Display_FOR_Error` [INFO] [stderr] 11 | pub enum Error { [INFO] [stderr] | ----- `Error` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Display` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Display` may come from an old version of the `displaydoc` crate, try updating your dependency with `cargo update -p displaydoc` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Display` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `serde_php` (lib) generated 1 warning [INFO] [stderr] warning: `serde_php` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/serde_php-3c2ee7dcd1c756f6) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test de::tests::deserialize_array ... ok [INFO] [stdout] test de::tests::deserialize_bool ... ok [INFO] [stdout] test de::tests::deserialize_array_unordered_with_holes ... ok [INFO] [stdout] test de::tests::deserialize_array_unordered ... ok [INFO] [stdout] test de::tests::deserialize_float ... ok [INFO] [stdout] test de::tests::deserialize_hashmap ... ok [INFO] [stdout] test de::tests::deserialize_variable_length ... ok [INFO] [stdout] test de::tests::deserialize_struct ... ok [INFO] [stdout] test de::tests::deserialize_struct_with_optional ... ok [INFO] [stdout] test ser::tests::serialize_bool ... ok [INFO] [stdout] test ser::tests::serialize_btreemap ... ok [INFO] [stdout] test de::tests::deserialize_string ... ok [INFO] [stdout] test de::tests::deserialize_php_string ... ok [INFO] [stdout] test ser::tests::serialize_integer ... ok [INFO] [stdout] test ser::tests::serialize_php_string ... ok [INFO] [stdout] test ser::tests::serialize_string ... ok [INFO] [stdout] test ser::tests::serialize_float ... ok [INFO] [stdout] test ser::tests::serialize_array ... ok [INFO] [stdout] test de::tests::deserialize_nested ... ok [INFO] [stdout] test de::tests::deserialize_integer ... ok [INFO] [stdout] test ser::tests::serialize_nested ... ok [INFO] [stdout] test ser::tests::serialize_struct ... ok [INFO] [stdout] test ser::tests::serialize_struct_with_optional ... ok [INFO] [stdout] test ser::tests::serialize_unit ... ok [INFO] [stdout] test ser::tests::serialize_variable_length ... ok [INFO] [stdout] test ser::tests::unaffected_by_recursive_type_error ... ok [INFO] [stdout] test tests::roundtrip_newtype ... ok [INFO] [stdout] test tests::roundtrip_char ... ok [INFO] [stdout] test tests::roundtrip_i16 ... ok [INFO] [stdout] test tests::roundtrip_bool ... ok [INFO] [stdout] test tests::roundtrip_i32 ... ok [INFO] [stdout] test tests::roundtrip_u32 ... ok [INFO] [stdout] test tests::roundtrip_i8 ... ok [INFO] [stdout] test tests::roundtrip_same_type_tuple ... ok [INFO] [stdout] test tests::roundtrip_f32 ... ok [INFO] [stdout] test tests::roundtrip_u64 ... ok [INFO] [stdout] test tests::roundtrip_u8 ... ok [INFO] [stdout] test tests::roundtrip_f64 ... ok [INFO] [stdout] test tests::roundtrip_unit ... ok [INFO] [stdout] test tests::roundtrip_i64 ... ok [INFO] [stdout] test tests::roundtrip_u16 ... ok [INFO] [stdout] test tests::roundtrip_option ... ok [INFO] [stdout] test tests::roundtrip_bytes ... ok [INFO] [stdout] test tests::roundtrip_mixed_type_tuple ... ok [INFO] [stdout] test tests::roundtrip_string ... ok [INFO] [stdout] test tests::roundtrip_string_string_hashmap ... ok [INFO] [stderr] Doc-tests serde_php [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 7.21s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/lib.rs - (line 165) ... ok [INFO] [stdout] test src/lib.rs - (line 86) ... ok [INFO] [stdout] test src/lib.rs - (line 117) ... ok [INFO] [stdout] test src/lib.rs - (line 177) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.82s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b8540a7e3d6f3722da0b297be4491a641a52e1b62c0a2ea67e3c1f61e25b4cfc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8540a7e3d6f3722da0b297be4491a641a52e1b62c0a2ea67e3c1f61e25b4cfc", kill_on_drop: false }` [INFO] [stdout] b8540a7e3d6f3722da0b297be4491a641a52e1b62c0a2ea67e3c1f61e25b4cfc