[INFO] fetching crate libreda-db 0.0.12... [INFO] testing libreda-db-0.0.12 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate libreda-db 0.0.12 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate libreda-db 0.0.12 [INFO] finished tweaking crates.io crate libreda-db 0.0.12 [INFO] tweaked toml for crates.io crate libreda-db 0.0.12 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libreda-db 0.0.12 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.13.0 (available: v0.14.0) [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] [stderr] Adding portrait v0.2.3 (available: v0.3.1) [INFO] [stderr] Adding rstar v0.9.3 (available: v0.12.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00eac4e11f3b2c7c336d3cdc4debe18ed27924e26889ba902160a9bcded107a6 [INFO] running `Command { std: "docker" "start" "-a" "00eac4e11f3b2c7c336d3cdc4debe18ed27924e26889ba902160a9bcded107a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00eac4e11f3b2c7c336d3cdc4debe18ed27924e26889ba902160a9bcded107a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00eac4e11f3b2c7c336d3cdc4debe18ed27924e26889ba902160a9bcded107a6", kill_on_drop: false }` [INFO] [stdout] 00eac4e11f3b2c7c336d3cdc4debe18ed27924e26889ba902160a9bcded107a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 941704b1b1ae80933bdc3f6b8f5fbfa142dfed9170ddc23aabbdefdb731519ce [INFO] running `Command { std: "docker" "start" "-a" "941704b1b1ae80933bdc3f6b8f5fbfa142dfed9170ddc23aabbdefdb731519ce", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling libreda-splay v0.1.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rstar v0.9.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling portrait-framework v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling portrait-codegen v0.2.3 [INFO] [stderr] Compiling portrait v0.2.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling iron-shapes v0.1.1 [INFO] [stderr] Compiling iron-shapes-booleanop v0.1.0 [INFO] [stderr] Compiling libreda-db v0.0.12 (/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/profile.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FnName` [INFO] [stdout] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stdout] 107 | pub enum FnName { [INFO] [stdout] | ------ `FnName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `ToPrimitive` (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/profile.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FnName` [INFO] [stdout] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stdout] 107 | pub enum FnName { [INFO] [stdout] | ------ `FnName` 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/profile.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | fn start_measurement(&self) -> PerfCounterManager { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | fn start_measurement(&self) -> PerfCounterManager<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/hierarchy_reference_access.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn net(&self) -> Option> { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn net(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pin(&self) -> Option> { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pin(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 51 | layer_id: &L::LayerId, [INFO] [stdout] 52 | ) -> impl Iterator> + '_ { [INFO] [stdout] | ----------- -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | ) -> impl Iterator> + '_ { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stdout] | ^^^^^ ----------- -- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn cell(&self) -> CellRef { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn cell(&self) -> CellRef<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn layer(&self) -> LayerRef { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn layer(&self) -> LayerRef<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/netlist_reference_access.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/netlist_reference_access.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn parent(&self) -> CellRef { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn parent(&self) -> CellRef<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.52s [INFO] running `Command { std: "docker" "inspect" "941704b1b1ae80933bdc3f6b8f5fbfa142dfed9170ddc23aabbdefdb731519ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "941704b1b1ae80933bdc3f6b8f5fbfa142dfed9170ddc23aabbdefdb731519ce", kill_on_drop: false }` [INFO] [stdout] 941704b1b1ae80933bdc3f6b8f5fbfa142dfed9170ddc23aabbdefdb731519ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 228719d40afc1001f2ac76ac18cc9127da776da8606f38baf162397210db085f [INFO] running `Command { std: "docker" "start" "-a" "228719d40afc1001f2ac76ac18cc9127da776da8606f38baf162397210db085f", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/profile.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FnName` [INFO] [stdout] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stdout] 107 | pub enum FnName { [INFO] [stdout] | ------ `FnName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `ToPrimitive` (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/profile.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FnName` [INFO] [stdout] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stdout] 107 | pub enum FnName { [INFO] [stdout] | ------ `FnName` 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/profile.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | fn start_measurement(&self) -> PerfCounterManager { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | fn start_measurement(&self) -> PerfCounterManager<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/hierarchy_reference_access.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn net(&self) -> Option> { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn net(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pin(&self) -> Option> { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pin(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 51 | layer_id: &L::LayerId, [INFO] [stdout] 52 | ) -> impl Iterator> + '_ { [INFO] [stdout] | ----------- -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | ) -> impl Iterator> + '_ { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stdout] | ^^^^^ ----------- -- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn cell(&self) -> CellRef { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn cell(&self) -> CellRef<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn layer(&self) -> LayerRef { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn layer(&self) -> LayerRef<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/netlist_reference_access.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/netlist_reference_access.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn parent(&self) -> CellRef { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn parent(&self) -> CellRef<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling libreda-db v0.0.12 (/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/profile.rs:105:38 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FnName` [INFO] [stdout] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stdout] 107 | pub enum FnName { [INFO] [stdout] | ------ `FnName` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [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: 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 `ToPrimitive` (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/profile.rs:105:51 [INFO] [stdout] | [INFO] [stdout] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FnName` [INFO] [stdout] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stdout] 107 | pub enum FnName { [INFO] [stdout] | ------ `FnName` 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: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/profile.rs:285:26 [INFO] [stdout] | [INFO] [stdout] 285 | fn start_measurement(&self) -> PerfCounterManager { [INFO] [stdout] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 285 | fn start_measurement(&self) -> PerfCounterManager<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/hierarchy_reference_access.rs:11:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:12:16 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn net(&self) -> Option> { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 12 | pub fn net(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pin(&self) -> Option> { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn pin(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:30:23 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/l2n_reference_access.rs:40:23 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 51 | layer_id: &L::LayerId, [INFO] [stdout] 52 | ) -> impl Iterator> + '_ { [INFO] [stdout] | ----------- -- the same lifetime is elided here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 52 | ) -> impl Iterator> + '_ { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stdout] | ^^^^^ ----------- -- the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn cell(&self) -> CellRef { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 133 | pub fn cell(&self) -> CellRef<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/layout_reference_access.rs:142:18 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn layer(&self) -> LayerRef { [INFO] [stdout] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 142 | pub fn layer(&self) -> LayerRef<'_, L> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/netlist_reference_access.rs:38:21 [INFO] [stdout] | [INFO] [stdout] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef<'_, Self> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/reference_access/netlist_reference_access.rs:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | pub fn parent(&self) -> CellRef { [INFO] [stdout] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 496 | pub fn parent(&self) -> CellRef<'_, N> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.18s [INFO] running `Command { std: "docker" "inspect" "228719d40afc1001f2ac76ac18cc9127da776da8606f38baf162397210db085f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "228719d40afc1001f2ac76ac18cc9127da776da8606f38baf162397210db085f", kill_on_drop: false }` [INFO] [stdout] 228719d40afc1001f2ac76ac18cc9127da776da8606f38baf162397210db085f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c104a6f5e2f9988a248ea8439888a47c0e02b70ef51bac52897cba83dcf2989c [INFO] running `Command { std: "docker" "start" "-a" "c104a6f5e2f9988a248ea8439888a47c0e02b70ef51bac52897cba83dcf2989c", 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/profile.rs:105:38 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_FnName` [INFO] [stderr] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stderr] 107 | pub enum FnName { [INFO] [stderr] | ------ `FnName` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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 `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/profile.rs:105:51 [INFO] [stderr] | [INFO] [stderr] 105 | #[derive(Copy, Clone, PartialEq, Eq, ToPrimitive, FromPrimitive, Debug)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FnName` [INFO] [stderr] 106 | #[allow(non_camel_case_types, missing_docs)] [INFO] [stderr] 107 | pub enum FnName { [INFO] [stderr] | ------ `FnName` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = 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] [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: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/profile.rs:285:26 [INFO] [stderr] | [INFO] [stderr] 285 | fn start_measurement(&self) -> PerfCounterManager { [INFO] [stderr] | ^^^^^ ------------------ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 285 | fn start_measurement(&self) -> PerfCounterManager<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/hierarchy_reference_access.rs:11:22 [INFO] [stderr] | [INFO] [stderr] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 11 | fn each_cell_ref(&self) -> Box> + '_> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/l2n_reference_access.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn net(&self) -> Option> { [INFO] [stderr] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 12 | pub fn net(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/l2n_reference_access.rs:20:16 [INFO] [stderr] | [INFO] [stderr] 20 | pub fn pin(&self) -> Option> { [INFO] [stderr] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 20 | pub fn pin(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/l2n_reference_access.rs:30:23 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 30 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/l2n_reference_access.rs:40:23 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 40 | pub fn each_shape(&self) -> impl Iterator> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/layout_reference_access.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 51 | layer_id: &L::LayerId, [INFO] [stderr] 52 | ) -> impl Iterator> + '_ { [INFO] [stderr] | ----------- -- the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] | the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 52 | ) -> impl Iterator> + '_ { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/layout_reference_access.rs:62:23 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stderr] | ^^^^^ ----------- -- the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is hidden here [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 62 | pub fn each_shape(&self) -> impl Iterator> + '_ { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/layout_reference_access.rs:133:17 [INFO] [stderr] | [INFO] [stderr] 133 | pub fn cell(&self) -> CellRef { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 133 | pub fn cell(&self) -> CellRef<'_, L> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/layout_reference_access.rs:142:18 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn layer(&self) -> LayerRef { [INFO] [stderr] | ^^^^^ ----------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 142 | pub fn layer(&self) -> LayerRef<'_, L> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/netlist_reference_access.rs:38:21 [INFO] [stderr] | [INFO] [stderr] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef { [INFO] [stderr] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 38 | fn terminal_ref(&self, t: &TerminalId) -> TerminalRef<'_, Self> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/reference_access/netlist_reference_access.rs:496:19 [INFO] [stderr] | [INFO] [stderr] 496 | pub fn parent(&self) -> CellRef { [INFO] [stderr] | ^^^^^ ---------- the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 496 | pub fn parent(&self) -> CellRef<'_, N> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `libreda-db` (lib) generated 14 warnings (run `cargo fix --lib -p libreda-db` to apply 12 suggestions) [INFO] [stderr] warning: `libreda-db` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libreda_db-a1c0144f568094f8) [INFO] [stdout] [INFO] [stdout] running 23 tests [INFO] [stdout] test chip::test_create_populated_netlist ... ok [INFO] [stdout] test flat_view::tests_with_hierarchy::test_another_top_cell ... ok [INFO] [stdout] test flat_view::tests_with_hierarchy::test_access_top_cell ... ok [INFO] [stdout] test flat_view::tests_with_hierarchy::test_count_references ... ok [INFO] [stdout] test flat_view::tests_with_hierarchy::test_num_cells ... ok [INFO] [stdout] test flat_view::tests_with_hierarchy::test_find_instance_by_name ... ok [INFO] [stdout] test flat_view::tests_with_hierarchy::test_find_template_cell ... ok [INFO] [stdout] test reference_access::test_chip_reference_access ... ok [INFO] [stdout] test profile::test_dbperf ... ok [INFO] [stdout] test region_search::test_create_region_search ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_access_child_instances ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::create_rw_refaccess_from_mutable_reference ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_cell_dependencies ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_cell_equality ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_cell_hash ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_cell_instance_equality ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_create_cell ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_create_instance ... ok [INFO] [stdout] test slab_alloc::test_slab_allocator ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_find_cell_instance_by_name ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_dependent_cells ... ok [INFO] [stdout] test undo::test_hierarchy_undoing ... ok [INFO] [stdout] test rw_reference_access::hierarchy_reference_access::tests::test_find_cell_by_name ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/auto_traits.rs (/opt/rustwide/target/debug/deps/auto_traits-34ce31680529bdde) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test chip_is_normal_type ... ok [INFO] [stdout] test rc_string_is_normal_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/chip.rs (/opt/rustwide/target/debug/deps/chip-22b84692c46b6650) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test test_connect_nets ... ok [INFO] [stdout] test test_create_circuit ... ok [INFO] [stdout] test test_create_sub_circuit ... ok [INFO] [stdout] test test_flatten_circuit_instance ... ok [INFO] [stdout] test test_get_sub_circuit_by_name ... ok [INFO] [stdout] test test_create_pins ... ok [INFO] [stdout] test test_create_nets ... ok [INFO] [stdout] test test_rename_net ... ok [INFO] [stdout] test test_get_cell_by_name ... ok [INFO] [stdout] test test_circuit_no_recursion_1 - should panic ... ok [INFO] [stdout] test test_circuit_no_recursion_2 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Running tests/hierarchy_utils.rs (/opt/rustwide/target/debug/deps/hierarchy_utils-66a908ec03af95d5) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_prune_cell_with_unused_subcell ... ok [INFO] [stdout] test test_prune_cell_instance ... ok [INFO] [stdout] test test_prune_cell_with_used_subcell ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] Running tests/layout_properties.rs (/opt/rustwide/target/debug/deps/layout_properties-c828f0f7cef80a8a) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_shape_properties ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-32017044dd4a4ee7) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test_delegate_core_traits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/test_blanket_impl.rs (/opt/rustwide/target/debug/deps/test_blanket_impl-344413885912a75b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libreda_db [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/hierarchy/traits.rs - hierarchy::traits::HierarchyEdit::remove_cell_instance (line 367) ... ok [INFO] [stdout] test src/hierarchy/traits.rs - hierarchy::traits::HierarchyEdit::create_cell_instance (line 345) ... ok [INFO] [stdout] test src/hierarchy/traits.rs - hierarchy::traits::HierarchyBase (line 92) ... ok [INFO] [stdout] test src/reference_access/mod.rs - reference_access (line 12) ... ok [INFO] [stdout] test src/rc_string.rs - rc_string (line 12) ... ok [INFO] [stdout] test src/profile.rs - profile (line 9) ... ok [INFO] [stdout] test src/hierarchy/traits.rs - hierarchy::traits::HierarchyEdit::remove_cell (line 331) ... ok [INFO] [stdout] test src/flat_view.rs - flat_view::FlatView (line 31) ... ok [INFO] [stdout] test src/hierarchy/traits.rs - hierarchy::traits::HierarchyEdit::create_cell (line 318) ... ok [INFO] [stdout] test src/rw_reference_access/mod.rs - rw_reference_access (line 13) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.97s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c104a6f5e2f9988a248ea8439888a47c0e02b70ef51bac52897cba83dcf2989c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c104a6f5e2f9988a248ea8439888a47c0e02b70ef51bac52897cba83dcf2989c", kill_on_drop: false }` [INFO] [stdout] c104a6f5e2f9988a248ea8439888a47c0e02b70ef51bac52897cba83dcf2989c