[INFO] fetching crate cursed 0.0.1... [INFO] testing cursed-0.0.1 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate cursed 0.0.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate cursed 0.0.1 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d0ba6686e4aa926b8569fa9167fb6c1160412ac3855f208bfa8754fd840567b [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" "5d0ba6686e4aa926b8569fa9167fb6c1160412ac3855f208bfa8754fd840567b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d0ba6686e4aa926b8569fa9167fb6c1160412ac3855f208bfa8754fd840567b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d0ba6686e4aa926b8569fa9167fb6c1160412ac3855f208bfa8754fd840567b", kill_on_drop: false }` [INFO] [stdout] 5d0ba6686e4aa926b8569fa9167fb6c1160412ac3855f208bfa8754fd840567b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b34a5aee2c4aa9cf819a8ebaad0b02fc1129170eeb52fdd75365945b44960a4 [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" "0b34a5aee2c4aa9cf819a8ebaad0b02fc1129170eeb52fdd75365945b44960a4", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cursed v0.0.1 (/opt/rustwide/workdir) [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: `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] = 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: 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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.48s [INFO] running `Command { std: "docker" "inspect" "0b34a5aee2c4aa9cf819a8ebaad0b02fc1129170eeb52fdd75365945b44960a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b34a5aee2c4aa9cf819a8ebaad0b02fc1129170eeb52fdd75365945b44960a4", kill_on_drop: false }` [INFO] [stdout] 0b34a5aee2c4aa9cf819a8ebaad0b02fc1129170eeb52fdd75365945b44960a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1bd685ad3a63febec0f44595cf94f4103ba1dce6cdd76bccd27ef68cebbdff9e [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" "1bd685ad3a63febec0f44595cf94f4103ba1dce6cdd76bccd27ef68cebbdff9e", kill_on_drop: false }` [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: `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] = 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: 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] [stderr] Compiling cursed v0.0.1 (/opt/rustwide/workdir) [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: 4 warnings emitted [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: field is never read: `field1` [INFO] [stdout] --> src/nullable.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | field1: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `field2` [INFO] [stdout] --> src/nullable.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | field2: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [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] = 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: 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: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "1bd685ad3a63febec0f44595cf94f4103ba1dce6cdd76bccd27ef68cebbdff9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bd685ad3a63febec0f44595cf94f4103ba1dce6cdd76bccd27ef68cebbdff9e", kill_on_drop: false }` [INFO] [stdout] 1bd685ad3a63febec0f44595cf94f4103ba1dce6cdd76bccd27ef68cebbdff9e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bdeac73f49b7ac4419c74716b9fd1e2350e37c50d583b623d802be533be16d92 [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" "bdeac73f49b7ac4419c74716b9fd1e2350e37c50d583b623d802be533be16d92", kill_on_drop: false }` [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: `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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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: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: 4 warnings emitted [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: field is never read: `field1` [INFO] [stderr] --> src/nullable.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 46 | field1: u64, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `field2` [INFO] [stderr] --> src/nullable.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | field2: String, [INFO] [stderr] | ^^^^^^^^^^^^^^ [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] = note: `#[warn(improper_ctypes_definitions)]` on by default [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: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: 6 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cursed-43af9fb71ac5b96a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test vec::tests::constants ... ok [INFO] [stdout] test nullable::tests::is_null ... ok [INFO] [stdout] test vec::tests::typesafe_life ... ok [INFO] [stdout] test vec::tests::ffi_life ... ok [INFO] [stdout] test vec::tests::woo_test ... ok [INFO] [stdout] test nullable::tests::is_not_null ... ok [INFO] [stdout] test vec::tests::another_test ... ok [INFO] [stdout] test vec::tests::ffi_life2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Doc-tests cursed [INFO] [stdout] [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" "bdeac73f49b7ac4419c74716b9fd1e2350e37c50d583b623d802be533be16d92", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdeac73f49b7ac4419c74716b9fd1e2350e37c50d583b623d802be533be16d92", kill_on_drop: false }` [INFO] [stdout] bdeac73f49b7ac4419c74716b9fd1e2350e37c50d583b623d802be533be16d92