[INFO] fetching crate minimum 0.1.0... [INFO] testing minimum-0.1.0 against beta-2020-06-03 for beta-1.45-1 [INFO] extracting crate minimum 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate minimum 0.1.0 on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8aac1034c8c7478562f354c85e7d7ad021f674dc42d049b73eef30afc1def472 [INFO] running `"docker" "start" "-a" "8aac1034c8c7478562f354c85e7d7ad021f674dc42d049b73eef30afc1def472"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling hashbrown v0.5.0 [INFO] [stderr] Compiling mopa v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling minimum v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused return value of `std::option::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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.88s [INFO] running `"docker" "inspect" "8aac1034c8c7478562f354c85e7d7ad021f674dc42d049b73eef30afc1def472"` [INFO] running `"docker" "rm" "-f" "8aac1034c8c7478562f354c85e7d7ad021f674dc42d049b73eef30afc1def472"` [INFO] [stdout] 8aac1034c8c7478562f354c85e7d7ad021f674dc42d049b73eef30afc1def472 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen" "--no-run"` [INFO] [stdout] 803f57ae0889ee6258f7d3d02c09a966fc9821e0da556aefe47707c8121d0ca2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "803f57ae0889ee6258f7d3d02c09a966fc9821e0da556aefe47707c8121d0ca2"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling minimum v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused return value of `std::option::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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::option::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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.26s [INFO] running `"docker" "inspect" "803f57ae0889ee6258f7d3d02c09a966fc9821e0da556aefe47707c8121d0ca2"` [INFO] running `"docker" "rm" "-f" "803f57ae0889ee6258f7d3d02c09a966fc9821e0da556aefe47707c8121d0ca2"` [INFO] [stdout] 803f57ae0889ee6258f7d3d02c09a966fc9821e0da556aefe47707c8121d0ca2 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-06-03" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 00fa1e0455bbfbbeaa9245e502df6a9bdc2855fd7f3f74a3e5e0bda4944fc48e [INFO] running `"docker" "start" "-a" "00fa1e0455bbfbbeaa9245e502df6a9bdc2855fd7f3f74a3e5e0bda4944fc48e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unused return value of `std::option::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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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] | ^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::option::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: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you intended to assert that this has a value, consider `.unwrap()` instead [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/minimum-3af316df037f8b6b [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test entity::tests::test_add_get_remove_component ... ok [INFO] [stdout] test entity::tests::test_entity_count ... ok [INFO] [stdout] test slab::gen_slab::tests::test_allocate_deallocate_one ... ok [INFO] [stdout] test slab::gen_slab::tests::test_allocate_deallocate_fifo ... ok [INFO] [stdout] test entity::tests::test_destroy_entity_releases_components ... ok [INFO] [stdout] test slab::gen_slab::tests::test_allocate_deallocate_lifo ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_mut_fail_generation ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_mut_fail_out_of_range ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_fail_generation ... ok [INFO] [stdout] test entity::tests::iterate_entities_with_components ... ok [INFO] [stdout] test entity::tests::test_get_entity ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_mut_success ... ok [INFO] [stdout] test entity::tests::test_get_entity_mut ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_success ... ok [INFO] [stdout] test slab::raw_slab::tests::test_allocate_deallocate_fifo ... ok [INFO] [stdout] test slab::raw_slab::tests::test_get_mut_fail_out_of_range ... 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::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_get_success ... ok [INFO] [stdout] test slab::raw_slab::tests::test_allocate_deallocate_lifo ... ok [INFO] [stdout] test slab::raw_slab::tests::test_allocate_deallocate_one ... ok [INFO] [stdout] test slab::gen_slab::tests::test_get_fail_out_of_range ... ok [INFO] [stdout] test systems::trust_cell::tests::allow_multiple_reads ... ok [INFO] [stdout] test slab::rc_slab::tests::test_rc_get_success ... ok [INFO] [stdout] test slab::rc_slab::tests::test_rc_get_mut_success ... ok [INFO] [stdout] test systems::trust_cell::tests::allow_single_write ... ok [INFO] [stdout] test systems::trust_cell::tests::allow_clone_reads ... ok [INFO] [stdout] test systems::trust_cell::tests::cloned_borrow_does_not_allow_write ... ok [INFO] [stdout] test slab::rc_slab::tests::test_rc_allocate_deallocate_one ... 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_map_drops_borrow ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_drops_borrow ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_box ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_map_box ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_with_non_sized_clone ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_with_trait_obj ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_with_non_sized ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_with_non_sized ... ok [INFO] [stdout] test systems::trust_cell::tests::try_write_and_write ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_preserves_flag ... 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_read ... ok [INFO] [stdout] test slab::gen_slab::tests::test_double_free ... ok [INFO] [stdout] test slab::generation::tests::test_double_free ... ok [INFO] [stdout] test slab::generation::tests::test_free_wrong_index ... ok [INFO] [stdout] test slab::raw_slab::tests::test_double_free ... ok [INFO] [stdout] test slab::generation::tests::test_double_allocate ... ok [INFO] [stdout] test systems::trust_cell::tests::panic_write_and_read ... ok [INFO] [stdout] test systems::trust_cell::tests::panic_read_and_write ... ok [INFO] [stdout] test systems::trust_cell::tests::panic_write_and_write ... ok [INFO] [stdout] test systems::trust_cell::tests::ref_mut_map_retains_mut_borrow ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests minimum [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::RefMut::map (line 188) ... FAILED [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::Ref::map (line 106) ... FAILED [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::Ref::map (line 87) ... FAILED [INFO] [stdout] test src/systems/trust_cell.rs - systems::trust_cell::RefMut::map (line 207) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::RefMut::map (line 188) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{RefMut, TrustCell}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `shred` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TrustCell` [INFO] [stdout] --> src/systems/trust_cell.rs:191:10 [INFO] [stdout] | [INFO] [stdout] 5 | let cb = TrustCell::new(Box::new(5)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `TrustCell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RefMut` [INFO] [stdout] --> src/systems/trust_cell.rs:199:35 [INFO] [stdout] | [INFO] [stdout] 13 | let pure_ref: RefMut<'_, usize> = RefMut::map(boxed_ref, Box::as_mut); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `RefMut` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefMut` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:195:16 [INFO] [stdout] | [INFO] [stdout] 9 | let boxed_ref: RefMut<'_, Box> = cb.borrow_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefMut` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:199:15 [INFO] [stdout] | [INFO] [stdout] 13 | let pure_ref: RefMut<'_, usize> = RefMut::map(boxed_ref, Box::as_mut); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::Ref::map (line 106) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{TrustCell, Ref}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `shred` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TrustCell` [INFO] [stdout] --> src/systems/trust_cell.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 5 | let c = TrustCell::new((5, 'b')); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `TrustCell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ref` [INFO] [stdout] --> src/systems/trust_cell.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 7 | let b2: Ref<'_, u32> = Ref::map(b1, |t| &t.0); [INFO] [stdout] | ^^^ use of undeclared type or module `Ref` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 6 | let b1: Ref<'_, (u32, char)> = c.borrow(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::watch::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 7 | let b2: Ref<'_, u32> = Ref::map(b1, |t| &t.0); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::watch::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::Ref::map (line 87) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{Ref, TrustCell}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `shred` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TrustCell` [INFO] [stdout] --> src/systems/trust_cell.rs:90:10 [INFO] [stdout] | [INFO] [stdout] 5 | let cb = TrustCell::new(Box::new(5)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `TrustCell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Ref` [INFO] [stdout] --> src/systems/trust_cell.rs:98:32 [INFO] [stdout] | [INFO] [stdout] 13 | let pure_ref: Ref<'_, usize> = Ref::map(boxed_ref, Box::as_ref); [INFO] [stdout] | ^^^ use of undeclared type or module `Ref` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:94:16 [INFO] [stdout] | [INFO] [stdout] 9 | let boxed_ref: Ref<'_, Box> = cb.borrow(); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::watch::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Ref` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:98:15 [INFO] [stdout] | [INFO] [stdout] 13 | let pure_ref: Ref<'_, usize> = Ref::map(boxed_ref, Box::as_ref); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::Ref; [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::sync::watch::Ref; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/systems/trust_cell.rs - systems::trust_cell::RefMut::map (line 207) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `shred` [INFO] [stdout] --> src/systems/trust_cell.rs:208:5 [INFO] [stdout] | [INFO] [stdout] 3 | use shred::cell::{TrustCell, RefMut}; [INFO] [stdout] | ^^^^^ use of undeclared type or module `shred` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `TrustCell` [INFO] [stdout] --> src/systems/trust_cell.rs:210:9 [INFO] [stdout] | [INFO] [stdout] 5 | let c = TrustCell::new((5, 'b')); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type or module `TrustCell` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `RefMut` [INFO] [stdout] --> src/systems/trust_cell.rs:213:27 [INFO] [stdout] | [INFO] [stdout] 8 | let b2: RefMut<'_, u32> = RefMut::map(b1, |t| &mut t.0); [INFO] [stdout] | ^^^^^^ use of undeclared type or module `RefMut` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefMut` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 7 | let b1: RefMut<'_, (u32, char)> = c.borrow_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefMut` in this scope [INFO] [stdout] --> src/systems/trust_cell.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 8 | let b2: RefMut<'_, u32> = RefMut::map(b1, |t| &mut t.0); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 | use core::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use minimum::systems::RefMut; [INFO] [stdout] | [INFO] [stdout] 2 | use std::cell::RefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::Ref::map (line 106) [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::Ref::map (line 87) [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::RefMut::map (line 188) [INFO] [stdout] src/systems/trust_cell.rs - systems::trust_cell::RefMut::map (line 207) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "00fa1e0455bbfbbeaa9245e502df6a9bdc2855fd7f3f74a3e5e0bda4944fc48e"` [INFO] running `"docker" "rm" "-f" "00fa1e0455bbfbbeaa9245e502df6a9bdc2855fd7f3f74a3e5e0bda4944fc48e"` [INFO] [stdout] 00fa1e0455bbfbbeaa9245e502df6a9bdc2855fd7f3f74a3e5e0bda4944fc48e