[INFO] fetching crate static-alloc 0.2.5... [INFO] checking static-alloc-0.2.5 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate static-alloc 0.2.5 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate static-alloc 0.2.5 [INFO] removed 1 missing tests [INFO] finished tweaking crates.io crate static-alloc 0.2.5 [INFO] tweaked toml for crates.io crate static-alloc 0.2.5 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate static-alloc 0.2.5 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ce03f140e54c39ea116fe6ce7f249f049b2bda11447313d39f404a533d0362b [INFO] running `Command { std: "docker" "start" "-a" "0ce03f140e54c39ea116fe6ce7f249f049b2bda11447313d39f404a533d0362b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ce03f140e54c39ea116fe6ce7f249f049b2bda11447313d39f404a533d0362b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ce03f140e54c39ea116fe6ce7f249f049b2bda11447313d39f404a533d0362b", kill_on_drop: false }` [INFO] [stdout] 0ce03f140e54c39ea116fe6ce7f249f049b2bda11447313d39f404a533d0362b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e188768b9f0acd5f0d16ab345a5f190ea5a0098ad45f8f3a2ebcee069906eb6e [INFO] running `Command { std: "docker" "start" "-a" "e188768b9f0acd5f0d16ab345a5f190ea5a0098ad45f8f3a2ebcee069906eb6e", kill_on_drop: false }` [INFO] [stderr] Checking alloc-traits v0.1.1 [INFO] [stderr] Checking static-alloc v0.2.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bump.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn alloc_at(&self, layout: Layout, level: Level) [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 376 | -> Result [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 376 | -> Result, Failure> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bump.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bump.rs:375:21 [INFO] [stdout] | [INFO] [stdout] 375 | pub fn alloc_at(&self, layout: Layout, level: Level) [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 376 | -> Result [INFO] [stdout] | ---------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 376 | -> Result, Failure> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/bump.rs:435:19 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 435 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 455 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/unsync/bump.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[deny(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] 256 | unsafe { (&(*(self.data.get() as *const [UnsafeCell]))).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unsync/bump.rs:320:19 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 320 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unsync/bump.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unsync/bump.rs:392:36 [INFO] [stdout] | [INFO] [stdout] 392 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 392 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/unsync/bump.rs:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | 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:256:18 [INFO] [stdout] | [INFO] [stdout] 256 | unsafe { (*(self.data.get() as *const [UnsafeCell])).len() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/slice/mod.rs:116:5 [INFO] [stdout] = note: `#[deny(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] 256 | unsafe { (&(*(self.data.get() as *const [UnsafeCell]))).len() } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unsync/bump.rs:320:19 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn get(&self) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 320 | pub fn get(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unsync/bump.rs:335:22 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 335 | pub fn get_at(&self, level: Level) -> Result, Failure> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/unsync/bump.rs:392:36 [INFO] [stdout] | [INFO] [stdout] 392 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 392 | pub unsafe fn get_unchecked(&self, level: Level) -> Allocation<'_, V> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `static-alloc` (lib) due to 1 previous error; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `static-alloc` (lib test) due to 1 previous error; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e188768b9f0acd5f0d16ab345a5f190ea5a0098ad45f8f3a2ebcee069906eb6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e188768b9f0acd5f0d16ab345a5f190ea5a0098ad45f8f3a2ebcee069906eb6e", kill_on_drop: false }` [INFO] [stdout] e188768b9f0acd5f0d16ab345a5f190ea5a0098ad45f8f3a2ebcee069906eb6e