[INFO] fetching crate mech-math 0.0.5... [INFO] testing mech-math-0.0.5 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate mech-math 0.0.5 into /workspace/builds/worker-50/source [INFO] validating manifest of crates.io crate mech-math 0.0.5 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mech-math 0.0.5 [INFO] finished tweaking crates.io crate mech-math 0.0.5 [INFO] tweaked toml for crates.io crate mech-math 0.0.5 written to /workspace/builds/worker-50/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9668e159e3465a5c41841386ff21bf9accaf6bfca16750634aa992da3a1814d4 [INFO] running `Command { std: "docker" "start" "-a" "9668e159e3465a5c41841386ff21bf9accaf6bfca16750634aa992da3a1814d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9668e159e3465a5c41841386ff21bf9accaf6bfca16750634aa992da3a1814d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9668e159e3465a5c41841386ff21bf9accaf6bfca16750634aa992da3a1814d4", kill_on_drop: false }` [INFO] [stdout] 9668e159e3465a5c41841386ff21bf9accaf6bfca16750634aa992da3a1814d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d1864235f9430bcb46ffa3668c9538c62db5d145711f2324ba24df7d898673f [INFO] running `Command { std: "docker" "start" "-a" "4d1864235f9430bcb46ffa3668c9538c62db5d145711f2324ba24df7d898673f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling mech-core v0.0.5 [INFO] [stderr] Compiling mech-utilities v0.0.5 [INFO] [stderr] Compiling mech-math v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Interner`, `Transaction` [INFO] [stdout] --> src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use mech_core::{Interner, Transaction}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quantity`, `make_quantity` [INFO] [stdout] --> src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | 0.0 => 0.0, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | 90.0 => 1.0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | 180.0 => 0.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | 270.0 => -1.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | 0.0 => 1.0, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | 90.0 => 0.0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | 180.0 => -1.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | 270.0 => 0.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | let (argument, table_ref) = &input[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | let (argument, table_ref) = &input[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:79:62 [INFO] [stdout] | [INFO] [stdout] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 15.90s [INFO] running `Command { std: "docker" "inspect" "4d1864235f9430bcb46ffa3668c9538c62db5d145711f2324ba24df7d898673f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d1864235f9430bcb46ffa3668c9538c62db5d145711f2324ba24df7d898673f", kill_on_drop: false }` [INFO] [stdout] 4d1864235f9430bcb46ffa3668c9538c62db5d145711f2324ba24df7d898673f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c1ce6e4e1ebb936004577cb544dfbc1e771fcdbde8d19b52b2aa8bc66474de03 [INFO] running `Command { std: "docker" "start" "-a" "c1ce6e4e1ebb936004577cb544dfbc1e771fcdbde8d19b52b2aa8bc66474de03", kill_on_drop: false }` [INFO] [stderr] Compiling mech-math v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Interner`, `Transaction` [INFO] [stdout] --> src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use mech_core::{Interner, Transaction}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quantity`, `make_quantity` [INFO] [stdout] --> src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | 0.0 => 0.0, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | 90.0 => 1.0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | 180.0 => 0.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | 270.0 => -1.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | 0.0 => 1.0, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | 90.0 => 0.0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | 180.0 => -1.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | 270.0 => 0.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | let (argument, table_ref) = &input[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | let (argument, table_ref) = &input[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:79:62 [INFO] [stdout] | [INFO] [stdout] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Interner`, `Transaction` [INFO] [stdout] --> src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use mech_core::{Interner, Transaction}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quantity`, `make_quantity` [INFO] [stdout] --> src/lib.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | 0.0 => 0.0, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | 90.0 => 1.0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | 180.0 => 0.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | 270.0 => -1.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | 0.0 => 1.0, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | 90.0 => 0.0, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | 180.0 => -1.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: floating-point types cannot be used in patterns [INFO] [stdout] --> src/lib.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | 270.0 => 0.0, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #41620 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/lib.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | let (argument, table_ref) = &input[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `argument` [INFO] [stdout] --> src/lib.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | let (argument, table_ref) = &input[0]; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:13:60 [INFO] [stdout] | [INFO] [stdout] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:37:60 [INFO] [stdout] | [INFO] [stdout] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:62:62 [INFO] [stdout] | [INFO] [stdout] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stdout] --> src/lib.rs:79:62 [INFO] [stdout] | [INFO] [stdout] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stdout] | ^^^^^ not FFI-safe [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] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.65s [INFO] running `Command { std: "docker" "inspect" "c1ce6e4e1ebb936004577cb544dfbc1e771fcdbde8d19b52b2aa8bc66474de03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c1ce6e4e1ebb936004577cb544dfbc1e771fcdbde8d19b52b2aa8bc66474de03", kill_on_drop: false }` [INFO] [stdout] c1ce6e4e1ebb936004577cb544dfbc1e771fcdbde8d19b52b2aa8bc66474de03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 5f68c0dae91ebd584f704c3cf1d3b1b6b2212b9a2cd5be2c85eec92fbac7802d [INFO] running `Command { std: "docker" "start" "-a" "5f68c0dae91ebd584f704c3cf1d3b1b6b2212b9a2cd5be2c85eec92fbac7802d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Interner`, `Transaction` [INFO] [stderr] --> src/lib.rs:4:17 [INFO] [stderr] | [INFO] [stderr] 4 | use mech_core::{Interner, Transaction}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Quantity`, `make_quantity` [INFO] [stderr] --> src/lib.rs:6:17 [INFO] [stderr] | [INFO] [stderr] 6 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | 0.0 => 0.0, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(illegal_floating_point_literal_pattern)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | 90.0 => 1.0, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | 180.0 => 0.0, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | 270.0 => -1.0, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:47:11 [INFO] [stderr] | [INFO] [stderr] 47 | 0.0 => 1.0, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:48:11 [INFO] [stderr] | [INFO] [stderr] 48 | 90.0 => 0.0, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | 180.0 => -1.0, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: floating-point types cannot be used in patterns [INFO] [stderr] --> src/lib.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | 270.0 => 0.0, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #41620 [INFO] [stderr] [INFO] [stderr] warning: unused variable: `argument` [INFO] [stderr] --> src/lib.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | let (argument, table_ref) = &input[0]; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `argument` [INFO] [stderr] --> src/lib.rs:80:8 [INFO] [stderr] | [INFO] [stderr] 80 | let (argument, table_ref) = &input[0]; [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_argument` [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:13:35 [INFO] [stderr] | [INFO] [stderr] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [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)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stderr] = note: this struct has unspecified layout [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:13:60 [INFO] [stderr] | [INFO] [stderr] 13 | pub extern "C" fn math_sin(input: Vec<(String, Table)>) -> Table { [INFO] [stderr] | ^^^^^ not FFI-safe [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] [INFO] [stderr] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:37:35 [INFO] [stderr] | [INFO] [stderr] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stderr] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:37:60 [INFO] [stderr] | [INFO] [stderr] 37 | pub extern "C" fn math_cos(input: Vec<(String, Table)>) -> Table { [INFO] [stderr] | ^^^^^ not FFI-safe [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] [INFO] [stderr] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:62:37 [INFO] [stderr] | [INFO] [stderr] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stderr] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:62:62 [INFO] [stderr] | [INFO] [stderr] 62 | pub extern "C" fn math_round(input: Vec<(String, Table)>) -> Table { [INFO] [stderr] | ^^^^^ not FFI-safe [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] [INFO] [stderr] warning: `extern` fn uses type `Vec<(std::string::String, mech_core::Table)>`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:79:37 [INFO] [stderr] | [INFO] [stderr] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ not FFI-safe [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] [INFO] [stderr] warning: `extern` fn uses type `mech_core::Table`, which is not FFI-safe [INFO] [stderr] --> src/lib.rs:79:62 [INFO] [stderr] | [INFO] [stderr] 79 | pub extern "C" fn math_floor(input: Vec<(String, Table)>) -> Table { [INFO] [stderr] | ^^^^^ not FFI-safe [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] [INFO] [stderr] warning: `mech-math` (lib) generated 20 warnings [INFO] [stderr] warning: `mech-math` (lib test) generated 20 warnings (20 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mech_math-af1cbf5d68d75c1d) [INFO] [stdout] [INFO] [stderr] Doc-tests mech-math [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] [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" "5f68c0dae91ebd584f704c3cf1d3b1b6b2212b9a2cd5be2c85eec92fbac7802d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f68c0dae91ebd584f704c3cf1d3b1b6b2212b9a2cd5be2c85eec92fbac7802d", kill_on_drop: false }` [INFO] [stdout] 5f68c0dae91ebd584f704c3cf1d3b1b6b2212b9a2cd5be2c85eec92fbac7802d