[INFO] fetching crate terminus-store 0.21.5... [INFO] checking terminus-store-0.21.5 against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] extracting crate terminus-store 0.21.5 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate terminus-store 0.21.5 on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate terminus-store 0.21.5 [INFO] finished tweaking crates.io crate terminus-store 0.21.5 [INFO] tweaked toml for crates.io crate terminus-store 0.21.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate terminus-store 0.21.5 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e3abeb00db6e47e796caeb7811cac3756270a0083d0b34cf080a526015846d7 [INFO] running `Command { std: "docker" "start" "-a" "5e3abeb00db6e47e796caeb7811cac3756270a0083d0b34cf080a526015846d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e3abeb00db6e47e796caeb7811cac3756270a0083d0b34cf080a526015846d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3abeb00db6e47e796caeb7811cac3756270a0083d0b34cf080a526015846d7", kill_on_drop: false }` [INFO] [stdout] 5e3abeb00db6e47e796caeb7811cac3756270a0083d0b34cf080a526015846d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 458940b6e186b2f75bff21d59e3f2d22ee068be316aee375cf35836e9d1a9c2c [INFO] running `Command { std: "docker" "start" "-a" "458940b6e186b2f75bff21d59e3f2d22ee068be316aee375cf35836e9d1a9c2c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking smallvec v1.13.1 [INFO] [stderr] Checking memchr v2.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling rustix v0.38.31 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling gmp-mpfr-sys v1.6.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling syn v2.0.52 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling thiserror v1.0.57 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Compiling rug v1.24.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking chrono v0.4.35 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking xattr v1.3.1 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking fastrand v2.0.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking tar v0.4.40 [INFO] [stderr] Checking lru v0.10.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking rayon v1.9.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.57 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking futures-locks v0.7.1 [INFO] [stderr] Checking tdb-succinct v0.1.1 [INFO] [stderr] Checking terminus-store v0.21.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | file = match file.try_lock_shared() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `try_lock_shared(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::try_lock_shared` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | file = match file.try_lock_shared() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `try_lock_shared(...)` to keep using the current method [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::try_lock_shared` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | ... file.lock_shared() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `lock_shared(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::lock_shared` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | .unlock() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unlock(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::unlock` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:283:18 [INFO] [stdout] | [INFO] [stdout] 283 | .unlock() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unlock(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::unlock` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:57:34 [INFO] [stdout] | [INFO] [stdout] 57 | ... file.lock_shared() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `lock_shared(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::lock_shared` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | .unlock() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unlock(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::unlock` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/storage/locking.rs:283:18 [INFO] [stdout] | [INFO] [stdout] 283 | .unlock() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `unlock(...)` to keep using the current method [INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `std::fs::File::unlock` [INFO] [stdout] --> src/lib.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 + #![feature(file_lock)] [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/storage/consts.rs:95:68 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LayerFileEnum` [INFO] [stdout] 96 | pub enum LayerFileEnum { [INFO] [stdout] | ------------- `LayerFileEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (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/storage/consts.rs:95:68 [INFO] [stdout] | [INFO] [stdout] 95 | #[derive(Clone, Copy, PartialEq, Eq, Hash, PartialOrd, Ord, Debug, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_LayerFileEnum` [INFO] [stdout] 96 | pub enum LayerFileEnum { [INFO] [stdout] | ------------- `LayerFileEnum` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `FromPrimitive` (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 1m 37s [INFO] running `Command { std: "docker" "inspect" "458940b6e186b2f75bff21d59e3f2d22ee068be316aee375cf35836e9d1a9c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "458940b6e186b2f75bff21d59e3f2d22ee068be316aee375cf35836e9d1a9c2c", kill_on_drop: false }` [INFO] [stdout] 458940b6e186b2f75bff21d59e3f2d22ee068be316aee375cf35836e9d1a9c2c