[INFO] fetching crate boxxy 0.11.0... [INFO] testing boxxy-0.11.0 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate boxxy 0.11.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate boxxy 0.11.0 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate boxxy 0.11.0 [INFO] finished tweaking crates.io crate boxxy 0.11.0 [INFO] tweaked toml for crates.io crate boxxy 0.11.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c53cd9921efe79486d3eb549a5a81a6efc0e529b5f2e3926da04025e20421e8a [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" "c53cd9921efe79486d3eb549a5a81a6efc0e529b5f2e3926da04025e20421e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c53cd9921efe79486d3eb549a5a81a6efc0e529b5f2e3926da04025e20421e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c53cd9921efe79486d3eb549a5a81a6efc0e529b5f2e3926da04025e20421e8a", kill_on_drop: false }` [INFO] [stdout] c53cd9921efe79486d3eb549a5a81a6efc0e529b5f2e3926da04025e20421e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2abd6fa2c20390b5ba167aa4099f6ca0d1e1bbe5cc2db72168fbb2157e564c3b [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" "2abd6fa2c20390b5ba167aa4099f6ca0d1e1bbe5cc2db72168fbb2157e564c3b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling utf8parse v0.1.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling backtrace v0.3.60 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling object v0.25.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling errno v0.2.7 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling caps v0.3.4 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling rustyline v5.0.6 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling tokio-rustls v0.10.3 [INFO] [stderr] Compiling hyper-rustls v0.17.1 [INFO] [stderr] Compiling boxxy v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | RWPair(BufStream, Box>>), [INFO] [stdout] | ^ help: use `dyn`: `dyn R` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | RWPair(BufStream, Box>>), [INFO] [stdout] | ^ help: use `dyn`: `dyn W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn rw_pair(input: Box, output: Box) -> Interface { [INFO] [stdout] | ^ help: use `dyn`: `dyn R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn rw_pair(input: Box, output: Box) -> Interface { [INFO] [stdout] | ^ help: use `dyn`: `dyn W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/busybox/procs/jit.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let mut page: *mut libc::c_void = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ForeignCommand`, which is not FFI-safe [INFO] [stdout] --> src/ffi/exports.rs:23:85 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe extern fn boxxy_with(target: *mut Shell, name: *const libc::c_char, ptr: ForeignCommand) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ffi/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ForeignCommand(extern fn(usize, *const *const c_char) -> i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 55.88s [INFO] running `Command { std: "docker" "inspect" "2abd6fa2c20390b5ba167aa4099f6ca0d1e1bbe5cc2db72168fbb2157e564c3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2abd6fa2c20390b5ba167aa4099f6ca0d1e1bbe5cc2db72168fbb2157e564c3b", kill_on_drop: false }` [INFO] [stdout] 2abd6fa2c20390b5ba167aa4099f6ca0d1e1bbe5cc2db72168fbb2157e564c3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "test" "--frozen" "--no-run" "--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] 648d2b5f1093683dbd039298df0bd87b770c3b0e6682cd403400c7f0118b224e [INFO] running `Command { std: "docker" "start" "-a" "648d2b5f1093683dbd039298df0bd87b770c3b0e6682cd403400c7f0118b224e", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | RWPair(BufStream, Box>>), [INFO] [stdout] | ^ help: use `dyn`: `dyn R` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | RWPair(BufStream, Box>>), [INFO] [stdout] | ^ help: use `dyn`: `dyn W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn rw_pair(input: Box, output: Box) -> Interface { [INFO] [stdout] | ^ help: use `dyn`: `dyn R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn rw_pair(input: Box, output: Box) -> Interface { [INFO] [stdout] | ^ help: use `dyn`: `dyn W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/busybox/procs/jit.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let mut page: *mut libc::c_void = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ForeignCommand`, which is not FFI-safe [INFO] [stdout] --> src/ffi/exports.rs:23:85 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe extern fn boxxy_with(target: *mut Shell, name: *const libc::c_char, ptr: ForeignCommand) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ffi/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ForeignCommand(extern fn(usize, *const *const c_char) -> i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling elf v0.0.10 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling ctrlc v3.1.9 [INFO] [stderr] Compiling boxxy v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:98:29 [INFO] [stdout] | [INFO] [stdout] 98 | RWPair(BufStream, Box>>), [INFO] [stdout] | ^ help: use `dyn`: `dyn R` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:98:37 [INFO] [stdout] | [INFO] [stdout] 98 | RWPair(BufStream, Box>>), [INFO] [stdout] | ^ help: use `dyn`: `dyn W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:138:31 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn rw_pair(input: Box, output: Box) -> Interface { [INFO] [stdout] | ^ help: use `dyn`: `dyn R` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ctrl.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn rw_pair(input: Box, output: Box) -> Interface { [INFO] [stdout] | ^ help: use `dyn`: `dyn W` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/busybox/procs/jit.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | let mut page: *mut libc::c_void = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ForeignCommand`, which is not FFI-safe [INFO] [stdout] --> src/ffi/exports.rs:23:85 [INFO] [stdout] | [INFO] [stdout] 23 | pub unsafe extern fn boxxy_with(target: *mut Shell, name: *const libc::c_char, ptr: ForeignCommand) { [INFO] [stdout] | ^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] note: the type is defined here [INFO] [stdout] --> src/ffi/mod.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ForeignCommand(extern fn(usize, *const *const c_char) -> i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.0.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.1.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.10.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.11.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.12.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.2.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.3.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.4.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.5.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.6.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.7.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.8.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.boxxy.37cc2d56-cgu.9.rcgu.o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d.2ox8zv62xuay3tot.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/ring-be4ac5dd5c939c99/out" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libenv_logger-ed1f802d53bbfb21.rlib" "/opt/rustwide/target/debug/deps/libatty-3db342b80307d7d3.rlib" "/opt/rustwide/target/debug/deps/libhumantime-33144d077327c6a9.rlib" "/opt/rustwide/target/debug/deps/libquick_error-5ca0b2d5261a4c49.rlib" "/opt/rustwide/target/debug/deps/libtermcolor-48569ba71e859b79.rlib" "/opt/rustwide/target/debug/deps/libboxxy.rlib" "/opt/rustwide/target/debug/deps/libtokio_core-77ad67f4d75acf76.rlib" "/opt/rustwide/target/debug/deps/libscoped_tls-9311b32f042c9fe6.rlib" "/opt/rustwide/target/debug/deps/liburl-e530539c5a289047.rlib" "/opt/rustwide/target/debug/deps/libidna-d589b49a4549a1ec.rlib" "/opt/rustwide/target/debug/deps/libunicode_normalization-9f8f1322bcaa1356.rlib" "/opt/rustwide/target/debug/deps/libtinyvec-c643c0a1f7b94895.rlib" "/opt/rustwide/target/debug/deps/libtinyvec_macros-3da38bc1578ec686.rlib" "/opt/rustwide/target/debug/deps/libunicode_bidi-8dbcfed52415a45a.rlib" "/opt/rustwide/target/debug/deps/libform_urlencoded-d7d6f9fac1ee70de.rlib" "/opt/rustwide/target/debug/deps/libpercent_encoding-98a88b5b53b82a03.rlib" "/opt/rustwide/target/debug/deps/libmatches-ec803435b0d6dbd5.rlib" "/opt/rustwide/target/debug/deps/libhyper_rustls-3d4c5de0735c0151.rlib" "/opt/rustwide/target/debug/deps/libwebpki_roots-938d8f93383427c5.rlib" "/opt/rustwide/target/debug/deps/libtokio_rustls-c2805733bd248a05.rlib" "/opt/rustwide/target/debug/deps/libct_logs-5620eb9655b01538.rlib" "/opt/rustwide/target/debug/deps/libnix-629c0db8a6dd4712.rlib" "/opt/rustwide/target/debug/deps/libbufstream-321951678352d48c.rlib" "/opt/rustwide/target/debug/deps/libsha2-2d509033a022dfea.rlib" "/opt/rustwide/target/debug/deps/libdigest-145eff3eca242995.rlib" "/opt/rustwide/target/debug/deps/libopaque_debug-471d69f8a14261f8.rlib" "/opt/rustwide/target/debug/deps/libfake_simd-3d6a2ee5cef4c106.rlib" "/opt/rustwide/target/debug/deps/libblock_buffer-998d83cfa79ef1e2.rlib" "/opt/rustwide/target/debug/deps/libgeneric_array-7029a332da5b8132.rlib" "/opt/rustwide/target/debug/deps/libtypenum-0d64906a7293a7d7.rlib" "/opt/rustwide/target/debug/deps/libblock_padding-e7fe4d975aa230a6.rlib" "/opt/rustwide/target/debug/deps/libbyte_tools-c0f79bb7e04ef8bd.rlib" "/opt/rustwide/target/debug/deps/librustls-b863eb3fcf6a5371.rlib" "/opt/rustwide/target/debug/deps/libsct-b04a5d317a320ae7.rlib" "/opt/rustwide/target/debug/deps/libwebpki-b6f6eca02f248e63.rlib" "/opt/rustwide/target/debug/deps/libring-bc6e66c15b62df56.rlib" "/opt/rustwide/target/debug/deps/libspin-8ee06c28a303f7f8.rlib" "/opt/rustwide/target/debug/deps/libuntrusted-f6aedf8892313d66.rlib" "/opt/rustwide/target/debug/deps/libonce_cell-73af32ec8a7b3eba.rlib" "/opt/rustwide/target/debug/deps/librustyline-100f9809f3fc8ad4.rlib" "/opt/rustwide/target/debug/deps/libutf8parse-d1e8ac31686a50d1.rlib" "/opt/rustwide/target/debug/deps/libnix-4b8353807e1542cd.rlib" "/opt/rustwide/target/debug/deps/libvoid-5636004af8853cbe.rlib" "/opt/rustwide/target/debug/deps/libunicode_segmentation-74aef301b062bbb2.rlib" "/opt/rustwide/target/debug/deps/libdirs-9f664bb8bcd127ce.rlib" "/opt/rustwide/target/debug/deps/libdirs_sys-1b7d78da6bc674ed.rlib" "/opt/rustwide/target/debug/deps/libcaps-0c5b799df6dd1dfa.rlib" "/opt/rustwide/target/debug/deps/libhyper-bea6c968f72cd84a.rlib" "/opt/rustwide/target/debug/deps/libwant-935b6234f52bdeba.rlib" "/opt/rustwide/target/debug/deps/libtry_lock-b60f09daed618188.rlib" "/opt/rustwide/target/debug/deps/libtokio-415e96bcb653bfb9.rlib" "/opt/rustwide/target/debug/deps/libtokio_uds-10431d630f6b5939.rlib" "/opt/rustwide/target/debug/deps/libmio_uds-d8475761e56d542e.rlib" "/opt/rustwide/target/debug/deps/libtokio_udp-7296eb369f8809eb.rlib" "/opt/rustwide/target/debug/deps/libtokio_timer-1e7cd46031ac9fa8.rlib" "/opt/rustwide/target/debug/deps/libtokio_tcp-4f8bc1772afc4865.rlib" "/opt/rustwide/target/debug/deps/libtokio_reactor-b18d67e230c760d1.rlib" "/opt/rustwide/target/debug/deps/libtokio_sync-0e044041e02b1f36.rlib" "/opt/rustwide/target/debug/deps/libparking_lot-d3130ca5ca62efb5.rlib" "/opt/rustwide/target/debug/deps/libparking_lot_core-e53d37db8cd5f5b8.rlib" "/opt/rustwide/target/debug/deps/libsmallvec-557b026a7b505c72.rlib" "/opt/rustwide/target/debug/deps/liblock_api-6520979e1aed6201.rlib" "/opt/rustwide/target/debug/deps/libtokio_fs-d53824358f205d8f.rlib" "/opt/rustwide/target/debug/deps/libtokio_threadpool-45cc9cbeb0c517b0.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_queue-8b8431d0e53e65f1.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-a085e02b81d15f11.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-7a44c139d6dc676d.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-4b059ff10415273f.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-8de7ac2046d68b88.rlib" "/opt/rustwide/target/debug/deps/libmaybe_uninit-535c06e7d7e0b10d.rlib" "/opt/rustwide/target/debug/deps/libtokio_current_thread-2b872823e6168871.rlib" "/opt/rustwide/target/debug/deps/libtokio_executor-829ed6711166cddb.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-8d7272f5f34985a5.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-f67718dd40129317.rlib" "/opt/rustwide/target/debug/deps/libtokio_codec-fa8f712b05ce1503.rlib" "/opt/rustwide/target/debug/deps/libmio-4d06c2dd1fa112ad.rlib" "/opt/rustwide/target/debug/deps/libtime-e72d8ec05defb04b.rlib" "/opt/rustwide/target/debug/deps/libnet2-be860c1725800fb6.rlib" "/opt/rustwide/target/debug/deps/libhttparse-f7812cb6d77bb4bb.rlib" "/opt/rustwide/target/debug/deps/libhttp_body-26029608a9c1baea.rlib" "/opt/rustwide/target/debug/deps/libtokio_buf-085f6c0262bc2c13.rlib" "/opt/rustwide/target/debug/deps/libh2-13552641c9e12211.rlib" "/opt/rustwide/target/debug/deps/libindexmap-ad802e4cbbe71e86.rlib" "/opt/rustwide/target/debug/deps/libhashbrown-013c7f75422a41d2.rlib" "/opt/rustwide/target/debug/deps/libstring-2e1599d1e1c9f3b2.rlib" "/opt/rustwide/target/debug/deps/libslab-3fe28842158339e2.rlib" "/opt/rustwide/target/debug/deps/libhttp-8e4794adb548c814.rlib" "/opt/rustwide/target/debug/deps/libitoa-15077810ecc9e84e.rlib" "/opt/rustwide/target/debug/deps/libfnv-74d41fd10066a65d.rlib" "/opt/rustwide/target/debug/deps/libtokio_io-1668854dc9bcfc02.rlib" "/opt/rustwide/target/debug/deps/libfutures_cpupool-6013f07dabdd2401.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-2ca1d9b1fcb10de2.rlib" "/opt/rustwide/target/debug/deps/libfutures-6f5ea06de4b094fc.rlib" "/opt/rustwide/target/debug/deps/libbytes-649b0a2264eb05fc.rlib" "/opt/rustwide/target/debug/deps/libeither-876b47f101a5b5e1.rlib" "/opt/rustwide/target/debug/deps/libiovec-4af901f8d9aceefd.rlib" "/opt/rustwide/target/debug/deps/libbase64-9f70e73fb45e74f8.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-f328109de99d6196.rlib" "/opt/rustwide/target/debug/deps/liberrno-f4a498267532583c.rlib" "/opt/rustwide/target/debug/deps/libregex-14edb7dff9ca13a5.rlib" "/opt/rustwide/target/debug/deps/libaho_corasick-f718d7e8c1e326bc.rlib" "/opt/rustwide/target/debug/deps/libregex_syntax-cfec10257cbd629b.rlib" "/opt/rustwide/target/debug/deps/libclap-cdb5f4c5227614d9.rlib" "/opt/rustwide/target/debug/deps/libtextwrap-678d5d865513eebc.rlib" "/opt/rustwide/target/debug/deps/libunicode_width-58fa4f49044d3e0e.rlib" "/opt/rustwide/target/debug/deps/libbitflags-603a79344a96ee73.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-de9cbe0cb77e19a3.rlib" "/opt/rustwide/target/debug/deps/liberror_chain-2e697856e9700b0a.rlib" "/opt/rustwide/target/debug/deps/libbacktrace-83b944dc800e9e2e.rlib" "/opt/rustwide/target/debug/deps/libminiz_oxide-b9be161bd4ca1b40.rlib" "/opt/rustwide/target/debug/deps/libadler-04e4bd7392188ec3.rlib" "/opt/rustwide/target/debug/deps/libobject-6ba0f7b5e094c61f.rlib" "/opt/rustwide/target/debug/deps/libmemchr-4b7e7f97fdf3b1c2.rlib" "/opt/rustwide/target/debug/deps/liblibc-9b2e8dd731b3973a.rlib" "/opt/rustwide/target/debug/deps/libaddr2line-67240bb27da42d10.rlib" "/opt/rustwide/target/debug/deps/libgimli-aa98cf42ec5edf0e.rlib" "/opt/rustwide/target/debug/deps/librustc_demangle-066fc8b4483e5e43.rlib" "/opt/rustwide/target/debug/deps/liblog-062ec20cca67060d.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-477585129feec44c.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-37fdd654777c296f.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-d883bf2137e9181a.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-22ab8f3db88b586e.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-0167c9242d0931d5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-361790a1a5505fc5.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-01c2ffe1ecd05a67.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ec79e29a889fe805.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-001a3456e8a8331b.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e8f1404290f0f040.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-76f46d0f23360a60.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-baf0bdc5eb131895.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3a6a4ee6592d9370.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1cc90d9dd57195f8.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0e91863ffbec5148.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-69528f2eac185ac9.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-52d5241975807511.rlib" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-9924c22ae1efcf66.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-d1241f7bd234a268.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/432e145bd5a974c5b6f4dd9b352891bd7502b69d/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/boxxy-d0752f31bc47f45d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `boxxy` [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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "648d2b5f1093683dbd039298df0bd87b770c3b0e6682cd403400c7f0118b224e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648d2b5f1093683dbd039298df0bd87b770c3b0e6682cd403400c7f0118b224e", kill_on_drop: false }` [INFO] [stdout] 648d2b5f1093683dbd039298df0bd87b770c3b0e6682cd403400c7f0118b224e