[INFO] fetching crate nature_demo_converter 0.0.2... [INFO] testing nature_demo_converter-0.0.2 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate nature_demo_converter 0.0.2 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate nature_demo_converter 0.0.2 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate nature_demo_converter 0.0.2 [INFO] finished tweaking crates.io crate nature_demo_converter 0.0.2 [INFO] tweaked toml for crates.io crate nature_demo_converter 0.0.2 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nature_demo_common v0.0.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70b4683863fdd2663b5a23ee893ba2fd7643f46b6fb8112830195ef0afb9547c [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" "70b4683863fdd2663b5a23ee893ba2fd7643f46b6fb8112830195ef0afb9547c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70b4683863fdd2663b5a23ee893ba2fd7643f46b6fb8112830195ef0afb9547c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70b4683863fdd2663b5a23ee893ba2fd7643f46b6fb8112830195ef0afb9547c", kill_on_drop: false }` [INFO] [stdout] 70b4683863fdd2663b5a23ee893ba2fd7643f46b6fb8112830195ef0afb9547c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5b298ea47a08afc2918e9e710a13a25dccbd50dbe0e60081ec631ed44804da91 [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" "5b298ea47a08afc2918e9e710a13a25dccbd50dbe0e60081ec631ed44804da91", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling gimli v0.25.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rustc-demangle v0.1.20 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling serde_derive v1.0.127 [INFO] [stderr] Compiling sha1 v0.6.0 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling hashbrown v0.3.1 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling lock_api v0.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling tinyvec v1.3.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling actix-service v0.4.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.26.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling parking_lot_core v0.5.0 [INFO] [stderr] Compiling parking_lot v0.8.0 [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 rand_os v0.1.3 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling addr2line v0.16.0 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling const-random-macro v0.1.13 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling const-random v0.1.13 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling ahash v0.2.19 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling actix-codec v0.1.2 [INFO] [stderr] Compiling actix-utils v0.4.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-server-config v0.1.2 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling fern v0.5.9 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling actix_derive v0.4.0 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling trust-dns-resolver v0.11.1 [INFO] [stderr] Compiling actix-threadpool v0.1.2 [INFO] [stderr] Compiling actix-rt v0.2.6 [INFO] [stderr] Compiling actix-connect v0.2.5 [INFO] [stderr] Compiling actix-http v0.2.11 [INFO] [stderr] Compiling actix v0.8.3 [INFO] [stderr] Compiling nature_common v0.0.2 [INFO] [stderr] Compiling nature_demo_common v0.0.2 [INFO] [stderr] Compiling nature_demo_converter v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | pub extern fn order_receivable(para: &ConverterParameter) -> ConverterReturned { [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)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern fn pay_count(para: &ConverterParameter) -> ConverterReturned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | pub extern fn go_express(para: &ConverterParameter) -> ConverterReturned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:73:55 [INFO] [stdout] | [INFO] [stdout] 73 | pub extern fn auto_sign(para: &ConverterParameter) -> ConverterReturned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 09s [INFO] running `Command { std: "docker" "inspect" "5b298ea47a08afc2918e9e710a13a25dccbd50dbe0e60081ec631ed44804da91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b298ea47a08afc2918e9e710a13a25dccbd50dbe0e60081ec631ed44804da91", kill_on_drop: false }` [INFO] [stdout] 5b298ea47a08afc2918e9e710a13a25dccbd50dbe0e60081ec631ed44804da91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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] 4b079e8f9ee27f622e8ad5596b1fb8f21f5e22da88a99f60bf4ee5ff90ebbc65 [INFO] running `Command { std: "docker" "start" "-a" "4b079e8f9ee27f622e8ad5596b1fb8f21f5e22da88a99f60bf4ee5ff90ebbc65", kill_on_drop: false }` [INFO] [stderr] Compiling nature_demo_converter v0.0.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:10:62 [INFO] [stdout] | [INFO] [stdout] 10 | pub extern fn order_receivable(para: &ConverterParameter) -> ConverterReturned { [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)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:27:55 [INFO] [stdout] | [INFO] [stdout] 27 | pub extern fn pay_count(para: &ConverterParameter) -> ConverterReturned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:57:56 [INFO] [stdout] | [INFO] [stdout] 57 | pub extern fn go_express(para: &ConverterParameter) -> ConverterReturned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:73:55 [INFO] [stdout] | [INFO] [stdout] 73 | pub extern fn auto_sign(para: &ConverterParameter) -> ConverterReturned { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.31s [INFO] running `Command { std: "docker" "inspect" "4b079e8f9ee27f622e8ad5596b1fb8f21f5e22da88a99f60bf4ee5ff90ebbc65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b079e8f9ee27f622e8ad5596b1fb8f21f5e22da88a99f60bf4ee5ff90ebbc65", kill_on_drop: false }` [INFO] [stdout] 4b079e8f9ee27f622e8ad5596b1fb8f21f5e22da88a99f60bf4ee5ff90ebbc65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", 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] 33abf530e817ccb15fdd11a0322a44e7cfa58206e31ad54b517fbac138f102ef [INFO] running `Command { std: "docker" "start" "-a" "33abf530e817ccb15fdd11a0322a44e7cfa58206e31ad54b517fbac138f102ef", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:10:62 [INFO] [stderr] | [INFO] [stderr] 10 | pub extern fn order_receivable(para: &ConverterParameter) -> ConverterReturned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:27:55 [INFO] [stderr] | [INFO] [stderr] 27 | pub extern fn pay_count(para: &ConverterParameter) -> ConverterReturned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:57:56 [INFO] [stderr] | [INFO] [stderr] 57 | pub extern fn go_express(para: &ConverterParameter) -> ConverterReturned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `ConverterReturned`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:73:55 [INFO] [stderr] | [INFO] [stderr] 73 | pub extern fn auto_sign(para: &ConverterParameter) -> ConverterReturned { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] [INFO] [stderr] warning: `nature_demo_converter` (lib test) generated 4 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/nature_demo_converter-19c19e4c60fe0884) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "33abf530e817ccb15fdd11a0322a44e7cfa58206e31ad54b517fbac138f102ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33abf530e817ccb15fdd11a0322a44e7cfa58206e31ad54b517fbac138f102ef", kill_on_drop: false }` [INFO] [stdout] 33abf530e817ccb15fdd11a0322a44e7cfa58206e31ad54b517fbac138f102ef