[INFO] crate secbox 0.1.1 is already in cache [INFO] extracting crate secbox 0.1.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/secbox/0.1.1 [INFO] extracting crate secbox 0.1.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/secbox/0.1.1 [INFO] validating manifest of secbox-0.1.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of secbox-0.1.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing secbox-0.1.1 [INFO] finished frobbing secbox-0.1.1 [INFO] frobbed toml for secbox-0.1.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/secbox/0.1.1/Cargo.toml [INFO] started frobbing secbox-0.1.1 [INFO] finished frobbing secbox-0.1.1 [INFO] frobbed toml for secbox-0.1.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/secbox/0.1.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing secbox-0.1.1 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-0/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/secbox/0.1.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 0909eef0a937b270be898e1e1541e69469c04725cc30be34b365164e1dcf3f1a [INFO] running `"docker" "start" "-a" "0909eef0a937b270be898e1e1541e69469c04725cc30be34b365164e1dcf3f1a"` [INFO] [stderr] Compiling secbox v0.1.1 (/opt/crater/workdir) [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stderr] --> src/lib.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | #![feature(box_syntax, unique, core_intrinsics)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/lib.rs:38:22 [INFO] [stderr] | [INFO] [stderr] 38 | use std::ptr::{self, Unique}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/lib.rs:65:12 [INFO] [stderr] | [INFO] [stderr] 65 | inner: Unique, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/lib.rs:76:29 [INFO] [stderr] | [INFO] [stderr] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals': use `NonNull` instead and consider `PhantomData` (if you also use `#[may_dangle]`), `Send`, and/or `Sync` [INFO] [stderr] --> src/lib.rs:144:29 [INFO] [stderr] | [INFO] [stderr] 144 | inner: unsafe { Unique::new(Box::into_raw(from)) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/lib.rs:76:29 [INFO] [stderr] | [INFO] [stderr] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:76:29 [INFO] [stderr] | [INFO] [stderr] 76 | inner: unsafe { Unique::new(Box::into_raw(box mem::uninitialized::())) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::ptr::Unique`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::ptr::Unique<_>` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `memlock` found for type `SecBox<_>` in the current scope [INFO] [stderr] --> src/lib.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct SecBox { [INFO] [stderr] | ---------------------------- method `memlock` not found for this [INFO] [stderr] ... [INFO] [stderr] 80 | res.memlock(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: res is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::ptr::Unique<_>` cannot be dereferenced [INFO] [stderr] --> src/lib.rs:84:24 [INFO] [stderr] | [INFO] [stderr] 84 | ptr::write(*res.inner, inner); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> src/lib.rs:97:33 [INFO] [stderr] | [INFO] [stderr] 97 | let res = ptr::read(*self.inner); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> src/lib.rs:99:33 [INFO] [stderr] | [INFO] [stderr] 99 | ptr::write_volatile(*self.inner, mem::zeroed()); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0658]: use of unstable library feature 'ptr_internals' [INFO] [stderr] --> src/lib.rs:144:29 [INFO] [stderr] | [INFO] [stderr] 144 | inner: unsafe { Unique::new(Box::into_raw(from)) }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/lib.rs:144:29 [INFO] [stderr] | [INFO] [stderr] 144 | inner: unsafe { Unique::new(Box::into_raw(from)) }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::ptr::Unique`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::ptr::Unique<_>` [INFO] [stderr] found type `std::option::Option>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `memlock` found for type `SecBox<_>` in the current scope [INFO] [stderr] --> src/lib.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 61 | pub struct SecBox { [INFO] [stderr] | ---------------------------- method `memlock` not found for this [INFO] [stderr] ... [INFO] [stderr] 148 | res.memlock(); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: res is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get` found for type `std::ptr::Unique` in the current scope [INFO] [stderr] --> src/lib.rs:158:29 [INFO] [stderr] | [INFO] [stderr] 158 | unsafe { self.inner.get() } [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `get_mut` found for type `std::ptr::Unique` in the current scope [INFO] [stderr] --> src/lib.rs:165:29 [INFO] [stderr] | [INFO] [stderr] 165 | unsafe { self.inner.get_mut() } [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> src/lib.rs:185:32 [INFO] [stderr] | [INFO] [stderr] 185 | ptr::drop_in_place(*self.inner); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> src/lib.rs:187:45 [INFO] [stderr] | [INFO] [stderr] 187 | intrinsics::volatile_set_memory(*self.inner as *mut u8, 0, mem::size_of_val(&**self)); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `std::ptr::Unique` cannot be dereferenced [INFO] [stderr] --> src/lib.rs:191:64 [INFO] [stderr] | [INFO] [stderr] 191 | let _buf = Box::from_raw(slice::from_raw_parts_mut(*self.inner as *mut u8, mem::size_of_val(&**self))); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0554, E0599, E0614, E0658. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `secbox`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "0909eef0a937b270be898e1e1541e69469c04725cc30be34b365164e1dcf3f1a"` [INFO] running `"docker" "rm" "-f" "0909eef0a937b270be898e1e1541e69469c04725cc30be34b365164e1dcf3f1a"` [INFO] [stdout] 0909eef0a937b270be898e1e1541e69469c04725cc30be34b365164e1dcf3f1a