[INFO] fetching crate owning_ref_async 0.4.4... [INFO] testing owning_ref_async-0.4.4 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate owning_ref_async 0.4.4 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate owning_ref_async 0.4.4 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_async 0.4.4 [INFO] finished tweaking crates.io crate owning_ref_async 0.4.4 [INFO] tweaked toml for crates.io crate owning_ref_async 0.4.4 written to /workspace/builds/worker-20/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-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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] 7b41ddb85570cbe656bc9217ddfc72935dd02520117a608ce7ba7cbb637fcd09 [INFO] running `Command { std: "docker" "start" "-a" "7b41ddb85570cbe656bc9217ddfc72935dd02520117a608ce7ba7cbb637fcd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b41ddb85570cbe656bc9217ddfc72935dd02520117a608ce7ba7cbb637fcd09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b41ddb85570cbe656bc9217ddfc72935dd02520117a608ce7ba7cbb637fcd09", kill_on_drop: false }` [INFO] [stdout] 7b41ddb85570cbe656bc9217ddfc72935dd02520117a608ce7ba7cbb637fcd09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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] 8541bcb629eeb63406c9b1af08f5cec8553778cfabfc0fbb13fb68511f039b30 [INFO] running `Command { std: "docker" "start" "-a" "8541bcb629eeb63406c9b1af08f5cec8553778cfabfc0fbb13fb68511f039b30", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling owning_ref_async v0.4.4 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.00s [INFO] running `Command { std: "docker" "inspect" "8541bcb629eeb63406c9b1af08f5cec8553778cfabfc0fbb13fb68511f039b30", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8541bcb629eeb63406c9b1af08f5cec8553778cfabfc0fbb13fb68511f039b30", kill_on_drop: false }` [INFO] [stdout] 8541bcb629eeb63406c9b1af08f5cec8553778cfabfc0fbb13fb68511f039b30 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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] fc2923f44bcf90b1fda39c9718231a1f7cfe78807532274363493f5f814232e6 [INFO] running `Command { std: "docker" "start" "-a" "fc2923f44bcf90b1fda39c9718231a1f7cfe78807532274363493f5f814232e6", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling owning_ref_async v0.4.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `RefMut` [INFO] [stdout] --> src/lib.rs:1616:34 [INFO] [stdout] | [INFO] [stdout] 1616 | use std::cell::{RefCell, RefMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::Duration` [INFO] [stdout] --> src/lib.rs:1619:13 [INFO] [stdout] | [INFO] [stdout] 1619 | use tokio::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 8.29s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/owning_ref_async-7b49e3e483a211bb) [INFO] running `Command { std: "docker" "inspect" "fc2923f44bcf90b1fda39c9718231a1f7cfe78807532274363493f5f814232e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc2923f44bcf90b1fda39c9718231a1f7cfe78807532274363493f5f814232e6", kill_on_drop: false }` [INFO] [stdout] fc2923f44bcf90b1fda39c9718231a1f7cfe78807532274363493f5f814232e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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] 868bb657c1114f2b560ffcc5289502cf91364fba6193c4d46169ccff444b7968 [INFO] running `Command { std: "docker" "start" "-a" "868bb657c1114f2b560ffcc5289502cf91364fba6193c4d46169ccff444b7968", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `RefMut` [INFO] [stderr] --> src/lib.rs:1616:34 [INFO] [stderr] | [INFO] [stderr] 1616 | use std::cell::{RefCell, RefMut}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::time::Duration` [INFO] [stderr] --> src/lib.rs:1619:13 [INFO] [stderr] | [INFO] [stderr] 1619 | use tokio::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `owning_ref_async` (lib test) generated 2 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/owning_ref_async-7b49e3e483a211bb) [INFO] [stdout] [INFO] [stdout] running 66 tests [INFO] [stdout] test tests::owning_handle::nested ... ok [INFO] [stderr] Doc-tests owning_ref_async [INFO] [stdout] test tests::owning_handle::owning_hadle_consume ... ok [INFO] [stdout] test tests::owning_handle::owning_handle ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_mut_safe ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_map ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_safe_2 ... ok [INFO] [stdout] test tests::owning_handle::owning_handle_safe ... 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_ref::as_owner ... 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::borrow ... 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 ... ok [INFO] [stdout] test tests::owning_ref::map_chained_inference ... ok [INFO] [stdout] test tests::owning_ref::map_heap_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::map_offset_ref ... ok [INFO] [stdout] test tests::owning_ref::new_deref ... ok [INFO] [stdout] test tests::owning_ref::non_static_erased_owner ... 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::total_erase ... 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::borrow ... ok [INFO] [stdout] test tests::owning_ref_mut::cmp ... 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::mutate ... ok [INFO] [stdout] test tests::owning_ref_mut::map_static_ref ... 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. 66 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 22 tests [INFO] [stdout] test src/lib.rs - (line 12) ... ignored [INFO] [stdout] test src/lib.rs - (line 27) ... FAILED [INFO] [stdout] test src/lib.rs - (line 118) ... FAILED [INFO] [stdout] test src/lib.rs - (line 106) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::new (line 304) ... FAILED [INFO] [stdout] test src/lib.rs - (line 219) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::erase_owner (line 497) ... FAILED [INFO] [stdout] test src/lib.rs - (line 188) ... FAILED [INFO] [stdout] test src/lib.rs - (line 132) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::erase_owner (line 741) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::map_mut (line 621) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::try_map (line 406) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::try_map_mut (line 683) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::try_map_with_owner (line 438) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::map_with_owner (line 374) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::new (line 551) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRef::map (line 344) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::map (line 591) ... FAILED [INFO] [stdout] test src/lib.rs - (line 155) ... FAILED [INFO] [stdout] test src/lib.rs - (line 56) ... FAILED [INFO] [stdout] test src/lib.rs - (line 78) ... FAILED [INFO] [stdout] test src/lib.rs - OwningRefMut::try_map (line 651) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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_async::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_async::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 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_async::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 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_async::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::new (line 304) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:305: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:309: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_async::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 - (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_async::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 - OwningRef::erase_owner (line 497) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:498: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:505: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_async::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:506: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_async::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:508: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_async::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRef` [INFO] [stdout] --> src/lib.rs:509: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_async::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:511: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_async::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:514: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_async::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRef` in this scope [INFO] [stdout] --> src/lib.rs:517: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_async::OwningRef; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Erased` in this scope [INFO] [stdout] --> src/lib.rs:517: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_async::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 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_async::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 - (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_async::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_async::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_async::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 741) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:742: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:749: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_async::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:750: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_async::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:752: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_async::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `OwningRefMut` [INFO] [stdout] --> src/lib.rs:753: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_async::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:755: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_async::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:758: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_async::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `OwningRefMut` in this scope [INFO] [stdout] --> src/lib.rs:761: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_async::OwningRefMut; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Erased` in this scope [INFO] [stdout] --> src/lib.rs:761: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_async::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 - OwningRefMut::map_mut (line 621) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:622: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:626: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_async::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::try_map (line 406) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:407: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:411: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_async::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 683) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:684: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:688: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_async::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::try_map_with_owner (line 438) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:439: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:443: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_async::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::map_with_owner (line 374) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:375: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:379: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_async::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::new (line 551) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:552: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:556: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_async::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 (line 344) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:345: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:349: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_async::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 (line 591) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:592: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:596: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_async::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 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_async::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_async::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 - (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_async::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_async::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_async::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 - (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_async::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 - OwningRefMut::try_map (line 651) stdout ---- [INFO] [stdout] error[E0463]: can't find crate for `owning_ref` [INFO] [stdout] --> src/lib.rs:652: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:656: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_async::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] [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 497) [INFO] [stdout] src/lib.rs - OwningRef::map (line 344) [INFO] [stdout] src/lib.rs - OwningRef::map_with_owner (line 374) [INFO] [stdout] src/lib.rs - OwningRef::new (line 304) [INFO] [stdout] src/lib.rs - OwningRef::try_map (line 406) [INFO] [stdout] src/lib.rs - OwningRef::try_map_with_owner (line 438) [INFO] [stdout] src/lib.rs - OwningRefMut::erase_owner (line 741) [INFO] [stdout] src/lib.rs - OwningRefMut::map (line 591) [INFO] [stdout] src/lib.rs - OwningRefMut::map_mut (line 621) [INFO] [stdout] src/lib.rs - OwningRefMut::new (line 551) [INFO] [stdout] src/lib.rs - OwningRefMut::try_map (line 651) [INFO] [stdout] src/lib.rs - OwningRefMut::try_map_mut (line 683) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 21 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.28s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "868bb657c1114f2b560ffcc5289502cf91364fba6193c4d46169ccff444b7968", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "868bb657c1114f2b560ffcc5289502cf91364fba6193c4d46169ccff444b7968", kill_on_drop: false }` [INFO] [stdout] 868bb657c1114f2b560ffcc5289502cf91364fba6193c4d46169ccff444b7968