[INFO] fetching crate hubs 0.1.1... [INFO] testing hubs-0.1.1 against 1.90.0 for beta-1.91-3 [INFO] extracting crate hubs 0.1.1 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hubs 0.1.1 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "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" "+1.90.0" "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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b342c88871516c7cacd3e64f30b565a0e9e8db0e5de87d049da2d6b3c3a6f28c [INFO] running `Command { std: "docker" "start" "-a" "b342c88871516c7cacd3e64f30b565a0e9e8db0e5de87d049da2d6b3c3a6f28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b342c88871516c7cacd3e64f30b565a0e9e8db0e5de87d049da2d6b3c3a6f28c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b342c88871516c7cacd3e64f30b565a0e9e8db0e5de87d049da2d6b3c3a6f28c", kill_on_drop: false }` [INFO] [stdout] b342c88871516c7cacd3e64f30b565a0e9e8db0e5de87d049da2d6b3c3a6f28c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20bbad6e0ebffb5d94e4f433ad63c48c77d90958f920093e16779270ffb61165 [INFO] running `Command { std: "docker" "start" "-a" "20bbad6e0ebffb5d94e4f433ad63c48c77d90958f920093e16779270ffb61165", kill_on_drop: false }` [INFO] [stderr] Compiling 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] warning: 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: `#[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] 298 | unsafe{ &(&(*self.chunks.get()))[read_start..] }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] running `Command { std: "docker" "inspect" "20bbad6e0ebffb5d94e4f433ad63c48c77d90958f920093e16779270ffb61165", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20bbad6e0ebffb5d94e4f433ad63c48c77d90958f920093e16779270ffb61165", kill_on_drop: false }` [INFO] [stdout] 20bbad6e0ebffb5d94e4f433ad63c48c77d90958f920093e16779270ffb61165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e487d21964e45d33b64645a7061a017e93a0ed25d4638e35621cf05fd9cf5db3 [INFO] running `Command { std: "docker" "start" "-a" "e487d21964e45d33b64645a7061a017e93a0ed25d4638e35621cf05fd9cf5db3", kill_on_drop: false }` [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] warning: 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: `#[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] 298 | unsafe{ &(&(*self.chunks.get()))[read_start..] }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] Compiling hubs v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> tests/hubs_test_basic.rs:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | for i in 0 .. chunk_count{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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] warning: 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: `#[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] 298 | unsafe{ &(&(*self.chunks.get()))[read_start..] }, [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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] warning: 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] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.84s [INFO] running `Command { std: "docker" "inspect" "e487d21964e45d33b64645a7061a017e93a0ed25d4638e35621cf05fd9cf5db3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e487d21964e45d33b64645a7061a017e93a0ed25d4638e35621cf05fd9cf5db3", kill_on_drop: false }` [INFO] [stdout] e487d21964e45d33b64645a7061a017e93a0ed25d4638e35621cf05fd9cf5db3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 843268cf6318374e0e8a739e131a87530b98de573e8ee6f4dd1a360d8d217673 [INFO] running `Command { std: "docker" "start" "-a" "843268cf6318374e0e8a739e131a87530b98de573e8ee6f4dd1a360d8d217673", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:249:32 [INFO] [stderr] | [INFO] [stderr] 249 | pub fn get_chunks_for_tick(&self) -> ChunkBlock{ [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] 249 | pub fn get_chunks_for_tick(&self) -> ChunkBlock<'_, T>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:264:29 [INFO] [stderr] | [INFO] [stderr] 264 | pub fn borrow_chunk_mut(&mut 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] 264 | pub fn borrow_chunk_mut(&mut self) -> Option>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:283:32 [INFO] [stderr] | [INFO] [stderr] 283 | fn get_read_chunks_current(&self) -> ChunkBlock{ [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] 283 | fn get_read_chunks_current(&self) -> ChunkBlock<'_, T>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:298:26 [INFO] [stderr] | [INFO] [stderr] 298 | unsafe{ &(*self.chunks.get())[read_start..] }, [INFO] [stderr] | ^^-----------------^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Box<[Chunk]>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[Chunk]` [INFO] [stderr] --> src/lib.rs:298:26 [INFO] [stderr] | [INFO] [stderr] 298 | unsafe{ &(*self.chunks.get())[read_start..] }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [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] 298 | unsafe{ &(&(*self.chunks.get()))[read_start..] }, [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:299:26 [INFO] [stderr] | [INFO] [stderr] 299 | unsafe{ &(*self.chunks.get())[..read_end] } [INFO] [stderr] | ^^-----------------^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Box<[Chunk]>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[Chunk]` [INFO] [stderr] --> src/lib.rs:299:26 [INFO] [stderr] | [INFO] [stderr] 299 | unsafe{ &(*self.chunks.get())[..read_end] } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 299 | unsafe{ &(&(*self.chunks.get()))[..read_end] } [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:303:42 [INFO] [stderr] | [INFO] [stderr] 303 | ChunkBlockData::One(unsafe{ &(*self.chunks.get())[read_start..read_end] }) [INFO] [stderr] | ^^-----------------^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut Box<[Chunk]>` [INFO] [stderr] | [INFO] [stderr] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stderr] note: autoref is being applied to this expression, resulting in: `&[Chunk]` [INFO] [stderr] --> src/lib.rs:303:42 [INFO] [stderr] | [INFO] [stderr] 303 | ChunkBlockData::One(unsafe{ &(*self.chunks.get())[read_start..read_end] }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stderr] | [INFO] [stderr] 303 | ChunkBlockData::One(unsafe{ &(&(*self.chunks.get()))[read_start..read_end] }) [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:309:25 [INFO] [stderr] | [INFO] [stderr] 309 | fn borrow_chunk_mut(&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] 309 | fn borrow_chunk_mut(&self) -> Option>{ [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `hubs` (lib) generated 7 warnings [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> tests/hubs_test_basic.rs:317:17 [INFO] [stderr] | [INFO] [stderr] 317 | for i in 0 .. chunk_count{ [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `hubs` (test "hubs_test_basic") generated 1 warning [INFO] [stderr] warning: `hubs` (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/hubs-9854a0881011fa9b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/hubs_test_basic.rs (/opt/rustwide/target/debug/deps/hubs_test_basic-74ce94912ea8ed08) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test tests::test_stress_large ... ignored, takes a while [INFO] [stdout] test tests::test_iterator_drop_clears ... ok [INFO] [stdout] test tests::test_dirty_write ... ok [INFO] [stdout] test tests::test_weird_api_stuff ... ok [INFO] [stdout] test tests::test_write_single ... ok [INFO] [stdout] test tests::test_with_default ... ok [INFO] [stdout] test tests::test_with_capacity ... ok [INFO] [stdout] test tests::test_basic_usage ... ok [INFO] [stdout] test tests::test_full ... ok [INFO] [stdout] test tests::test_reading_does_not_modify_writeability ... ok [INFO] [stdout] test tests::test_cannot_get_two_writeable_chunks - should panic ... ok [INFO] [stdout] test tests::test_refill ... ok [INFO] [stdout] test tests::test_stress_small ... ok [INFO] [stderr] Doc-tests hubs [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - Hubs (line 33) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.30s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "843268cf6318374e0e8a739e131a87530b98de573e8ee6f4dd1a360d8d217673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "843268cf6318374e0e8a739e131a87530b98de573e8ee6f4dd1a360d8d217673", kill_on_drop: false }` [INFO] [stdout] 843268cf6318374e0e8a739e131a87530b98de573e8ee6f4dd1a360d8d217673