[INFO] fetching crate tribles 0.5.1... [INFO] checking tribles-0.5.1 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate tribles 0.5.1 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate tribles 0.5.1 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate tribles 0.5.1 [INFO] tweaked toml for crates.io crate tribles 0.5.1 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tribles 0.5.1 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tribles 0.5.1 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d62820102d25c4eb7f11b6a756ce8047f87000da99fa772e789052a2aa601ebc [INFO] running `Command { std: "docker" "start" "-a" "d62820102d25c4eb7f11b6a756ce8047f87000da99fa772e789052a2aa601ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d62820102d25c4eb7f11b6a756ce8047f87000da99fa772e789052a2aa601ebc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d62820102d25c4eb7f11b6a756ce8047f87000da99fa772e789052a2aa601ebc", kill_on_drop: false }` [INFO] [stdout] d62820102d25c4eb7f11b6a756ce8047f87000da99fa772e789052a2aa601ebc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b6e0c17a8cd3da8e57317c8b875786b4eb6637703c4082d1c1955aa385f12eb [INFO] running `Command { std: "docker" "start" "-a" "0b6e0c17a8cd3da8e57317c8b875786b4eb6637703c4082d1c1955aa385f12eb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling rustversion v1.0.19 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Checking bytes v1.7.2 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Compiling macro_pub v0.1.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking criterion-plot v0.4.5 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking sized-chunks v0.6.5 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Compiling xxhash-rust v0.8.12 [INFO] [stderr] Compiling tribles v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking f256_pow2_div_pow5_lut v0.1.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking f256_pow10_div_pow2_lut v0.1.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking f256_pow5_div_pow2_lut v0.1.1 [INFO] [stderr] Checking f256_pow2_div_pow10_lut v0.2.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking memmap2 v0.9.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking deunicode v1.6.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking coz v0.1.3 [INFO] [stderr] Checking sucds v0.8.1 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Checking ux v0.1.6 [INFO] [stderr] Checking indxvec v1.9.6 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling hex-literal v0.3.4 [INFO] [stderr] Checking sptr v0.3.2 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking bytemuck v1.18.0 [INFO] [stderr] Checking peak_alloc v0.1.0 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking f256 v0.2.0 [INFO] [stderr] Compiling snafu-derive v0.7.5 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling derive_arbitrary v1.3.2 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking arbitrary v1.3.2 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking snafu v0.7.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking anybytes v0.11.0 [INFO] [stderr] Checking quick_cache v0.6.9 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking fake v2.10.0 [INFO] [stderr] Checking proptest v1.6.0 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking hifitime v3.9.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking object_store v0.10.2 [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(nightly, feature(rustc_attrs))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `rustc_attrs` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:2:30 [INFO] [stdout] | [INFO] [stdout] 2 | #![cfg_attr(nightly, feature(rustc_attrs))] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/patch.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sptr::Strict` [INFO] [stdout] --> src/patch.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use sptr::Strict; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/id.rs:578:25 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn defer_insert(&self, id: ExclusiveId) -> OwnedId { [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] 578 | pub fn defer_insert(&self, id: ExclusiveId) -> OwnedId<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { transmute((*body.as_ptr()).child_table.len().ilog2() as u8) } [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { transmute((*body.as_ptr()).child_table.len().ilog2() as u8) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114: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] 47 | unsafe { transmute((&(*body.as_ptr()).child_table).len().ilog2() as u8) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 112 | let size = (&(*branch).child_table).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 130 | let size = (&(*branch).child_table).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let old_size = (*branch).child_table.len(); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let old_size = (*branch).child_table.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 162 | let old_size = (&(*branch).child_table).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trible/tribleset.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter(&self) -> TribleSetIterator { [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] 113 | pub fn iter(&self) -> TribleSetIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tribles` (lib) due to 4 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/id.rs:578:25 [INFO] [stdout] | [INFO] [stdout] 578 | pub fn defer_insert(&self, id: ExclusiveId) -> OwnedId { [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] 578 | pub fn defer_insert(&self, id: ExclusiveId) -> OwnedId<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { transmute((*body.as_ptr()).child_table.len().ilog2() as u8) } [INFO] [stdout] | ^^-------------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:47:28 [INFO] [stdout] | [INFO] [stdout] 47 | unsafe { transmute((*body.as_ptr()).child_table.len().ilog2() as u8) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114: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] 47 | unsafe { transmute((&(*body.as_ptr()).child_table).len().ilog2() as u8) } [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 112 | let size = (&(*branch).child_table).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:130:28 [INFO] [stdout] | [INFO] [stdout] 130 | let size = (*branch).child_table.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 130 | let size = (&(*branch).child_table).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/patch/branch.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let old_size = (*branch).child_table.len(); [INFO] [stdout] | ^^------^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut patch::branch::Branch>]>` [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: `&[Option>]` [INFO] [stdout] --> src/patch/branch.rs:162:28 [INFO] [stdout] | [INFO] [stdout] 162 | let old_size = (*branch).child_table.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: method calls to `len` require a reference [INFO] [stdout] --> /rustc/c659ee110de67e82444e4b6c8407c1a9af9c2cf6/library/core/src/slice/mod.rs:114:5 [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 162 | let old_size = (&(*branch).child_table).len(); [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trible/tribleset.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn iter(&self) -> TribleSetIterator { [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] 113 | pub fn iter(&self) -> TribleSetIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tribles` (lib test) due to 4 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0b6e0c17a8cd3da8e57317c8b875786b4eb6637703c4082d1c1955aa385f12eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b6e0c17a8cd3da8e57317c8b875786b4eb6637703c4082d1c1955aa385f12eb", kill_on_drop: false }` [INFO] [stdout] 0b6e0c17a8cd3da8e57317c8b875786b4eb6637703c4082d1c1955aa385f12eb