[INFO] fetching crate static-alloc 0.2.6... [INFO] testing static-alloc-0.2.6 against 1.91.0 for beta-1.92-2 [INFO] extracting crate static-alloc 0.2.6 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate static-alloc 0.2.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate static-alloc 0.2.6 [INFO] tweaked toml for crates.io crate static-alloc 0.2.6 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate static-alloc 0.2.6 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate static-alloc 0.2.6 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded alloc-traits v0.1.1 [INFO] [stderr] Downloaded critical-section v1.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1683633bf79329e303b5802d5e0caadca5a7da330b5a65f9b330f9a3c22130a8 [INFO] running `Command { std: "docker" "start" "-a" "1683633bf79329e303b5802d5e0caadca5a7da330b5a65f9b330f9a3c22130a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1683633bf79329e303b5802d5e0caadca5a7da330b5a65f9b330f9a3c22130a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1683633bf79329e303b5802d5e0caadca5a7da330b5a65f9b330f9a3c22130a8", kill_on_drop: false }` [INFO] [stdout] 1683633bf79329e303b5802d5e0caadca5a7da330b5a65f9b330f9a3c22130a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9649f7bb3971a836dc4bd5f45a0190540f711cb0551b237cd57f89b8c21c752 [INFO] running `Command { std: "docker" "start" "-a" "a9649f7bb3971a836dc4bd5f45a0190540f711cb0551b237cd57f89b8c21c752", kill_on_drop: false }` [INFO] [stderr] Compiling alloc-traits v0.1.1 [INFO] [stderr] Compiling static-alloc v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn alloc_at(&self, layout: Layout, level: Level) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 376 | -> Result [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 376 | -> Result, Failure> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn get(&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] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [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] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/unsync/bump.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^--------------------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [UnsafeCell]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[UnsafeCell]` [INFO] [stdout] --> src/unsync/bump.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (&(*(self.data.get() as *const [UnsafeCell]))).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:321:19 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn get(&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] 321 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:336:22 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [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] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:393:36 [INFO] [stdout] | [INFO] [stdout] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation { [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] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.38s [INFO] running `Command { std: "docker" "inspect" "a9649f7bb3971a836dc4bd5f45a0190540f711cb0551b237cd57f89b8c21c752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9649f7bb3971a836dc4bd5f45a0190540f711cb0551b237cd57f89b8c21c752", kill_on_drop: false }` [INFO] [stdout] a9649f7bb3971a836dc4bd5f45a0190540f711cb0551b237cd57f89b8c21c752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c55da8ae8fa5afad81387f627ffc3129e427294fbe618ab58ad50715686d785b [INFO] running `Command { std: "docker" "start" "-a" "c55da8ae8fa5afad81387f627ffc3129e427294fbe618ab58ad50715686d785b", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn alloc_at(&self, layout: Layout, level: Level) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 376 | -> Result [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 376 | -> Result, Failure> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn get(&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] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [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] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling static-alloc v0.2.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/unsync/bump.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^--------------------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [UnsafeCell]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[UnsafeCell]` [INFO] [stdout] --> src/unsync/bump.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (&(*(self.data.get() as *const [UnsafeCell]))).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:321:19 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn get(&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] 321 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:336:22 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [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] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:393:36 [INFO] [stdout] | [INFO] [stdout] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation { [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] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> tests/leak_box.rs:24:24 [INFO] [stdout] | [INFO] [stdout] 24 | struct PanicOnDrop(usize); [INFO] [stdout] | ----------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn alloc_at(&self, layout: Layout, level: Level) [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 376 | -> Result [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 376 | -> Result, Failure> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn get(&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] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/bump.rs:455:22 [INFO] [stdout] | [INFO] [stdout] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [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] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/unsync/bump.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^--------------------------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const [UnsafeCell]` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&[UnsafeCell]` [INFO] [stdout] --> src/unsync/bump.rs:257:18 [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 257 | unsafe { (&(*(self.data.get() as *const [UnsafeCell]))).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:321:19 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn get(&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] 321 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:336:22 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [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] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/unsync/bump.rs:393:36 [INFO] [stdout] | [INFO] [stdout] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation { [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] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.79s [INFO] running `Command { std: "docker" "inspect" "c55da8ae8fa5afad81387f627ffc3129e427294fbe618ab58ad50715686d785b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c55da8ae8fa5afad81387f627ffc3129e427294fbe618ab58ad50715686d785b", kill_on_drop: false }` [INFO] [stdout] c55da8ae8fa5afad81387f627ffc3129e427294fbe618ab58ad50715686d785b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9f111913d656b7f1731bdd8ac6d1985e0e988ca1ebfd16e0115841e40027766d [INFO] running `Command { std: "docker" "start" "-a" "9f111913d656b7f1731bdd8ac6d1985e0e988ca1ebfd16e0115841e40027766d", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> src/bump.rs:375:21 [INFO] [stdout] running 2 tests [INFO] [stderr] | [INFO] [stdout] test bump::tests::zst_no_drop ... ok [INFO] [stderr] 375 | pub fn alloc_at(&self, layout: Layout, level: Level) [INFO] [stdout] test unsync::bump::mem_bump_derefs_correctly ... ok [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stdout] [INFO] [stderr] 376 | -> Result [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] running 1 test [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] test alloca_small ... ok [INFO] [stderr] help: use `'_` for type paths [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 376 | -> Result, Failure> [INFO] [stdout] [INFO] [stderr] | ++++ [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] running 4 tests [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] test level ... ok [INFO] [stderr] --> src/bump.rs:435:19 [INFO] [stdout] test zst ... ok [INFO] [stderr] | [INFO] [stdout] test heterogeneous ... ok [INFO] [stderr] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] test homogeneous ... ok [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] [INFO] [stderr] | | [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | the lifetime is elided here [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] running 5 tests [INFO] [stderr] help: use `'_` for type paths [INFO] [stdout] test init ... ok [INFO] [stderr] | [INFO] [stdout] test leaking ... ok [INFO] [stderr] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] test leak_box_drops ... ok [INFO] [stderr] | +++ [INFO] [stdout] test questionable_copy ... ok [INFO] [stderr] [INFO] [stdout] test trait_impls ... ok [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] [INFO] [stderr] --> src/bump.rs:455:22 [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] running 1 test [INFO] [stderr] | | [INFO] [stdout] test each_thread_one ... ok [INFO] [stderr] | the lifetime is elided here [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] [INFO] [stderr] help: use `'_` for type paths [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] test raw_from_mem ... ok [INFO] [stderr] | +++ [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] [INFO] [stderr] --> src/unsync/bump.rs:257:18 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 3 tests [INFO] [stderr] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] test ok_vec ... ok [INFO] [stderr] | ^^--------------------------------------------^^^^^^^ [INFO] [stdout] test grow ... ok [INFO] [stderr] | | [INFO] [stdout] test shrink ... ok [INFO] [stderr] | this raw pointer has type `*const [UnsafeCell]` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[UnsafeCell]` [INFO] [stderr] --> src/unsync/bump.rs:257:18 [INFO] [stderr] | [INFO] [stderr] 257 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] note: method calls to `len` require a reference [INFO] [stderr] --> /rustc/f8297e351a40c1439a467bbbb6879088047f50b3/library/core/src/slice/mod.rs:114:5 [INFO] [stderr] = note: `#[warn(dangerous_implicit_autorefs)]` on by default [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 257 | unsafe { (&(*(self.data.get() as *const [UnsafeCell]))).len() } [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/unsync/bump.rs:321:19 [INFO] [stderr] | [INFO] [stderr] 321 | pub fn get(&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] 321 | pub fn get(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/unsync/bump.rs:336:22 [INFO] [stderr] | [INFO] [stderr] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [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] 336 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/unsync/bump.rs:393:36 [INFO] [stderr] | [INFO] [stderr] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation { [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] 393 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation<'_, V> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `static-alloc` (lib) generated 7 warnings (run `cargo fix --lib -p static-alloc` to apply 6 suggestions) [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> tests/leak_box.rs:24:24 [INFO] [stderr] | [INFO] [stderr] 24 | struct PanicOnDrop(usize); [INFO] [stderr] | ----------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `static-alloc` (test "leak_box") generated 1 warning [INFO] [stderr] warning: `static-alloc` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/static_alloc-a6500347a21f8f02) [INFO] [stderr] Running tests/alloca.rs (/opt/rustwide/target/debug/deps/alloca-85190f5a3400c463) [INFO] [stderr] Running tests/leak.rs (/opt/rustwide/target/debug/deps/leak-b5f3afe46c238cde) [INFO] [stderr] Running tests/leak_box.rs (/opt/rustwide/target/debug/deps/leak_box-e536adf9769f16d7) [INFO] [stderr] Running tests/threaded.rs (/opt/rustwide/target/debug/deps/threaded-99fd434909e68494) [INFO] [stderr] Running tests/unsync.rs (/opt/rustwide/target/debug/deps/unsync-8bb86b4dd23ca42c) [INFO] [stderr] Running tests/vec.rs (/opt/rustwide/target/debug/deps/vec-a64d1b68c47c1c84) [INFO] [stderr] Doc-tests static_alloc [INFO] [stdout] [INFO] [stdout] running 41 tests [INFO] [stdout] test src/bump.rs - bump::Bump (line 36) - compile ... ok [INFO] [stdout] test src/bump.rs - bump::Bump::reset (line 337) - compile fail ... ok [INFO] [stdout] test src/bump.rs - bump::Bump (line 85) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump::leak (line 659) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'ctx,MaybeUninit>::write (line 462) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump::leak_box (line 491) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump::leak (line 679) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox (line 125) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'ctx,T>::from_mut_unchecked (line 255) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'ctx,T>::leak (line 302) - compile fail ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'static,T>::into_pin (line 341) - compile fail ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'ctx,T>::into_raw (line 192) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump::leak_at (line 724) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump::reset (line 320) ... ok [INFO] [stdout] test src/bump.rs - bump::Level (line 193) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump::get (line 420) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'ctx,T>::leak (line 289) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump (line 57) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'ctx,T>::into_raw (line 208) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::Bump (line 52) ... ignored [INFO] [stdout] test src/leaked.rs - leaked::LeakBox (line 141) ... ok [INFO] [stdout] test src/lib.rs - (line 15) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'ctx,T>::take (line 406) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump (line 101) ... ok [INFO] [stdout] test src/leaked.rs - leaked::LeakBox<'static,T>::into_pin (line 365) ... ok [INFO] [stdout] test src/lib.rs - doc::e2_static_allocator (line 93) ... ok [INFO] [stdout] test src/bump.rs - bump::Bump (line 74) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::Bump (line 34) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::MemBump::from_mem (line 142) ... ok [INFO] [stdout] test src/lib.rs - doc::e0_readme (line 100) ... ok [INFO] [stdout] test src/lib.rs - doc::e3_pinned (line 91) ... ok [INFO] [stdout] test src/lib.rs - doc::e3_pinned (line 134) ... ok [INFO] [stdout] test src/lib.rs - doc::e1_global_allocator (line 84) ... ok [INFO] [stdout] test src/lib.rs - doc::e3_pinned (line 171) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::MemBump::into_mem (line 209) ... ok [INFO] [stdout] test src/lib.rs - doc::e2_static_allocator (line 115) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::MemBump::get_unchecked (line 358) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::MemBump::get_unchecked (line 378) ... ok [INFO] [stdout] test src/lib.rs - doc::e0_readme (line 123) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::MemBump::get (line 304) ... ok [INFO] [stdout] test src/unsync/bump.rs - unsync::bump::MemBump::bump_box (line 413) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 40 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.83s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "9f111913d656b7f1731bdd8ac6d1985e0e988ca1ebfd16e0115841e40027766d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f111913d656b7f1731bdd8ac6d1985e0e988ca1ebfd16e0115841e40027766d", kill_on_drop: false }` [INFO] [stdout] 9f111913d656b7f1731bdd8ac6d1985e0e988ca1ebfd16e0115841e40027766d