[INFO] fetching crate minimum 0.1.0... [INFO] testing minimum-0.1.0 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate minimum 0.1.0 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate minimum 0.1.0 [INFO] finished tweaking crates.io crate minimum 0.1.0 [INFO] tweaked toml for crates.io crate minimum 0.1.0 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate minimum 0.1.0 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding hashbrown v0.5.0 (available: v0.16.0) [INFO] [stderr] Adding tokio v0.1.22 (available: v1.47.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6f6b24ecb5692337c92346370942a71f5fc8258d3a8bad9f305d0df832bbc1b [INFO] running `Command { std: "docker" "start" "-a" "a6f6b24ecb5692337c92346370942a71f5fc8258d3a8bad9f305d0df832bbc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6f6b24ecb5692337c92346370942a71f5fc8258d3a8bad9f305d0df832bbc1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6f6b24ecb5692337c92346370942a71f5fc8258d3a8bad9f305d0df832bbc1b", kill_on_drop: false }` [INFO] [stdout] a6f6b24ecb5692337c92346370942a71f5fc8258d3a8bad9f305d0df832bbc1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64c165db9a49a11bbcf1b0a5608f169e50923f81a9db91df76d8afb8fd300a5a [INFO] running `Command { std: "docker" "start" "-a" "64c165db9a49a11bbcf1b0a5608f169e50923f81a9db91df76d8afb8fd300a5a", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling minimum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/systems/trust_cell.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/systems/trust_cell.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/systems/trust_cell.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 366 | if self.flag.compare_and_swap(val, val + 1, Ordering::AcqRel) == val { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/systems/trust_cell.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | match self.flag.compare_and_swap(0, usize::MAX, Ordering::AcqRel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::is_some` that must be used [INFO] [stdout] --> src/component/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.get(entity).is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.get(entity).is_some(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity/mod.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option { [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] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn fetch(&self) -> ReadBorrow { [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] 140 | pub fn fetch(&self) -> ReadBorrow<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn try_fetch(&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] 144 | pub fn try_fetch(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn fetch_mut(&self) -> WriteBorrow { [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] 153 | pub fn fetch_mut(&self) -> WriteBorrow<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn try_fetch_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] 157 | pub fn try_fetch_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn borrow(&self) -> Ref { [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] 289 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [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] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn borrow_mut(&self) -> RefMut { [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] 321 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [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] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.13s [INFO] running `Command { std: "docker" "inspect" "64c165db9a49a11bbcf1b0a5608f169e50923f81a9db91df76d8afb8fd300a5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64c165db9a49a11bbcf1b0a5608f169e50923f81a9db91df76d8afb8fd300a5a", kill_on_drop: false }` [INFO] [stdout] 64c165db9a49a11bbcf1b0a5608f169e50923f81a9db91df76d8afb8fd300a5a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78ee696ea8fe17a82555631746ca447381d051180e869393c1cffdfdd41381b5 [INFO] running `Command { std: "docker" "start" "-a" "78ee696ea8fe17a82555631746ca447381d051180e869393c1cffdfdd41381b5", kill_on_drop: false }` [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/systems/trust_cell.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/systems/trust_cell.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/systems/trust_cell.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 366 | if self.flag.compare_and_swap(val, val + 1, Ordering::AcqRel) == val { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/systems/trust_cell.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | match self.flag.compare_and_swap(0, usize::MAX, Ordering::AcqRel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::is_some` that must be used [INFO] [stdout] --> src/component/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.get(entity).is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.get(entity).is_some(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity/mod.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option { [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] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn fetch(&self) -> ReadBorrow { [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] 140 | pub fn fetch(&self) -> ReadBorrow<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn try_fetch(&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] 144 | pub fn try_fetch(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn fetch_mut(&self) -> WriteBorrow { [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] 153 | pub fn fetch_mut(&self) -> WriteBorrow<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn try_fetch_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] 157 | pub fn try_fetch_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn borrow(&self) -> Ref { [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] 289 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [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] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn borrow_mut(&self) -> RefMut { [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] 321 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [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] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling minimum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> examples/hello_world.rs:25:30 [INFO] [stdout] | [INFO] [stdout] 25 | type RequiredResources = (Write); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 25 - type RequiredResources = (Write); [INFO] [stdout] 25 + type RequiredResources = Write; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/systems/trust_cell.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | #[cfg(feature = "nightly")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `nightly` [INFO] [stdout] --> src/systems/trust_cell.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | #[cfg(not(feature = "nightly"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/systems/trust_cell.rs:366:26 [INFO] [stdout] | [INFO] [stdout] 366 | if self.flag.compare_and_swap(val, val + 1, Ordering::AcqRel) == val { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stdout] --> src/systems/trust_cell.rs:377:25 [INFO] [stdout] | [INFO] [stdout] 377 | match self.flag.compare_and_swap(0, usize::MAX, Ordering::AcqRel) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Option::::is_some` that must be used [INFO] [stdout] --> src/component/mod.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | self.get(entity).is_some(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 38 | let _ = self.get(entity).is_some(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/entity/mod.rs:93:27 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option { [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] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:140:31 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn fetch(&self) -> ReadBorrow { [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] 140 | pub fn fetch(&self) -> ReadBorrow<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:144:35 [INFO] [stdout] | [INFO] [stdout] 144 | pub fn try_fetch(&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] 144 | pub fn try_fetch(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:153:35 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn fetch_mut(&self) -> WriteBorrow { [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] 153 | pub fn fetch_mut(&self) -> WriteBorrow<'_, R> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/mod.rs:157:39 [INFO] [stdout] | [INFO] [stdout] 157 | pub fn try_fetch_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] 157 | pub fn try_fetch_mut(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:289:19 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn borrow(&self) -> Ref { [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] 289 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [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] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | pub fn borrow_mut(&self) -> RefMut { [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] 321 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/systems/trust_cell.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [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] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.49s [INFO] running `Command { std: "docker" "inspect" "78ee696ea8fe17a82555631746ca447381d051180e869393c1cffdfdd41381b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78ee696ea8fe17a82555631746ca447381d051180e869393c1cffdfdd41381b5", kill_on_drop: false }` [INFO] [stdout] 78ee696ea8fe17a82555631746ca447381d051180e869393c1cffdfdd41381b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9a3a445ca5367a0cb9aedf1f9653fd5d7dd6da3e58f76eb4fd1c5d2d2e31cc01 [INFO] running `Command { std: "docker" "start" "-a" "9a3a445ca5367a0cb9aedf1f9653fd5d7dd6da3e58f76eb4fd1c5d2d2e31cc01", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/systems/trust_cell.rs:22:7 [INFO] [stderr] | [INFO] [stderr] 22 | #[cfg(feature = "nightly")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `nightly` [INFO] [stderr] --> src/systems/trust_cell.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | #[cfg(not(feature = "nightly"))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `nightly` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/systems/trust_cell.rs:366:26 [INFO] [stderr] | [INFO] [stderr] 366 | if self.flag.compare_and_swap(val, val + 1, Ordering::AcqRel) == val { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead [INFO] [stderr] --> src/systems/trust_cell.rs:377:25 [INFO] [stderr] | [INFO] [stderr] 377 | match self.flag.compare_and_swap(0, usize::MAX, Ordering::AcqRel) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `Option::::is_some` that must be used [INFO] [stderr] --> src/component/mod.rs:38:9 [INFO] [stderr] | [INFO] [stderr] 38 | self.get(entity).is_some(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 38 | let _ = self.get(entity).is_some(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/entity/mod.rs:93:27 [INFO] [stderr] | [INFO] [stderr] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option { [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] 93 | pub fn get_entity_ref(&self, entity_handle: &EntityHandle) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/mod.rs:140:31 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn fetch(&self) -> ReadBorrow { [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] 140 | pub fn fetch(&self) -> ReadBorrow<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/mod.rs:144:35 [INFO] [stderr] | [INFO] [stderr] 144 | pub fn try_fetch(&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] 144 | pub fn try_fetch(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/mod.rs:153:35 [INFO] [stderr] | [INFO] [stderr] 153 | pub fn fetch_mut(&self) -> WriteBorrow { [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] 153 | pub fn fetch_mut(&self) -> WriteBorrow<'_, R> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/mod.rs:157:39 [INFO] [stderr] | [INFO] [stderr] 157 | pub fn try_fetch_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] 157 | pub fn try_fetch_mut(&self) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/trust_cell.rs:289:19 [INFO] [stderr] | [INFO] [stderr] 289 | pub fn borrow(&self) -> Ref { [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] 289 | pub fn borrow(&self) -> Ref<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/trust_cell.rs:304:23 [INFO] [stderr] | [INFO] [stderr] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [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] 304 | pub fn try_borrow(&self) -> Result, InvalidBorrow> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/trust_cell.rs:321:23 [INFO] [stderr] | [INFO] [stderr] 321 | pub fn borrow_mut(&self) -> RefMut { [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] 321 | pub fn borrow_mut(&self) -> RefMut<'_, T> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/systems/trust_cell.rs:336:27 [INFO] [stderr] | [INFO] [stderr] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [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] 336 | pub fn try_borrow_mut(&self) -> Result, InvalidBorrow> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `minimum` (lib) generated 14 warnings (run `cargo fix --lib -p minimum` to apply 9 suggestions) [INFO] [stderr] warning: `minimum` (lib test) generated 14 warnings (14 duplicates) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> examples/hello_world.rs:25:30 [INFO] [stderr] | [INFO] [stderr] 25 | type RequiredResources = (Write); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 25 - type RequiredResources = (Write); [INFO] [stderr] 25 + type RequiredResources = Write; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `minimum` (example "hello_world") generated 1 warning (run `cargo fix --example "hello_world"` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/minimum-ee83e1753f9fd2a3) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test entity::tests::test_add_get_remove_component ... ok [INFO] [stdout] test entity::tests::test_destroy_entity_releases_components ... ok [INFO] [stdout] test entity::tests::iterate_entities_with_components ... ok [INFO] [stdout] test entity::tests::test_get_entity ... ok [INFO] [stdout] test entity::tests::test_entity_count ... ok [INFO] [stdout] test entity::tests::test_get_entity_mut ... ok [INFO] [stdout] test slab::gen_slab::tests::test_allocate_deallocate_fifo ... ok [INFO] [stdout] test slab::gen_slab::tests::test_allocate_deallocate_lifo ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_fail_out_of_range ... ok [INFO] [stdout] test slab::gen_slab::tests::test_allocate_deallocate_one ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_mut_fail_generation ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_fail_generation ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_mut_fail_out_of_range ... ok [INFO] [stdout] test slab::generation::tests::test_generation_get ... ok [INFO] [stdout] test slab::generation::tests::test_generation_get_mut ... ok [INFO] [stdout] test slab::raw_slab::tests::test_allocate_deallocate_one ... ok [INFO] [stdout] test slab::raw_slab::tests::test_get_fail_out_of_range ... ok [INFO] [stdout] test slab::raw_slab::tests::test_get_mut_success ... ok [INFO] [stdout] test slab::raw_slab::tests::test_get_success ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_mut_success ... ok [INFO] [stdout] test slab::raw_slab::tests::test_allocate_deallocate_fifo ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_success ... ok [INFO] [stdout] test slab::rc_slab::tests::test_rc_allocate_deallocate_one ... ok [INFO] [stdout] test slab::rc_slab::tests::test_rc_get_mut_success ... ok [INFO] [stdout] test slab::rc_slab::tests::test_rc_get_success ... ok [INFO] [stdout] test slab::raw_slab::tests::test_allocate_deallocate_lifo ... ok [INFO] [stdout] test systems::trust_cell::tests::allow_clone_reads ... ok [INFO] [stdout] test systems::trust_cell::tests::allow_multiple_reads ... ok [INFO] [stdout] test systems::trust_cell::tests::cloned_borrow_does_not_allow_write ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_map_box ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_map_preserves_flag ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_map_retains_borrow ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_box ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_drops_borrow ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_preserves_flag ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_with_non_sized ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_with_trait_obj ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_with_non_sized ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_with_non_sized_clone ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_with_trait_obj ... ok [INFO] [stdout] test systems::trust_cell::tests::try_read_and_write ... ok [INFO] [stdout] test systems::trust_cell::tests::try_write_and_write ... ok [INFO] [stdout] test slab::raw_slab::tests::test_get_mut_fail_out_of_range ... ok [INFO] [stdout] test systems::trust_cell::tests::allow_single_write ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_map_drops_borrow ... ok [INFO] [stdout] test systems::trust_cell::tests::try_write_and_read ... ok [INFO] [stdout] test slab::gen_slab::tests::test_double_free - should panic ... ok [INFO] [stdout] test slab::generation::tests::test_double_allocate - should panic ... ok [INFO] [stdout] test slab::generation::tests::test_double_free - should panic ... ok [INFO] [stdout] test slab::generation::tests::test_free_wrong_index - should panic ... ok [INFO] [stdout] test slab::raw_slab::tests::test_double_free - should panic ... ok [INFO] [stdout] test systems::trust_cell::tests::panic_read_and_write - should panic ... ok [INFO] [stdout] test systems::trust_cell::tests::panic_write_and_read - should panic ... ok [INFO] [stderr] Doc-tests minimum [INFO] [stdout] test systems::trust_cell::tests::panic_write_and_write - should panic ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_retains_mut_borrow - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::Ref<'a,T>::map (line 106) ... FAILED [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::Ref<'a,T>::map (line 87) ... FAILED [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::RefMut<'a,T>::map (line 188) ... FAILED [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::RefMut<'a,T>::map (line 207) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::Ref<'a,T>::map (line 106) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{TrustCell, Ref}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shred`, use `cargo add shred` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::Ref<'a,T>::map (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{Ref, TrustCell}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shred`, use `cargo add shred` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::RefMut<'a,T>::map (line 188) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{RefMut, TrustCell}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shred`, use `cargo add shred` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::RefMut<'a,T>::map (line 207) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{TrustCell, RefMut}; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `shred` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `shred`, use `cargo add shred` 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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::Ref<'a,T>::map (line 106) [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::Ref<'a,T>::map (line 87) [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::RefMut<'a,T>::map (line 188) [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::RefMut<'a,T>::map (line 207) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "9a3a445ca5367a0cb9aedf1f9653fd5d7dd6da3e58f76eb4fd1c5d2d2e31cc01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a3a445ca5367a0cb9aedf1f9653fd5d7dd6da3e58f76eb4fd1c5d2d2e31cc01", kill_on_drop: false }` [INFO] [stdout] 9a3a445ca5367a0cb9aedf1f9653fd5d7dd6da3e58f76eb4fd1c5d2d2e31cc01