[INFO] fetching crate sgx_rand 1.1.1... [INFO] checking sgx_rand-1.1.1 against try#f6e2f78768c57172b99c3e85892f867894dc7e30 for pr-75502 [INFO] extracting crate sgx_rand 1.1.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate sgx_rand 1.1.1 on toolchain f6e2f78768c57172b99c3e85892f867894dc7e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate sgx_rand 1.1.1 [INFO] finished tweaking crates.io crate sgx_rand 1.1.1 [INFO] tweaked toml for crates.io crate sgx_rand 1.1.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ebb870df666c657d5553cbe060e4bfa265007a725637e1d3f63b7e9ff33ab02 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ebb870df666c657d5553cbe060e4bfa265007a725637e1d3f63b7e9ff33ab02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ebb870df666c657d5553cbe060e4bfa265007a725637e1d3f63b7e9ff33ab02", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ebb870df666c657d5553cbe060e4bfa265007a725637e1d3f63b7e9ff33ab02", kill_on_drop: false }` [INFO] [stdout] 8ebb870df666c657d5553cbe060e4bfa265007a725637e1d3f63b7e9ff33ab02 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+f6e2f78768c57172b99c3e85892f867894dc7e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 14cd482db749c110a81cf3783265ae1d33f6ce9259b149193a782dd66f856f01 [INFO] running `Command { std: "docker" "start" "-a" "14cd482db749c110a81cf3783265ae1d33f6ce9259b149193a782dd66f856f01", kill_on_drop: false }` [INFO] [stderr] Compiling sgx_build_helper v0.1.3 [INFO] [stderr] Checking sgx_types v1.1.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling sgx_tstd v1.1.1 [INFO] [stderr] Checking sgx_alloc v1.1.1 [INFO] [stderr] Checking sgx_demangle v1.1.1 [INFO] [stdout] error[E0407]: method `realloc` is not a member of trait `AllocRef` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | / unsafe fn realloc(&mut self, [INFO] [stdout] 79 | | ptr: core::ptr::NonNull, [INFO] [stdout] 80 | | layout: Layout, [INFO] [stdout] 81 | | new_size: usize) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] ... | [INFO] [stdout] 93 | | } [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ not a member of trait `AllocRef` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | fn alloc(&mut self, layout: Layout) -> Result<(NonNull, usize), AllocErr> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `core::ptr::NonNull`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result, _>` [INFO] [stdout] found fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result<(core::ptr::NonNull, usize), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0053]: method `alloc_zeroed` has an incompatible type for trait [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / fn alloc_zeroed(&mut self, layout: Layout) [INFO] [stdout] 57 | | -> Result<(NonNull, usize), AllocErr> [INFO] [stdout] 58 | | { [INFO] [stdout] 59 | | if layout.size() == 0 { [INFO] [stdout] ... | [INFO] [stdout] 67 | | } [INFO] [stdout] 68 | | } [INFO] [stdout] | |_____^ expected struct `core::ptr::NonNull`, found tuple [INFO] [stdout] | [INFO] [stdout] = note: expected fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result, _>` [INFO] [stdout] found fn pointer `fn(&mut system::System, core::alloc::Layout) -> core::result::Result<(core::ptr::NonNull, usize), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/system.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 83 | / match (layout.size(), new_size) { [INFO] [stdout] 84 | | (0, 0) => Ok((layout.dangling(), 0)), [INFO] [stdout] | | -------------------------- this is found to be of type `core::result::Result<(core::ptr::NonNull, usize), core::alloc::AllocErr>` [INFO] [stdout] 85 | | (0, _) => self.alloc(Layout::from_size_align_unchecked(new_size, layout.align())), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected tuple, found struct `core::ptr::NonNull` [INFO] [stdout] 86 | | (_, 0) => { [INFO] [stdout] ... | [INFO] [stdout] 92 | | .map(|p| (p, new_size)), [INFO] [stdout] 93 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `core::result::Result<(core::ptr::NonNull, usize), _>` [INFO] [stdout] found enum `core::result::Result, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::From>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/alignbox.rs:114:29 [INFO] [stdout] | [INFO] [stdout] 114 | ptr: ptr.cast().into(), [INFO] [stdout] | ^^^^ the trait `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::From>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/alignbox.rs:135:35 [INFO] [stdout] | [INFO] [stdout] 135 | self.ptr = ptr.cast().into(); [INFO] [stdout] | ^^^^ the trait `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `core::ptr::Unique: core::convert::From>` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/sgx_alloc-1.1.1/src/alignbox.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 208 | ptr: ptr.into(), [INFO] [stdout] | ^^^^ the trait `core::convert::From>` is not implemented for `core::ptr::Unique` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] as core::convert::From<&mut T>> [INFO] [stdout] = note: required because of the requirements on the impl of `core::convert::Into>` for `core::ptr::NonNull<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0053, E0277, E0308, E0407. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0053`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sgx_alloc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "14cd482db749c110a81cf3783265ae1d33f6ce9259b149193a782dd66f856f01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14cd482db749c110a81cf3783265ae1d33f6ce9259b149193a782dd66f856f01", kill_on_drop: false }` [INFO] [stdout] 14cd482db749c110a81cf3783265ae1d33f6ce9259b149193a782dd66f856f01