[INFO] fetching crate olm-rs 2.2.0... [INFO] testing olm-rs-2.2.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate olm-rs 2.2.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate olm-rs 2.2.0 [INFO] finished tweaking crates.io crate olm-rs 2.2.0 [INFO] tweaked toml for crates.io crate olm-rs 2.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate olm-rs 2.2.0 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding base64 v0.11.0 (available: v0.22.1) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.4) [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] Downloading crates ... [INFO] [stderr] Downloaded olm-sys v1.3.2 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 717ffb3bc4789e5a140ff8b70aa962c51f712667df1d25b5036b79ad19a0f85b [INFO] running `Command { std: "docker" "start" "-a" "717ffb3bc4789e5a140ff8b70aa962c51f712667df1d25b5036b79ad19a0f85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "717ffb3bc4789e5a140ff8b70aa962c51f712667df1d25b5036b79ad19a0f85b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "717ffb3bc4789e5a140ff8b70aa962c51f712667df1d25b5036b79ad19a0f85b", kill_on_drop: false }` [INFO] [stdout] 717ffb3bc4789e5a140ff8b70aa962c51f712667df1d25b5036b79ad19a0f85b [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c48334f98a7bda49704d4c127ca9d8dd56923129d4aba4d3fbac259edfb4cd8 [INFO] running `Command { std: "docker" "start" "-a" "0c48334f98a7bda49704d4c127ca9d8dd56923129d4aba4d3fbac259edfb4cd8", kill_on_drop: false }` [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling olm-sys v1.3.2 [INFO] [stderr] Compiling olm-rs v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let size = unsafe { (*self.0).len() }; [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [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: `&[u8]` [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let size = unsafe { (*self.0).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] 165 | let size = unsafe { (&(*self.0)).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn values(&self) -> Values { [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] 72 | pub fn values(&self) -> Values<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn keys(&self) -> Keys { [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] 77 | pub fn keys(&self) -> Keys<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> Iter { [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] 82 | pub fn iter(&self) -> Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn values(&self) -> Values> { [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] 136 | pub fn values(&self) -> Values<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn keys(&self) -> Keys> { [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] 141 | pub fn keys(&self) -> Keys<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter(&self) -> Iter> { [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] 147 | pub fn iter(&self) -> Iter<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.78s [INFO] running `Command { std: "docker" "inspect" "0c48334f98a7bda49704d4c127ca9d8dd56923129d4aba4d3fbac259edfb4cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c48334f98a7bda49704d4c127ca9d8dd56923129d4aba4d3fbac259edfb4cd8", kill_on_drop: false }` [INFO] [stdout] 0c48334f98a7bda49704d4c127ca9d8dd56923129d4aba4d3fbac259edfb4cd8 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a174d0c8be9850c0673572024cb704cdc2f2a4418d68a9e38d5b1f14e28a2430 [INFO] running `Command { std: "docker" "start" "-a" "a174d0c8be9850c0673572024cb704cdc2f2a4418d68a9e38d5b1f14e28a2430", kill_on_drop: false }` [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling json v0.12.4 [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let size = unsafe { (*self.0).len() }; [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [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: `&[u8]` [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let size = unsafe { (*self.0).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] 165 | let size = unsafe { (&(*self.0)).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn values(&self) -> Values { [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] 72 | pub fn values(&self) -> Values<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn keys(&self) -> Keys { [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] 77 | pub fn keys(&self) -> Keys<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> Iter { [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] 82 | pub fn iter(&self) -> Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn values(&self) -> Values> { [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] 136 | pub fn values(&self) -> Values<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn keys(&self) -> Keys> { [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] 141 | pub fn keys(&self) -> Keys<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter(&self) -> Iter> { [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] 147 | pub fn iter(&self) -> Iter<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling olm-rs v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let size = unsafe { (*self.0).len() }; [INFO] [stdout] | ^^------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*mut [u8]` [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: `&[u8]` [INFO] [stdout] --> src/lib.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | let size = unsafe { (*self.0).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] 165 | let size = unsafe { (&(*self.0)).len() }; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:72:19 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn values(&self) -> Values { [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] 72 | pub fn values(&self) -> Values<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn keys(&self) -> Keys { [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] 77 | pub fn keys(&self) -> Keys<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn iter(&self) -> Iter { [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] 82 | pub fn iter(&self) -> Iter<'_, String, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | pub fn values(&self) -> Values> { [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] 136 | pub fn values(&self) -> Values<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn keys(&self) -> Keys> { [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] 141 | pub fn keys(&self) -> Keys<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/account.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn iter(&self) -> Iter> { [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] 147 | pub fn iter(&self) -> Iter<'_, String, HashMap> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.87s [INFO] running `Command { std: "docker" "inspect" "a174d0c8be9850c0673572024cb704cdc2f2a4418d68a9e38d5b1f14e28a2430", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a174d0c8be9850c0673572024cb704cdc2f2a4418d68a9e38d5b1f14e28a2430", kill_on_drop: false }` [INFO] [stdout] a174d0c8be9850c0673572024cb704cdc2f2a4418d68a9e38d5b1f14e28a2430 [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 58c0a6fe31ac7cef2e035c53c8c16164aef4e70acd5172503347f04c2f13304f [INFO] running `Command { std: "docker" "start" "-a" "58c0a6fe31ac7cef2e035c53c8c16164aef4e70acd5172503347f04c2f13304f", kill_on_drop: false }` [INFO] [stderr] warning: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stderr] --> src/lib.rs:165:29 [INFO] [stderr] | [INFO] [stderr] 165 | let size = unsafe { (*self.0).len() }; [INFO] [stderr] | ^^------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this raw pointer has type `*mut [u8]` [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: `&[u8]` [INFO] [stderr] --> src/lib.rs:165:29 [INFO] [stderr] | [INFO] [stderr] 165 | let size = unsafe { (*self.0).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] 165 | let size = unsafe { (&(*self.0)).len() }; [INFO] [stderr] | ++ + [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:72:19 [INFO] [stderr] | [INFO] [stderr] 72 | pub fn values(&self) -> Values { [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] 72 | pub fn values(&self) -> Values<'_, String, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | pub fn keys(&self) -> Keys { [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] 77 | pub fn keys(&self) -> Keys<'_, String, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | pub fn iter(&self) -> Iter { [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] 82 | pub fn iter(&self) -> Iter<'_, String, String> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:136:19 [INFO] [stderr] | [INFO] [stderr] 136 | pub fn values(&self) -> Values> { [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] 136 | pub fn values(&self) -> Values<'_, String, HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:141:17 [INFO] [stderr] | [INFO] [stderr] 141 | pub fn keys(&self) -> Keys> { [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] 141 | pub fn keys(&self) -> Keys<'_, String, HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/account.rs:147:17 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn iter(&self) -> Iter> { [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] 147 | pub fn iter(&self) -> Iter<'_, String, HashMap> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `olm-rs` (lib) generated 7 warnings (run `cargo fix --lib -p olm-rs` to apply 6 suggestions) [INFO] [stderr] warning: `olm-rs` (lib test) generated 7 warnings (7 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/olm_rs-da6a5381968c1819) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test account::test::fallback_key ... ok [INFO] [stdout] test pk::test::attempt_decrypt_invalid_base64 ... ok [INFO] [stdout] test account::test::parsed_keys ... ok [INFO] [stdout] test pk::test::create_pk_sign ... ok [INFO] [stdout] test pk::test::seed_random ... ok [INFO] [stdout] test pk::test::invalid_seed ... ok [INFO] [stdout] test pk::test::encrypt_a_message ... ok [INFO] [stdout] test sas::test::test_set_pubkey ... ok [INFO] [stdout] test sas::test::test_calculate_mac ... ok [INFO] [stdout] test pk::test::pickle ... ok [INFO] [stdout] test sas::test::test_generate_bytes ... ok [INFO] [stdout] test pk::test::sign_a_message ... ok [INFO] [stdout] test sas::test::test_creation ... ok [INFO] [stdout] test pk::test::invalid_decrypt ... ok [INFO] [stdout] test session::test::message_type ... ok [INFO] [stdout] test pk::test::invalid_unpickle ... ok [INFO] [stderr] Running tests/account.rs (/opt/rustwide/target/debug/deps/account-a0a469adfb0cdda5) [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test identity_keys_valid ... ok [INFO] [stdout] test signatures_valid ... ok [INFO] [stdout] test remove_one_time_keys ... ok [INFO] [stdout] test one_time_keys_valid ... ok [INFO] [stdout] test remove_one_time_keys_fails - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Running tests/group_session.rs (/opt/rustwide/target/debug/deps/group_session-1979c35654f649eb) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test group_session_crypto_valid ... ok [INFO] [stdout] test group_session_pickling_valid ... ok [INFO] [stdout] test group_session_decrypting_invalid_base64_returns_error ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/mod.rs (/opt/rustwide/target/debug/deps/mod-7c8712a4ef7eeed0) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test library_version_valid ... ok [INFO] [stdout] test sha256_valid ... ok [INFO] [stdout] test operational_rng ... ok [INFO] [stderr] Running tests/pickling.rs (/opt/rustwide/target/debug/deps/pickling-5067f21b373c08af) [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test account_pickling_fails_on_wrong_key ... ok [INFO] [stdout] test session_pickling_fails_on_wrong_key ... ok [INFO] [stdout] test session_pickling_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running tests/session.rs (/opt/rustwide/target/debug/deps/session-38d6a37f2cc70b40) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test correct_session_ordering ... ok [INFO] [stdout] test olm_outbound_session_creation ... ok [INFO] [stdout] test olm_encrypt_decrypt ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests olm_rs [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/account.rs - account::OlmAccount (line 33) ... ok [INFO] [stdout] test src/sas.rs - sas (line 19) ... ok [INFO] [stdout] test src/account.rs - account::OlmAccount::pickle (line 207) ... ok [INFO] [stdout] test src/pk.rs - pk::OlmPkSigning::public_key (line 514) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.67s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "58c0a6fe31ac7cef2e035c53c8c16164aef4e70acd5172503347f04c2f13304f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58c0a6fe31ac7cef2e035c53c8c16164aef4e70acd5172503347f04c2f13304f", kill_on_drop: false }` [INFO] [stdout] 58c0a6fe31ac7cef2e035c53c8c16164aef4e70acd5172503347f04c2f13304f