[INFO] fetching crate owning_ref_lockable 0.4.2... [INFO] testing owning_ref_lockable-0.4.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate owning_ref_lockable 0.4.2 into /workspace/builds/worker-23/source [INFO] validating manifest of crates.io crate owning_ref_lockable 0.4.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate owning_ref_lockable 0.4.2 [INFO] finished tweaking crates.io crate owning_ref_lockable 0.4.2 [INFO] tweaked toml for crates.io crate owning_ref_lockable 0.4.2 written to /workspace/builds/worker-23/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69e6c2fe0a8a9a5aa9fa309083aacf3293cef1a2e40372f9419a2092540a5285 [INFO] running `Command { std: "docker" "start" "-a" "69e6c2fe0a8a9a5aa9fa309083aacf3293cef1a2e40372f9419a2092540a5285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69e6c2fe0a8a9a5aa9fa309083aacf3293cef1a2e40372f9419a2092540a5285", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69e6c2fe0a8a9a5aa9fa309083aacf3293cef1a2e40372f9419a2092540a5285", kill_on_drop: false }` [INFO] [stdout] 69e6c2fe0a8a9a5aa9fa309083aacf3293cef1a2e40372f9419a2092540a5285 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aba7d2d92f600177606fd252a0b706a81ee3d40314559bad50de04c5b6a3906c [INFO] running `Command { std: "docker" "start" "-a" "aba7d2d92f600177606fd252a0b706a81ee3d40314559bad50de04c5b6a3906c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling owning_ref_lockable v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1130:28 [INFO] [stdout] | [INFO] [stdout] 1130 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1130 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] 1130 + where O: Send, for<'a> &'a T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1132:28 [INFO] [stdout] | [INFO] [stdout] 1132 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1132 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] 1132 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1135:28 [INFO] [stdout] | [INFO] [stdout] 1135 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1135 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] 1135 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1137:28 [INFO] [stdout] | [INFO] [stdout] 1137 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1137 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] 1137 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.01s [INFO] running `Command { std: "docker" "inspect" "aba7d2d92f600177606fd252a0b706a81ee3d40314559bad50de04c5b6a3906c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aba7d2d92f600177606fd252a0b706a81ee3d40314559bad50de04c5b6a3906c", kill_on_drop: false }` [INFO] [stdout] aba7d2d92f600177606fd252a0b706a81ee3d40314559bad50de04c5b6a3906c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 392e4b9a3ce81797ab2d49a190a9b44aba0aec6b68761b93bf3bf3abc7e93eb0 [INFO] running `Command { std: "docker" "start" "-a" "392e4b9a3ce81797ab2d49a190a9b44aba0aec6b68761b93bf3bf3abc7e93eb0", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1130:28 [INFO] [stdout] | [INFO] [stdout] 1130 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1130 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] 1130 + where O: Send, for<'a> &'a T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1132:28 [INFO] [stdout] | [INFO] [stdout] 1132 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1132 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] 1132 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1135:28 [INFO] [stdout] | [INFO] [stdout] 1135 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1135 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] 1135 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1137:28 [INFO] [stdout] | [INFO] [stdout] 1137 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1137 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] 1137 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling owning_ref_lockable v0.4.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1130:28 [INFO] [stdout] | [INFO] [stdout] 1130 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1130 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stdout] 1130 + where O: Send, for<'a> &'a T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1132:28 [INFO] [stdout] | [INFO] [stdout] 1132 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1132 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stdout] 1132 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1135:28 [INFO] [stdout] | [INFO] [stdout] 1135 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1135 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stdout] 1135 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/lib.rs:1137:28 [INFO] [stdout] | [INFO] [stdout] 1137 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1137 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stdout] 1137 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.44s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/owning_ref_lockable-b8fb1c2c881f94c5) [INFO] running `Command { std: "docker" "inspect" "392e4b9a3ce81797ab2d49a190a9b44aba0aec6b68761b93bf3bf3abc7e93eb0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "392e4b9a3ce81797ab2d49a190a9b44aba0aec6b68761b93bf3bf3abc7e93eb0", kill_on_drop: false }` [INFO] [stdout] 392e4b9a3ce81797ab2d49a190a9b44aba0aec6b68761b93bf3bf3abc7e93eb0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-23/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 54ba22925f138e754c77785c818cfae64db7a3d9902908d632f9992e152119d7 [INFO] running `Command { std: "docker" "start" "-a" "54ba22925f138e754c77785c818cfae64db7a3d9902908d632f9992e152119d7", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:1130:28 [INFO] [stderr] | [INFO] [stderr] 1130 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1130 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stderr] 1130 + where O: Send, for<'a> &'a T: Send {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:1132:28 [INFO] [stderr] | [INFO] [stderr] 1132 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1132 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stderr] 1132 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:1135:28 [INFO] [stderr] | [INFO] [stderr] 1135 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1135 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stderr] 1135 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:1137:28 [INFO] [stderr] | [INFO] [stderr] 1137 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1137 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stderr] 1137 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `owning_ref_lockable` (lib) generated 4 warnings [INFO] [stderr] warning: `owning_ref_lockable` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/owning_ref_lockable-b8fb1c2c881f94c5) [INFO] [stdout] [INFO] [stdout] running 70 tests [INFO] [stdout] test tests::owning_handle::nested ... ok [INFO] [stdout] test tests::owning_handle::owning_handle ... ok [INFO] [stdout] test tests::owning_handle::nested_async ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_map ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_async ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_mut_safe ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_safe ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_safe_2 ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_safe_2_async ... ok [INFO] [stdout] test tests::owning_handle::try_owning_handle_err ... ok [INFO] [stdout] test tests::owning_handle::try_owning_handle_ok ... ok [INFO] [stdout] test tests::owning_handle::try_owning_handle_err_async ... ok [INFO] [stdout] test tests::owning_handle::try_owning_handle_ok_async ... ok [INFO] [stdout] test tests::owning_ref::as_owner ... ok [INFO] [stdout] test tests::owning_ref::borrow ... ok [INFO] [stdout] test tests::owning_ref::cmp ... ok [INFO] [stdout] test tests::owning_ref::eq ... ok [INFO] [stdout] test tests::owning_ref::erased_owner ... ok [INFO] [stdout] test tests::owning_ref::fmt_debug ... ok [INFO] [stdout] test tests::owning_ref::hash ... ok [INFO] [stdout] test tests::owning_ref::into ... ok [INFO] [stdout] test tests::owning_ref::into_owner ... ok [INFO] [stdout] test tests::owning_ref::map_chained_inference ... ok [INFO] [stdout] test tests::owning_ref::map_chained ... ok [INFO] [stdout] test tests::owning_ref::map_heap_ref ... ok [INFO] [stdout] test tests::owning_ref::map_offset_ref ... ok [INFO] [stdout] test tests::owning_ref::map_static_ref ... ok [INFO] [stdout] test tests::owning_ref::map_with_owner ... ok [INFO] [stdout] test tests::owning_ref::non_static_erased_owner ... ok [INFO] [stdout] test tests::owning_ref::new_deref ... ok [INFO] [stdout] test tests::owning_ref::total_erase ... ok [INFO] [stdout] test tests::owning_ref::partial_cmp ... ok [INFO] [stdout] test tests::owning_ref::raii_locks ... ok [INFO] [stdout] test tests::owning_ref::total_erase_box ... ok [INFO] [stdout] test tests::owning_ref::try_map1 ... ok [INFO] [stdout] test tests::owning_ref::try_map2 ... ok [INFO] [stdout] test tests::owning_ref::try_map_with_owner_err ... ok [INFO] [stdout] test tests::owning_ref::try_map_with_owner_ok ... ok [INFO] [stdout] test tests::owning_ref_mut::as_owner ... ok [INFO] [stdout] test tests::owning_ref_mut::cmp ... ok [INFO] [stdout] test tests::owning_ref_mut::borrow ... ok [INFO] [stdout] test tests::owning_ref_mut::eq ... ok [INFO] [stdout] test tests::owning_ref_mut::erased_owner ... ok [INFO] [stdout] test tests::owning_ref_mut::fmt_debug ... ok [INFO] [stdout] test tests::owning_ref_mut::hash ... ok [INFO] [stdout] test tests::owning_ref_mut::into ... ok [INFO] [stdout] test tests::owning_ref_mut::into_owner ... ok [INFO] [stdout] test tests::owning_ref_mut::into_owning_ref ... ok [INFO] [stdout] test tests::owning_ref_mut::map_chained_inference ... ok [INFO] [stdout] test tests::owning_ref_mut::map_heap_ref ... ok [INFO] [stdout] test tests::owning_ref_mut::map_mut_chained ... ok [INFO] [stdout] test tests::owning_ref_mut::map_mut_heap_ref ... ok [INFO] [stdout] test tests::owning_ref_mut::map_mut_offset_ref ... ok [INFO] [stdout] test tests::owning_ref_mut::map_mut_static_ref ... ok [INFO] [stdout] test tests::owning_ref_mut::map_offset_ref ... ok [INFO] [stdout] test tests::owning_ref_mut::map_static_ref ... ok [INFO] [stdout] test tests::owning_ref_mut::mutate ... ok [INFO] [stdout] test tests::owning_ref_mut::new_deref ... ok [INFO] [stdout] test tests::owning_ref_mut::new_deref_mut ... ok [INFO] [stdout] test tests::owning_ref_mut::non_static_erased_owner ... ok [INFO] [stdout] test tests::owning_ref_mut::partial_cmp ... ok [INFO] [stdout] test tests::owning_ref_mut::raii_locks ... ok [INFO] [stdout] test tests::owning_ref_mut::ref_mut ... ok [INFO] [stdout] test tests::owning_ref_mut::total_erase ... ok [INFO] [stdout] test tests::owning_ref_mut::total_erase_box ... ok [INFO] [stdout] test tests::owning_ref_mut::try_map1 ... ok [INFO] [stdout] test tests::owning_ref_mut::try_map2 ... ok [INFO] [stdout] test tests::owning_ref_mut::try_map3 ... ok [INFO] [stdout] test tests::owning_ref_mut::try_map4 ... ok [INFO] [stdout] test tests::owning_ref_mut::try_map_mut ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 70 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests owning_ref_lockable [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1130:28 [INFO] [stderr] | [INFO] [stderr] 1130 | where O: Send, for<'a> (&'a T): Send {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1130 - where O: Send, for<'a> (&'a T): Send {} [INFO] [stderr] 1130 + where O: Send, for<'a> &'a T: Send {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1132:28 [INFO] [stderr] | [INFO] [stderr] 1132 | where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1132 - where O: Sync, for<'a> (&'a T): Sync {} [INFO] [stderr] 1132 + where O: Sync, for<'a> &'a T: Sync {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1135:28 [INFO] [stderr] | [INFO] [stderr] 1135 | where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1135 - where O: Send, for<'a> (&'a mut T): Send {} [INFO] [stderr] 1135 + where O: Send, for<'a> &'a mut T: Send {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> /opt/rustwide/workdir/src/lib.rs:1137:28 [INFO] [stderr] | [INFO] [stderr] 1137 | where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1137 - where O: Sync, for<'a> (&'a mut T): Sync {} [INFO] [stderr] 1137 + where O: Sync, for<'a> &'a mut T: Sync {} [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stdout] running 22 tests [INFO] [stderr] [INFO] [stdout] test src/lib.rs - (line 12) ... ignored [INFO] [stdout] test src/lib.rs - (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::new (line 549) ... FAILED [INFO] [stdout] test src/lib.rs - (line 219) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::try_map (line 649) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::new (line 302) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::erase_owner (line 495) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::try_map (line 404) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::try_map_with_owner (line 436) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::map_mut (line 619) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::map_with_owner (line 372) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::try_map_mut (line 681) ... FAILED [INFO] [stdout] test src/lib.rs - (line 132) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::erase_owner (line 739) ... FAILED [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::map (line 589) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::map (line 342) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 118) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:119:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StringRef` [INFO] [stdout] --> src/lib.rs:123:13 [INFO] [stdout] | [INFO] [stdout] 6 | let s = StringRef::new("hello world".to_owned()) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 6 | let s = String::new("hello world".to_owned()) [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::StringRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 155) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:156:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArcRef` in this scope [INFO] [stdout] --> src/lib.rs:163:20 [INFO] [stdout] | [INFO] [stdout] 9 | fn par_sum(rc: ArcRef<[i32]>) -> i32 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 9 | fn par_sum(rc: AsRef<[i32]>) -> i32 { [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::ArcRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ArcRef` in this scope [INFO] [stdout] --> src/lib.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 26 | let rc: ArcRef<[i32]> = rc.into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a trait with a similar name exists [INFO] [stdout] | [INFO] [stdout] 26 | let rc: AsRef<[i32]> = rc.into(); [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::ArcRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::new (line 549) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:550:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:554:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new(42)); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 219) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:220:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefMutRefMut` [INFO] [stdout] --> src/lib.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 10 | let mut refmut_refmut = RefMutRefMut::new(refcell.borrow_mut()).map_mut(|x| &mut x.3); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::RefMutRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::try_map (line 649) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:650:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:654:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::new (line 302) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:303:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new(42)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::erase_owner (line 495) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:496:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:503:23 [INFO] [stdout] | [INFO] [stdout] 9 | let owning_ref_a: OwningRef, [i32; 4]> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:504:11 [INFO] [stdout] | [INFO] [stdout] 10 | = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:506:23 [INFO] [stdout] | [INFO] [stdout] 12 | let owning_ref_b: OwningRef>, Vec<(i32, bool)>> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:507:11 [INFO] [stdout] | [INFO] [stdout] 13 | = OwningRef::new(Box::new(vec![(0, false), (1, true)])); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:509:23 [INFO] [stdout] | [INFO] [stdout] 15 | let owning_ref_a: OwningRef, i32> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:512:23 [INFO] [stdout] | [INFO] [stdout] 18 | let owning_ref_b: OwningRef>, i32> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:515:23 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs: [OwningRef, i32>; 2] [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Erased` in this scope [INFO] [stdout] --> src/lib.rs:515:41 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs: [OwningRef, i32>; 2] [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::Erased; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 78) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:79:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxRef` [INFO] [stdout] --> src/lib.rs:91:14 [INFO] [stdout] | [INFO] [stdout] 14 | let or = BoxRef::new(Box::new(foo)).map(|foo| { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::BoxRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 106) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `VecRef` [INFO] [stdout] --> src/lib.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 6 | let v = VecRef::new(vec![1, 2, 3, 4, 5]).map(|v| &v[3]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::VecRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::try_map (line 404) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:405:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:409:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::try_map_with_owner (line 436) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:437:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:441:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::map_mut (line 619) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:620:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:624:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::map_with_owner (line 372) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:373:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:377:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::try_map_mut (line 681) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:682:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:686:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 132) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RcRef` in this scope [INFO] [stdout] --> src/lib.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 7 | let rc: RcRef<[i32]> = RcRef::new(Rc::new([1, 2, 3, 4]) as Rc<[i32]>); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::RcRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RcRef` [INFO] [stdout] --> src/lib.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 7 | let rc: RcRef<[i32]> = RcRef::new(Rc::new([1, 2, 3, 4]) as Rc<[i32]>); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::RcRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RcRef` in this scope [INFO] [stdout] --> src/lib.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 10 | let rc_a: RcRef<[i32]> = rc.clone().map(|s| &s[0..2]); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::RcRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::erase_owner (line 739) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:740:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:747:27 [INFO] [stdout] | [INFO] [stdout] 9 | let owning_ref_mut_a: OwningRefMut, [i32; 4]> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:748:11 [INFO] [stdout] | [INFO] [stdout] 10 | = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:750:27 [INFO] [stdout] | [INFO] [stdout] 12 | let owning_ref_mut_b: OwningRefMut>, Vec<(i32, bool)>> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:751:11 [INFO] [stdout] | [INFO] [stdout] 13 | = OwningRefMut::new(Box::new(vec![(0, false), (1, true)])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:753:27 [INFO] [stdout] | [INFO] [stdout] 15 | let owning_ref_mut_a: OwningRefMut, i32> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:756:27 [INFO] [stdout] | [INFO] [stdout] 18 | let owning_ref_mut_b: OwningRefMut>, i32> [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:759:27 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs_mut: [OwningRefMut, i32>; 2] [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Erased` in this scope [INFO] [stdout] --> src/lib.rs:759:48 [INFO] [stdout] | [INFO] [stdout] 21 | let owning_refs_mut: [OwningRefMut, i32>; 2] [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::Erased; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 27) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:31:37 [INFO] [stdout] | [INFO] [stdout] 5 | fn return_owned_and_referenced() -> OwningRef, [u8]> { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:33:14 [INFO] [stdout] | [INFO] [stdout] 7 | let or = OwningRef::new(v); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 188) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefRef` [INFO] [stdout] --> src/lib.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 11 | let refref = RefRef::new(refcell.borrow()).map(|x| &x.3); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::RefRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRefMut::map (line 589) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:590:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:594:26 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref_mut = OwningRefMut::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 56) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxRef` in this scope [INFO] [stdout] --> src/lib.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 10 | let arr: BoxRef<[i32]> = BoxRef::new(arr); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::BoxRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BoxRef` [INFO] [stdout] --> src/lib.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 10 | let arr: BoxRef<[i32]> = BoxRef::new(arr); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::BoxRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BoxRef` in this scope [INFO] [stdout] --> src/lib.rs:69:14 [INFO] [stdout] | [INFO] [stdout] 14 | let arr: BoxRef<[i32]> = arr.map(|arr| &arr[1..3]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::BoxRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - OwningRef::map (line 342) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:343:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate owning_ref; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:347:22 [INFO] [stdout] | [INFO] [stdout] 6 | let owning_ref = OwningRef::new(Box::new([1, 2, 3, 4])); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use owning_ref_lockable::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 106) [INFO] [stdout] src/lib.rs - (line 118) [INFO] [stdout] src/lib.rs - (line 132) [INFO] [stdout] src/lib.rs - (line 155) [INFO] [stdout] src/lib.rs - (line 188) [INFO] [stdout] src/lib.rs - (line 219) [INFO] [stdout] src/lib.rs - (line 27) [INFO] [stdout] src/lib.rs - (line 56) [INFO] [stdout] src/lib.rs - (line 78) [INFO] [stdout] src/lib.rs - OwningRef::erase_owner (line 495) [INFO] [stdout] src/lib.rs - OwningRef::map (line 342) [INFO] [stdout] src/lib.rs - OwningRef::map_with_owner (line 372) [INFO] [stdout] src/lib.rs - OwningRef::new (line 302) [INFO] [stdout] src/lib.rs - OwningRef::try_map (line 404) [INFO] [stdout] src/lib.rs - OwningRef::try_map_with_owner (line 436) [INFO] [stdout] src/lib.rs - OwningRefMut::erase_owner (line 739) [INFO] [stdout] src/lib.rs - OwningRefMut::map (line 589) [INFO] [stdout] src/lib.rs - OwningRefMut::map_mut (line 619) [INFO] [stdout] src/lib.rs - OwningRefMut::new (line 549) [INFO] [stdout] src/lib.rs - OwningRefMut::try_map (line 649) [INFO] [stdout] src/lib.rs - OwningRefMut::try_map_mut (line 681) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "54ba22925f138e754c77785c818cfae64db7a3d9902908d632f9992e152119d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ba22925f138e754c77785c818cfae64db7a3d9902908d632f9992e152119d7", kill_on_drop: false }` [INFO] [stdout] 54ba22925f138e754c77785c818cfae64db7a3d9902908d632f9992e152119d7