[INFO] fetching crate ledb 0.4.0... [INFO] checking ledb-0.4.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate ledb 0.4.0 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ledb 0.4.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 47 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.0.0) [INFO] [stderr] Adding ron v0.6.6 (available: v0.10.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ef2665f676f9efa75d273c1aa255171e0ff5164f9c069a81cbcc38e4ae4d037 [INFO] running `Command { std: "docker" "start" "-a" "3ef2665f676f9efa75d273c1aa255171e0ff5164f9c069a81cbcc38e4ae4d037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ef2665f676f9efa75d273c1aa255171e0ff5164f9c069a81cbcc38e4ae4d037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ef2665f676f9efa75d273c1aa255171e0ff5164f9c069a81cbcc38e4ae4d037", kill_on_drop: false }` [INFO] [stdout] 3ef2665f676f9efa75d273c1aa255171e0ff5164f9c069a81cbcc38e4ae4d037 [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=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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 467973df1d8498b89d13df7bda234ccae97ab1a557002eaac09d281c6be4ed1d [INFO] running `Command { std: "docker" "start" "-a" "467973df1d8498b89d13df7bda234ccae97ab1a557002eaac09d281c6be4ed1d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking supercow v0.1.0 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking dunce v1.0.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling liblmdb-sys v0.2.2 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Compiling ledb-derive v0.4.0 [INFO] [stderr] Checking lmdb-zero v0.4.4 [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)]` 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: 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)]` 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: 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)]` 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)]` 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 13.61s [INFO] running `Command { std: "docker" "inspect" "467973df1d8498b89d13df7bda234ccae97ab1a557002eaac09d281c6be4ed1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467973df1d8498b89d13df7bda234ccae97ab1a557002eaac09d281c6be4ed1d", kill_on_drop: false }` [INFO] [stdout] 467973df1d8498b89d13df7bda234ccae97ab1a557002eaac09d281c6be4ed1d