[INFO] fetching crate cursed 0.0.1... [INFO] testing cursed-0.0.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cursed 0.0.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate cursed 0.0.1 [INFO] finished tweaking crates.io crate cursed 0.0.1 [INFO] tweaked toml for crates.io crate cursed 0.0.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cursed 0.0.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 30 packages to latest compatible versions [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.1) [INFO] [stderr] Adding parking_lot v0.9.0 (available: v0.12.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded futures-io-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-preview v0.3.0-alpha.19 [INFO] [stderr] Downloaded futures-executor-preview v0.3.0-alpha.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9a023a64e2072b64aefe8eed9faddc998891f86c529dfad198b55240650513e [INFO] running `Command { std: "docker" "start" "-a" "a9a023a64e2072b64aefe8eed9faddc998891f86c529dfad198b55240650513e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9a023a64e2072b64aefe8eed9faddc998891f86c529dfad198b55240650513e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9a023a64e2072b64aefe8eed9faddc998891f86c529dfad198b55240650513e", kill_on_drop: false }` [INFO] [stdout] a9a023a64e2072b64aefe8eed9faddc998891f86c529dfad198b55240650513e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 10fd3d50d59a05f5d612e6eef8db7bd6568b54c5777370938f351b44db649956 [INFO] running `Command { std: "docker" "start" "-a" "10fd3d50d59a05f5d612e6eef8db7bd6568b54c5777370938f351b44db649956", kill_on_drop: false }` [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cursed v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception` [INFO] [stdout] --> src/vec.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadSafePtr` is never constructed [INFO] [stdout] --> src/vec.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadSafePtr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:299:68 [INFO] [stdout] | [INFO] [stdout] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.53s [INFO] running `Command { std: "docker" "inspect" "10fd3d50d59a05f5d612e6eef8db7bd6568b54c5777370938f351b44db649956", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10fd3d50d59a05f5d612e6eef8db7bd6568b54c5777370938f351b44db649956", kill_on_drop: false }` [INFO] [stdout] 10fd3d50d59a05f5d612e6eef8db7bd6568b54c5777370938f351b44db649956 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 77080e7599c788723bd026fd7682bf1c77bfb6b9c1821038be491c9561b65ad5 [INFO] running `Command { std: "docker" "start" "-a" "77080e7599c788723bd026fd7682bf1c77bfb6b9c1821038be491c9561b65ad5", kill_on_drop: false }` [INFO] [stderr] Compiling cursed v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception` [INFO] [stdout] --> src/vec.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadSafePtr` is never constructed [INFO] [stdout] --> src/vec.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadSafePtr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:299:68 [INFO] [stdout] | [INFO] [stdout] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exception` [INFO] [stdout] --> src/vec.rs:285:69 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `field1` and `field2` are never read [INFO] [stdout] --> src/nullable.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 45 | struct TestStruct { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 46 | field1: u64, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 47 | field2: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ThreadSafePtr` is never constructed [INFO] [stdout] --> src/vec.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ThreadSafePtr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:275:39 [INFO] [stdout] | [INFO] [stdout] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:285:61 [INFO] [stdout] | [INFO] [stdout] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stdout] --> src/vec.rs:299:68 [INFO] [stdout] | [INFO] [stdout] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stdout] | ^^^^^^ not FFI-safe [INFO] [stdout] ... [INFO] [stdout] 322 | / vec_constructor! { [INFO] [stdout] 323 | | TYPE_STRING => String, [INFO] [stdout] 324 | | TYPE_U64 => u64 [INFO] [stdout] 325 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [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: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.04s [INFO] running `Command { std: "docker" "inspect" "77080e7599c788723bd026fd7682bf1c77bfb6b9c1821038be491c9561b65ad5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77080e7599c788723bd026fd7682bf1c77bfb6b9c1821038be491c9561b65ad5", kill_on_drop: false }` [INFO] [stdout] 77080e7599c788723bd026fd7682bf1c77bfb6b9c1821038be491c9561b65ad5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7b5997d6b5df6c5ee7073a7e2accde696fbf102d3535fd4221d735815aba234b [INFO] running `Command { std: "docker" "start" "-a" "7b5997d6b5df6c5ee7073a7e2accde696fbf102d3535fd4221d735815aba234b", kill_on_drop: false }` [INFO] [stderr] warning: dropping unsupported crate type `cdylib` for target `x86_64-unknown-linux-musl` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `exception` [INFO] [stderr] --> src/vec.rs:285:69 [INFO] [stderr] | [INFO] [stderr] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exception` [INFO] [stderr] ... [INFO] [stderr] 322 | / vec_constructor! { [INFO] [stderr] 323 | | TYPE_STRING => String, [INFO] [stderr] 324 | | TYPE_U64 => u64 [INFO] [stderr] 325 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: struct `ThreadSafePtr` is never constructed [INFO] [stderr] --> src/vec.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ThreadSafePtr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stderr] --> src/vec.rs:275:39 [INFO] [stderr] | [INFO] [stderr] 275 | pub extern "C" fn vec_new(ty: TypeId) -> $crate::nullable::Nullable { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] ... [INFO] [stderr] 322 | / vec_constructor! { [INFO] [stderr] 323 | | TYPE_STRING => String, [INFO] [stderr] 324 | | TYPE_U64 => u64 [INFO] [stderr] 325 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stderr] --> src/vec.rs:285:61 [INFO] [stderr] | [INFO] [stderr] 285 | pub extern "C" fn vec_free(handle: *mut RawVec, ty: TypeId, exception: *mut Exception) { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] ... [INFO] [stderr] 322 | / vec_constructor! { [INFO] [stderr] 323 | | TYPE_STRING => String, [INFO] [stderr] 324 | | TYPE_U64 => u64 [INFO] [stderr] 325 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `TypeId`, which is not FFI-safe [INFO] [stderr] --> src/vec.rs:299:68 [INFO] [stderr] | [INFO] [stderr] 299 | pub extern "C" fn vec_debug_print(handle: *mut RawVec, ty: TypeId) { [INFO] [stderr] | ^^^^^^ not FFI-safe [INFO] [stderr] ... [INFO] [stderr] 322 | / vec_constructor! { [INFO] [stderr] 323 | | TYPE_STRING => String, [INFO] [stderr] 324 | | TYPE_U64 => u64 [INFO] [stderr] 325 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] = note: this warning originates in the macro `vec_constructor` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `cursed` (lib) generated 6 warnings [INFO] [stderr] warning: fields `field1` and `field2` are never read [INFO] [stderr] --> src/nullable.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 45 | struct TestStruct { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 46 | field1: u64, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 47 | field2: String, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `ThreadSafePtr` is never constructed [INFO] [stderr] --> src/vec.rs:34:19 [INFO] [stderr] | [INFO] [stderr] 34 | pub(crate) struct ThreadSafePtr(*const T); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ThreadSafePtr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `cursed` (lib test) generated 6 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/cursed-3235941329056f22) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test nullable::tests::is_null ... ok [INFO] [stdout] test vec::tests::another_test ... ok [INFO] [stdout] test vec::tests::ffi_life ... ok [INFO] [stdout] test nullable::tests::is_not_null ... ok [INFO] [stdout] test vec::tests::typesafe_life ... ok [INFO] [stdout] test vec::tests::constants ... ok [INFO] [stdout] test vec::tests::woo_test ... ok [INFO] [stdout] test vec::tests::ffi_life2 - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7b5997d6b5df6c5ee7073a7e2accde696fbf102d3535fd4221d735815aba234b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b5997d6b5df6c5ee7073a7e2accde696fbf102d3535fd4221d735815aba234b", kill_on_drop: false }` [INFO] [stdout] 7b5997d6b5df6c5ee7073a7e2accde696fbf102d3535fd4221d735815aba234b