[INFO] fetching crate crosvm_data_model 0.1.0-gamma.0... [INFO] testing crosvm_data_model-0.1.0-gamma.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate crosvm_data_model 0.1.0-gamma.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate crosvm_data_model 0.1.0-gamma.0 [INFO] finished tweaking crates.io crate crosvm_data_model 0.1.0-gamma.0 [INFO] tweaked toml for crates.io crate crosvm_data_model 0.1.0-gamma.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate crosvm_data_model 0.1.0-gamma.0 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] [stderr] Updating crates.io index [INFO] [stderr] Locking 16 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.17) [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded remain v0.2.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] a014bac89c3d9451b94ee9b4d63d7170e4c06e65fff94bb79462e40efe98af94 [INFO] running `Command { std: "docker" "start" "-a" "a014bac89c3d9451b94ee9b4d63d7170e4c06e65fff94bb79462e40efe98af94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a014bac89c3d9451b94ee9b4d63d7170e4c06e65fff94bb79462e40efe98af94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a014bac89c3d9451b94ee9b4d63d7170e4c06e65fff94bb79462e40efe98af94", kill_on_drop: false }` [INFO] [stdout] a014bac89c3d9451b94ee9b4d63d7170e4c06e65fff94bb79462e40efe98af94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 987b4a64021eb64c515a54b9c699adb83c0e7897a5aa8cd0f2442b8b77035d53 [INFO] running `Command { std: "docker" "start" "-a" "987b4a64021eb64c515a54b9c699adb83c0e7897a5aa8cd0f2442b8b77035d53", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling remain v0.2.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling crosvm_data_model v0.1.0-gamma.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_ref(&self, offset: usize) -> Result> { [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] 85 | fn get_ref(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice { [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] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn as_iobuf(&self) -> &IoBufMut { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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 as_iobuf(&self) -> &IoBufMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.71s [INFO] running `Command { std: "docker" "inspect" "987b4a64021eb64c515a54b9c699adb83c0e7897a5aa8cd0f2442b8b77035d53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "987b4a64021eb64c515a54b9c699adb83c0e7897a5aa8cd0f2442b8b77035d53", kill_on_drop: false }` [INFO] [stdout] 987b4a64021eb64c515a54b9c699adb83c0e7897a5aa8cd0f2442b8b77035d53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7734cae114c5cf10aa2db30520d686facd9138a845f5007252c9d74c71e26068 [INFO] running `Command { std: "docker" "start" "-a" "7734cae114c5cf10aa2db30520d686facd9138a845f5007252c9d74c71e26068", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling crosvm_data_model v0.1.0-gamma.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_ref(&self, offset: usize) -> Result> { [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] 85 | fn get_ref(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice { [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] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn as_iobuf(&self) -> &IoBufMut { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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 as_iobuf(&self) -> &IoBufMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result; [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:85:29 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_ref(&self, offset: usize) -> Result> { [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] 85 | fn get_ref(&self, offset: usize) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:103:21 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice { [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] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:147:21 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn as_iobuf(&self) -> &IoBufMut { [INFO] [stdout] | ^^^^^ --------- [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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 as_iobuf(&self) -> &IoBufMut<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:318:18 [INFO] [stdout] | [INFO] [stdout] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/volatile_memory.rs:421:22 [INFO] [stdout] | [INFO] [stdout] 421 | fn get_slice(&self, offset: usize, count: usize) -> Result { [INFO] [stdout] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 421 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.06s [INFO] running `Command { std: "docker" "inspect" "7734cae114c5cf10aa2db30520d686facd9138a845f5007252c9d74c71e26068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7734cae114c5cf10aa2db30520d686facd9138a845f5007252c9d74c71e26068", kill_on_drop: false }` [INFO] [stdout] 7734cae114c5cf10aa2db30520d686facd9138a845f5007252c9d74c71e26068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] fff84151ddff653a7818ba087ec25201fe47fb51d904b8047497bcbbf30204ef [INFO] running `Command { std: "docker" "start" "-a" "fff84151ddff653a7818ba087ec25201fe47fb51d904b8047497bcbbf30204ef", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/volatile_memory.rs:82:18 [INFO] [stderr] | [INFO] [stderr] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result; [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 82 | fn get_slice(&self, offset: usize, count: usize) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/volatile_memory.rs:85:29 [INFO] [stderr] | [INFO] [stderr] 85 | fn get_ref(&self, offset: usize) -> Result> { [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] 85 | fn get_ref(&self, offset: usize) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/volatile_memory.rs:103:21 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice { [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] 103 | pub fn new(buf: &mut [u8]) -> VolatileSlice<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/volatile_memory.rs:147:21 [INFO] [stderr] | [INFO] [stderr] 147 | pub fn as_iobuf(&self) -> &IoBufMut { [INFO] [stderr] | ^^^^^ --------- [INFO] [stderr] | | || [INFO] [stderr] | | |the same lifetime is hidden here [INFO] [stderr] | | the same lifetime is elided here [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 as_iobuf(&self) -> &IoBufMut<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/volatile_memory.rs:318:18 [INFO] [stderr] | [INFO] [stderr] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 318 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/volatile_memory.rs:421:22 [INFO] [stderr] | [INFO] [stderr] 421 | fn get_slice(&self, offset: usize, count: usize) -> Result { [INFO] [stderr] | ^^^^^ the lifetime is elided here ------------- the same lifetime is hidden 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] 421 | fn get_slice(&self, offset: usize, count: usize) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `crosvm_data_model` (lib) generated 5 warnings [INFO] [stderr] warning: `crosvm_data_model` (lib test) generated 6 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/crosvm_data_model-da5f2773b7e9e8f7) [INFO] [stdout] [INFO] [stdout] running 27 tests [INFO] [stdout] test data_init_tests::from_slice_alignment ... ok [INFO] [stdout] test endian::tests::test_be16::equality ... ok [INFO] [stdout] test endian::tests::test_be32::equality ... ok [INFO] [stdout] test endian::tests::test_be_size::equality ... ok [INFO] [stdout] test endian::tests::test_le16::equality ... ok [INFO] [stdout] test endian::tests::test_le32::equality ... ok [INFO] [stdout] test endian::tests::test_le_size::equality ... ok [INFO] [stdout] test endian::tests::test_sbe16::equality ... ok [INFO] [stdout] test endian::tests::test_sbe32::equality ... ok [INFO] [stdout] test endian::tests::test_le64::equality ... ok [INFO] [stdout] test endian::tests::test_sbe64::equality ... ok [INFO] [stdout] test endian::tests::test_sbe_size::equality ... ok [INFO] [stdout] test endian::tests::test_sle16::equality ... ok [INFO] [stdout] test endian::tests::test_sle32::equality ... ok [INFO] [stdout] test endian::tests::test_sle64::equality ... ok [INFO] [stdout] test endian::tests::test_sle_size::equality ... ok [INFO] [stdout] test volatile_memory::tests::ref_load ... ok [INFO] [stdout] test volatile_memory::tests::ref_oob_error ... ok [INFO] [stdout] test volatile_memory::tests::ref_oob_too_large ... ok [INFO] [stdout] test volatile_memory::tests::ref_overflow_error ... ok [INFO] [stdout] test volatile_memory::tests::ref_to_slice ... ok [INFO] [stdout] test volatile_memory::tests::slice_oob_error ... ok [INFO] [stdout] test volatile_memory::tests::slice_overflow_error ... ok [INFO] [stdout] test volatile_memory::tests::slice_size ... ok [INFO] [stdout] test volatile_memory::tests::ref_store ... ok [INFO] [stdout] test endian::tests::test_be64::equality ... ok [INFO] [stdout] test volatile_memory::tests::observe_mutate ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 27 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests crosvm_data_model [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/flexible_array.rs - flexible_array::FlexibleArray (line 46) ... ignored [INFO] [stdout] test src/flexible_array.rs - flexible_array::vec_with_array_field (line 22) ... ignored [INFO] [stdout] test src/endian.rs - endian (line 12) ... FAILED [INFO] [stdout] test src/volatile_memory.rs - volatile_memory::VolatileSlice<'a>::copy_from (line 288) ... ok [INFO] [stdout] test src/volatile_memory.rs - volatile_memory::calc_offset (line 61) ... ok [INFO] [stdout] test src/volatile_memory.rs - volatile_memory::VolatileSlice<'a>::copy_to (line 229) ... ok [INFO] [stdout] test src/volatile_memory.rs - volatile_memory::VolatileSlice<'a>::write_bytes (line 204) ... ok [INFO] [stdout] test src/volatile_memory.rs - volatile_memory::VolatileSlice<'a>::copy_to_volatile_slice (line 262) ... ok [INFO] [stdout] test src/volatile_memory.rs - volatile_memory::VolatileRef<'a,T>::size (line 368) ... ok [INFO] [stdout] test src/volatile_memory.rs - volatile_memory::VolatileRef (line 327) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/endian.rs - endian (line 12) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `data_model` [INFO] [stdout] --> src/endian.rs:13:6 [INFO] [stdout] | [INFO] [stdout] 3 | use data_model::*; [INFO] [stdout] | ^^^^^^^^^^ use of unresolved module or unlinked crate `data_model` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `data_model`, use `cargo add data_model` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/endian.rs - endian (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 7 passed; 1 failed; 2 ignored; 0 measured; 0 filtered out; finished in 0.71s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "fff84151ddff653a7818ba087ec25201fe47fb51d904b8047497bcbbf30204ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff84151ddff653a7818ba087ec25201fe47fb51d904b8047497bcbbf30204ef", kill_on_drop: false }` [INFO] [stdout] fff84151ddff653a7818ba087ec25201fe47fb51d904b8047497bcbbf30204ef