[INFO] fetching crate ledb 0.4.0... [INFO] checking ledb-0.4.0 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate ledb 0.4.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate ledb 0.4.0 [INFO] finished tweaking crates.io crate ledb 0.4.0 [INFO] tweaked toml for crates.io crate ledb 0.4.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ledb 0.4.0 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--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] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding dirs v2.0.2 (available: v6.0.0) [INFO] [stderr] Adding ordered-float v1.1.1 (available: v5.1.0) [INFO] [stderr] Adding ron v0.6.6 (available: v0.12.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordered-float v1.1.1 [INFO] [stderr] Downloaded bitflags v0.9.1 [INFO] [stderr] Downloaded ledb-derive v0.4.0 [INFO] [stderr] Downloaded ledb-types v0.4.0 [INFO] [stderr] Downloaded supercow v0.1.0 [INFO] [stderr] Downloaded lmdb-zero v0.4.4 [INFO] [stderr] Downloaded ron v0.6.6 [INFO] [stderr] Downloaded liblmdb-sys v0.2.2 [INFO] [stderr] Downloaded dirs v2.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2fd0908e3f8bd49c15708d537be53b7401dca1bcdd989387a63f88681e983930 [INFO] running `Command { std: "docker" "start" "-a" "2fd0908e3f8bd49c15708d537be53b7401dca1bcdd989387a63f88681e983930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2fd0908e3f8bd49c15708d537be53b7401dca1bcdd989387a63f88681e983930", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fd0908e3f8bd49c15708d537be53b7401dca1bcdd989387a63f88681e983930", kill_on_drop: false }` [INFO] [stdout] 2fd0908e3f8bd49c15708d537be53b7401dca1bcdd989387a63f88681e983930 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb6862c35c1ea702521b9c0be5430f019e0a31555df359c8983fc448d92179df [INFO] running `Command { std: "docker" "start" "-a" "cb6862c35c1ea702521b9c0be5430f019e0a31555df359c8983fc448d92179df", kill_on_drop: false }` [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Compiling ledb-derive v0.4.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Checking regex-automata v0.4.13 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking regex v1.12.2 [INFO] [stderr] Checking lmdb-zero v0.4.4 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking ron v0.6.6 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking ledb-types v0.4.0 [INFO] [stderr] Checking ledb v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ledb_derive::*` [INFO] [stdout] --> src/lib.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub use ledb_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:809:52 [INFO] [stdout] | [INFO] [stdout] 809 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cbor`, `default`, `derive`, `json`, and `ledb-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Document` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Document` may come from an old version of the `ledb_derive` crate, try updating your dependency with `cargo update -p ledb_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:824:52 [INFO] [stdout] | [INFO] [stdout] 824 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cbor`, `default`, `derive`, `json`, and `ledb-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Document` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Document` may come from an old version of the `ledb_derive` crate, try updating your dependency with `cargo update -p ledb_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:833:52 [INFO] [stdout] | [INFO] [stdout] 833 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `cbor`, `default`, `derive`, `json`, and `ledb-derive` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Document` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Document` may come from an old version of the `ledb_derive` crate, try updating your dependency with `cargo update -p ledb_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ledb_derive::*` [INFO] [stdout] --> src/lib.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | pub use ledb_derive::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `macros::*` [INFO] [stdout] --> src/lib.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | pub use macros::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/pool.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &STORAGES } { [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &raw const STORAGES } { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/pool.rs:24:38 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &STORAGES } { [INFO] [stdout] | ^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `&raw const` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(storages) = unsafe { &raw const STORAGES } { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:809:52 [INFO] [stdout] | [INFO] [stdout] 809 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Document` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DOCUMENT_FOR_RootDoc` [INFO] [stdout] 810 | struct RootDoc { [INFO] [stdout] | ------- `RootDoc` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Document` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Document` may come from an old version of the `ledb_derive` crate, try updating your dependency with `cargo update -p ledb_derive` [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 `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:824:52 [INFO] [stdout] | [INFO] [stdout] 824 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Document` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DOCUMENT_FOR_MetaData` [INFO] [stdout] 825 | #[document(nested)] [INFO] [stdout] 826 | struct MetaData { [INFO] [stdout] | -------- `MetaData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Document` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Document` may come from an old version of the `ledb_derive` crate, try updating your dependency with `cargo update -p ledb_derive` [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: this warning originates in the derive macro `Document` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:833:52 [INFO] [stdout] | [INFO] [stdout] 833 | #[derive(Debug, Clone, Serialize, Deserialize, Document)] [INFO] [stdout] | ^------- [INFO] [stdout] | | [INFO] [stdout] | `Document` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DOCUMENT_FOR_LinkData` [INFO] [stdout] 834 | #[document(nested)] [INFO] [stdout] 835 | struct LinkData { [INFO] [stdout] | -------- `LinkData` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Document` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Document` may come from an old version of the `ledb_derive` crate, try updating your dependency with `cargo update -p ledb_derive` [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: this warning originates in the derive macro `Document` (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 11.73s [INFO] running `Command { std: "docker" "inspect" "cb6862c35c1ea702521b9c0be5430f019e0a31555df359c8983fc448d92179df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb6862c35c1ea702521b9c0be5430f019e0a31555df359c8983fc448d92179df", kill_on_drop: false }` [INFO] [stdout] cb6862c35c1ea702521b9c0be5430f019e0a31555df359c8983fc448d92179df