[INFO] fetching crate cursed 0.0.1... [INFO] testing cursed-0.0.1 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate cursed 0.0.1 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate cursed 0.0.1 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89c1dc8df7151073046a7d98b382e96648277860ab8d9b9f69d8cc188e353abf [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" "89c1dc8df7151073046a7d98b382e96648277860ab8d9b9f69d8cc188e353abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89c1dc8df7151073046a7d98b382e96648277860ab8d9b9f69d8cc188e353abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c1dc8df7151073046a7d98b382e96648277860ab8d9b9f69d8cc188e353abf", kill_on_drop: false }` [INFO] [stdout] 89c1dc8df7151073046a7d98b382e96648277860ab8d9b9f69d8cc188e353abf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b6b68da4c8ab542475a4bfa75ff72172031514d3cdfe11162d3d13752059274 [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" "7b6b68da4c8ab542475a4bfa75ff72172031514d3cdfe11162d3d13752059274", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling lock_api v0.3.4 [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 3.41s [INFO] running `Command { std: "docker" "inspect" "7b6b68da4c8ab542475a4bfa75ff72172031514d3cdfe11162d3d13752059274", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b6b68da4c8ab542475a4bfa75ff72172031514d3cdfe11162d3d13752059274", kill_on_drop: false }` [INFO] [stdout] 7b6b68da4c8ab542475a4bfa75ff72172031514d3cdfe11162d3d13752059274 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e159ae4d872bd9d7a45e04d201de63cca23b0a8f3a84baed4a4cac09e1a9e21d [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" "e159ae4d872bd9d7a45e04d201de63cca23b0a8f3a84baed4a4cac09e1a9e21d", kill_on_drop: false }` [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] [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 1.05s [INFO] running `Command { std: "docker" "inspect" "e159ae4d872bd9d7a45e04d201de63cca23b0a8f3a84baed4a4cac09e1a9e21d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e159ae4d872bd9d7a45e04d201de63cca23b0a8f3a84baed4a4cac09e1a9e21d", kill_on_drop: false }` [INFO] [stdout] e159ae4d872bd9d7a45e04d201de63cca23b0a8f3a84baed4a4cac09e1a9e21d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fb9170f728dd0e311e8b9343e6a0ecf65a88d32c3c49ee68099cdbd8ece8e9da [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" "fb9170f728dd0e311e8b9343e6a0ecf65a88d32c3c49ee68099cdbd8ece8e9da", 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.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/cursed-43af9fb71ac5b96a) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test nullable::tests::is_not_null ... ok [INFO] [stdout] test vec::tests::another_test ... ok [INFO] [stdout] test vec::tests::constants ... ok [INFO] [stdout] test vec::tests::ffi_life ... ok [INFO] [stdout] test nullable::tests::is_null ... ok [INFO] [stdout] test vec::tests::woo_test ... ok [INFO] [stdout] test vec::tests::typesafe_life ... 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.01s [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" "fb9170f728dd0e311e8b9343e6a0ecf65a88d32c3c49ee68099cdbd8ece8e9da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb9170f728dd0e311e8b9343e6a0ecf65a88d32c3c49ee68099cdbd8ece8e9da", kill_on_drop: false }` [INFO] [stdout] fb9170f728dd0e311e8b9343e6a0ecf65a88d32c3c49ee68099cdbd8ece8e9da