[INFO] fetching crate ublox-sockets 0.5.0... [INFO] testing ublox-sockets-0.5.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate ublox-sockets 0.5.0 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate ublox-sockets 0.5.0 [INFO] finished tweaking crates.io crate ublox-sockets 0.5.0 [INFO] tweaked toml for crates.io crate ublox-sockets 0.5.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate ublox-sockets 0.5.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 49 packages to latest compatible versions [INFO] [stderr] Adding atat v0.18.0 (available: v0.24.1) [INFO] [stderr] Adding defmt v0.3.100 (available: v1.0.1) [INFO] [stderr] Adding embedded-hal v1.0.0-alpha.9 (available: v1.0.0) [INFO] [stderr] Adding embedded-hal-nb v1.0.0-alpha.1 (available: v1.0.0) [INFO] [stderr] Adding embedded-nal v0.6.0 (available: v0.9.0) [INFO] [stderr] Adding hash32 v0.2.1 (available: v1.0.0) [INFO] [stderr] Adding heapless v0.7.17 (available: v0.9.1) [INFO] [stderr] Adding no-std-net v0.5.0 (available: v0.6.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded hash32-derive v0.1.1 [INFO] [stderr] Downloaded defmt-macros v1.0.1 [INFO] [stderr] Downloaded defmt v1.0.1 [INFO] [stderr] Downloaded atat_derive v0.18.0 [INFO] [stderr] Downloaded heapless-bytes v0.3.0 [INFO] [stderr] Downloaded atat v0.18.0 [INFO] [stderr] Downloaded serde_at v0.18.0 [INFO] [stderr] Downloaded defmt-parser v1.0.0 [INFO] [stderr] Downloaded bbqueue v0.5.1 [INFO] [stderr] Downloaded embedded-hal v1.0.0-alpha.9 [INFO] [stderr] Downloaded embedded-hal-nb v1.0.0-alpha.1 [INFO] [stderr] Downloaded embedded-nal v0.6.0 [INFO] [stderr] Downloaded gcd v2.3.0 [INFO] [stderr] Downloaded no-std-net v0.5.0 [INFO] [stderr] Downloaded defmt v0.3.100 [INFO] [stderr] Downloaded fugit v0.3.7 [INFO] [stderr] Downloaded fugit-timer v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fa4b5e478372b823aff10708eddf792e85d6f47f2c7d410b26ba8d677d696ec [INFO] running `Command { std: "docker" "start" "-a" "3fa4b5e478372b823aff10708eddf792e85d6f47f2c7d410b26ba8d677d696ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fa4b5e478372b823aff10708eddf792e85d6f47f2c7d410b26ba8d677d696ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fa4b5e478372b823aff10708eddf792e85d6f47f2c7d410b26ba8d677d696ec", kill_on_drop: false }` [INFO] [stdout] 3fa4b5e478372b823aff10708eddf792e85d6f47f2c7d410b26ba8d677d696ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f58c2bc5782f0e4fe0b129777fe7c82ced8d84d9adb217b106efe9205fe43de [INFO] running `Command { std: "docker" "start" "-a" "8f58c2bc5782f0e4fe0b129777fe7c82ced8d84d9adb217b106efe9205fe43de", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling semver v1.0.27 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling nb v1.1.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling gcd v2.3.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling fugit v0.3.7 [INFO] [stderr] Compiling embedded-hal v1.0.0-alpha.9 [INFO] [stderr] Compiling bbqueue v0.5.1 [INFO] [stderr] Compiling fugit-timer v0.1.3 [INFO] [stderr] Compiling embedded-hal-nb v1.0.0-alpha.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling serde_bytes v0.11.19 [INFO] [stderr] Compiling no-std-net v0.5.0 [INFO] [stderr] Compiling serde_at v0.18.0 [INFO] [stderr] Compiling heapless-bytes v0.3.0 [INFO] [stderr] Compiling embedded-nal v0.6.0 [INFO] [stderr] Compiling atat_derive v0.18.0 [INFO] [stderr] Compiling hash32-derive v0.1.1 [INFO] [stderr] Compiling atat v0.18.0 [INFO] [stderr] Compiling ublox-sockets v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [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/set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | hash32_derive::Hash32, [INFO] [stdout] | ^-------------------- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_Handle` [INFO] [stdout] ... [INFO] [stdout] 22 | pub struct Handle(pub u8); [INFO] [stdout] | ------ `Handle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hash32_derive::Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hash32_derive::Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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 `hash32_derive::Hash32` (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/set.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [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] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/set.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [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] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.58s [INFO] running `Command { std: "docker" "inspect" "8f58c2bc5782f0e4fe0b129777fe7c82ced8d84d9adb217b106efe9205fe43de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f58c2bc5782f0e4fe0b129777fe7c82ced8d84d9adb217b106efe9205fe43de", kill_on_drop: false }` [INFO] [stdout] 8f58c2bc5782f0e4fe0b129777fe7c82ced8d84d9adb217b106efe9205fe43de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa1aa0aeb40f61f54319cb350364d27a0ca2424dd277ac75bad74ec24687e2d0 [INFO] running `Command { std: "docker" "start" "-a" "fa1aa0aeb40f61f54319cb350364d27a0ca2424dd277ac75bad74ec24687e2d0", kill_on_drop: false }` [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [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/set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | hash32_derive::Hash32, [INFO] [stdout] | ^-------------------- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_Handle` [INFO] [stdout] ... [INFO] [stdout] 22 | pub struct Handle(pub u8); [INFO] [stdout] | ------ `Handle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hash32_derive::Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hash32_derive::Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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 `hash32_derive::Hash32` (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/set.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [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] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/set.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [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] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ublox-sockets v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `NoneError` is never constructed [INFO] [stdout] --> src/fmt.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | pub struct NoneError; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Try` is never used [INFO] [stdout] --> src/fmt.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 223 | pub trait Try { [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/set.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | hash32_derive::Hash32, [INFO] [stdout] | ^-------------------- [INFO] [stdout] | | [INFO] [stdout] | `Hash` is not local [INFO] [stdout] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_Handle` [INFO] [stdout] ... [INFO] [stdout] 22 | pub struct Handle(pub u8); [INFO] [stdout] | ------ `Handle` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `hash32_derive::Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `hash32_derive::Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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 `hash32_derive::Hash32` (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/set.rs:96:43 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [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] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/set.rs:163:21 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [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] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.07s [INFO] running `Command { std: "docker" "inspect" "fa1aa0aeb40f61f54319cb350364d27a0ca2424dd277ac75bad74ec24687e2d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa1aa0aeb40f61f54319cb350364d27a0ca2424dd277ac75bad74ec24687e2d0", kill_on_drop: false }` [INFO] [stdout] fa1aa0aeb40f61f54319cb350364d27a0ca2424dd277ac75bad74ec24687e2d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 56255e632c99aaf1aa3193248a32cbe2e290319f2e4e9b19b3fe692739a00238 [INFO] running `Command { std: "docker" "start" "-a" "56255e632c99aaf1aa3193248a32cbe2e290319f2e4e9b19b3fe692739a00238", kill_on_drop: false }` [INFO] [stderr] warning: struct `NoneError` is never constructed [INFO] [stdout] [INFO] [stderr] --> src/fmt.rs:221:12 [INFO] [stdout] running 25 tests [INFO] [stderr] | [INFO] [stdout] test ring_buffer::tests::test_buffer_dequeue_many_with ... ok [INFO] [stderr] 221 | pub struct NoneError; [INFO] [stdout] test ring_buffer::tests::test_buffer_dequeue_many ... ok [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] test ring_buffer::tests::test_buffer_dequeue_many_with_wrapping ... ok [INFO] [stderr] | [INFO] [stdout] test ring_buffer::tests::test_buffer_enqueue_many_with ... ok [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] test ring_buffer::tests::test_buffer_dequeue_slice ... ok [INFO] [stderr] [INFO] [stdout] test ring_buffer::tests::test_buffer_enqueue_dequeue_one ... ok [INFO] [stderr] warning: trait `Try` is never used [INFO] [stdout] test ring_buffer::tests::test_buffer_enqueue_dequeue_one_with ... ok [INFO] [stderr] --> src/fmt.rs:223:11 [INFO] [stdout] test ring_buffer::tests::test_buffer_get_unallocated ... ok [INFO] [stderr] | [INFO] [stdout] test ring_buffer::tests::test_buffer_length_changes ... ok [INFO] [stderr] 223 | pub trait Try { [INFO] [stdout] test ring_buffer::tests::test_buffer_read_allocated ... ok [INFO] [stderr] | ^^^ [INFO] [stdout] test ring_buffer::tests::test_buffer_write_unallocated ... ok [INFO] [stderr] [INFO] [stdout] test ring_buffer::tests::test_buffer_write_wholly ... ok [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] test set::tests::add_duplicate_socket ... ok [INFO] [stderr] --> src/set.rs:16:5 [INFO] [stdout] test set::tests::add_socket ... ok [INFO] [stderr] | [INFO] [stdout] test set::tests::add_socket_to_full_set ... ok [INFO] [stderr] 16 | hash32_derive::Hash32, [INFO] [stderr] | ^-------------------- [INFO] [stderr] | | [INFO] [stderr] | `Hash` is not local [INFO] [stderr] | move the `impl` block outside of this constant `__IMPL_HASH32_FOR_Handle` [INFO] [stderr] ... [INFO] [stderr] 22 | pub struct Handle(pub u8); [INFO] [stderr] | ------ `Handle` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `hash32_derive::Hash32` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `hash32_derive::Hash32` may come from an old version of the `hash32_derive` crate, try updating your dependency with `cargo update -p hash32_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 `hash32_derive::Hash32` (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/set.rs:96:43 [INFO] [stderr] | [INFO] [stderr] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [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] 96 | pub fn get>(&mut self, handle: Handle) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/set.rs:163:21 [INFO] [stderr] | [INFO] [stderr] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [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] 163 | pub fn iter_mut(&mut self) -> impl Iterator>)> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `ublox-sockets` (lib) generated 5 warnings (run `cargo fix --lib -p ublox-sockets` to apply 2 suggestions) [INFO] [stderr] warning: `ublox-sockets` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/ublox_sockets-b6b3b07e7a2d6f59) [INFO] [stdout] test ring_buffer::tests::test_buffer_get_allocated ... ok [INFO] [stdout] test set::tests::get_socket ... ok [INFO] [stdout] test set::tests::get_socket_wrong_type ... ok [INFO] [stdout] test set::tests::prune_socket_set ... ok [INFO] [stdout] test ring_buffer::tests::test_buffer_enqueue_slice ... ok [INFO] [stdout] test set::tests::remove_socket ... ok [INFO] [stdout] test set::tests::replace_socket ... ok [INFO] [stdout] test set::tests::get_socket_type ... ok [INFO] [stdout] test ring_buffer::tests::test_buffer_enqueue_many ... ok [INFO] [stdout] test set::tests::mock_timer_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.01s [INFO] [stdout] [INFO] [stderr] Doc-tests ublox_sockets [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] running `Command { std: "docker" "inspect" "56255e632c99aaf1aa3193248a32cbe2e290319f2e4e9b19b3fe692739a00238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "56255e632c99aaf1aa3193248a32cbe2e290319f2e4e9b19b3fe692739a00238", kill_on_drop: false }` [INFO] [stdout] 56255e632c99aaf1aa3193248a32cbe2e290319f2e4e9b19b3fe692739a00238