[INFO] fetching crate hubs 0.1.1... [INFO] checking hubs-0.1.1 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate hubs 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate hubs 0.1.1 [INFO] finished tweaking crates.io crate hubs 0.1.1 [INFO] tweaked toml for crates.io crate hubs 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate hubs 0.1.1 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 96a68d67024c27d037f31ed983dc40f2efa774682e5af170e73083221c0c9194 [INFO] running `Command { std: "docker" "start" "-a" "96a68d67024c27d037f31ed983dc40f2efa774682e5af170e73083221c0c9194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96a68d67024c27d037f31ed983dc40f2efa774682e5af170e73083221c0c9194", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96a68d67024c27d037f31ed983dc40f2efa774682e5af170e73083221c0c9194", kill_on_drop: false }` [INFO] [stdout] 96a68d67024c27d037f31ed983dc40f2efa774682e5af170e73083221c0c9194 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 651159affc9be976cf305895161737ff8a385980e35ea4b3edaade6be1914639 [INFO] running `Command { std: "docker" "start" "-a" "651159affc9be976cf305895161737ff8a385980e35ea4b3edaade6be1914639", kill_on_drop: false }` [INFO] [stderr] Checking hubs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn get_chunks_for_tick(&self) -> ChunkBlock{ [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] 249 | pub fn get_chunks_for_tick(&self) -> ChunkBlock<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn borrow_chunk_mut(&mut 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] 264 | pub fn borrow_chunk_mut(&mut self) -> Option>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | fn get_read_chunks_current(&self) -> ChunkBlock{ [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] 283 | fn get_read_chunks_current(&self) -> ChunkBlock<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe{ &(*self.chunks.get())[read_start..] }, [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[Chunk]>` [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: `&[Chunk]` [INFO] [stdout] --> src/lib.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe{ &(*self.chunks.get())[read_start..] }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] 298 | unsafe{ &(&(*self.chunks.get()))[read_start..] }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe{ &(*self.chunks.get())[..read_end] } [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[Chunk]>` [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: `&[Chunk]` [INFO] [stdout] --> src/lib.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe{ &(*self.chunks.get())[..read_end] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 299 | unsafe{ &(&(*self.chunks.get()))[..read_end] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:303:42 [INFO] [stdout] | [INFO] [stdout] 303 | ChunkBlockData::One(unsafe{ &(*self.chunks.get())[read_start..read_end] }) [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[Chunk]>` [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: `&[Chunk]` [INFO] [stdout] --> src/lib.rs:303:42 [INFO] [stdout] | [INFO] [stdout] 303 | ChunkBlockData::One(unsafe{ &(*self.chunks.get())[read_start..read_end] }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 303 | ChunkBlockData::One(unsafe{ &(&(*self.chunks.get()))[read_start..read_end] }) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | fn borrow_chunk_mut(&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] 309 | fn borrow_chunk_mut(&self) -> Option>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hubs` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:249:32 [INFO] [stdout] | [INFO] [stdout] 249 | pub fn get_chunks_for_tick(&self) -> ChunkBlock{ [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] 249 | pub fn get_chunks_for_tick(&self) -> ChunkBlock<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:264:29 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn borrow_chunk_mut(&mut 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] 264 | pub fn borrow_chunk_mut(&mut self) -> Option>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:283:32 [INFO] [stdout] | [INFO] [stdout] 283 | fn get_read_chunks_current(&self) -> ChunkBlock{ [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] 283 | fn get_read_chunks_current(&self) -> ChunkBlock<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe{ &(*self.chunks.get())[read_start..] }, [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[Chunk]>` [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: `&[Chunk]` [INFO] [stdout] --> src/lib.rs:298:26 [INFO] [stdout] | [INFO] [stdout] 298 | unsafe{ &(*self.chunks.get())[read_start..] }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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] 298 | unsafe{ &(&(*self.chunks.get()))[read_start..] }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe{ &(*self.chunks.get())[..read_end] } [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[Chunk]>` [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: `&[Chunk]` [INFO] [stdout] --> src/lib.rs:299:26 [INFO] [stdout] | [INFO] [stdout] 299 | unsafe{ &(*self.chunks.get())[..read_end] } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 299 | unsafe{ &(&(*self.chunks.get()))[..read_end] } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:303:42 [INFO] [stdout] | [INFO] [stdout] 303 | ChunkBlockData::One(unsafe{ &(*self.chunks.get())[read_start..read_end] }) [INFO] [stdout] | ^^-----------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut Box<[Chunk]>` [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: `&[Chunk]` [INFO] [stdout] --> src/lib.rs:303:42 [INFO] [stdout] | [INFO] [stdout] 303 | ChunkBlockData::One(unsafe{ &(*self.chunks.get())[read_start..read_end] }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 303 | ChunkBlockData::One(unsafe{ &(&(*self.chunks.get()))[read_start..read_end] }) [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:309:25 [INFO] [stdout] | [INFO] [stdout] 309 | fn borrow_chunk_mut(&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] 309 | fn borrow_chunk_mut(&self) -> Option>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hubs` (lib test) due to 3 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "651159affc9be976cf305895161737ff8a385980e35ea4b3edaade6be1914639", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "651159affc9be976cf305895161737ff8a385980e35ea4b3edaade6be1914639", kill_on_drop: false }` [INFO] [stdout] 651159affc9be976cf305895161737ff8a385980e35ea4b3edaade6be1914639