[INFO] fetching crate mech-math 0.0.5... [INFO] testing mech-math-0.0.5 against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] extracting crate mech-math 0.0.5 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate mech-math 0.0.5 on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate 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-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 96850ae9d13da4678408a9166d714fb6b6708e6eee8cf025205ae1d96ba2d192 [INFO] running `Command { std: "docker" "start" "-a" "96850ae9d13da4678408a9166d714fb6b6708e6eee8cf025205ae1d96ba2d192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "96850ae9d13da4678408a9166d714fb6b6708e6eee8cf025205ae1d96ba2d192", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "96850ae9d13da4678408a9166d714fb6b6708e6eee8cf025205ae1d96ba2d192", kill_on_drop: false }` [INFO] [stdout] 96850ae9d13da4678408a9166d714fb6b6708e6eee8cf025205ae1d96ba2d192 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c246e8a71f32e1e6c762135c800af4a5bb15378039204673e759cd7e239e4672 [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" "c246e8a71f32e1e6c762135c800af4a5bb15378039204673e759cd7e239e4672", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Compiling ahash v0.3.8 [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 16.89s [INFO] running `Command { std: "docker" "inspect" "c246e8a71f32e1e6c762135c800af4a5bb15378039204673e759cd7e239e4672", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c246e8a71f32e1e6c762135c800af4a5bb15378039204673e759cd7e239e4672", kill_on_drop: false }` [INFO] [stdout] c246e8a71f32e1e6c762135c800af4a5bb15378039204673e759cd7e239e4672 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bea467e1764d1d9ff9bb96775e579c03fb39bf9f3dd05e5404785d22831be55 [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" "4bea467e1764d1d9ff9bb96775e579c03fb39bf9f3dd05e5404785d22831be55", kill_on_drop: false }` [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] [stderr] Compiling mech-math v0.0.5 (/opt/rustwide/workdir) [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 1.31s [INFO] running `Command { std: "docker" "inspect" "4bea467e1764d1d9ff9bb96775e579c03fb39bf9f3dd05e5404785d22831be55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bea467e1764d1d9ff9bb96775e579c03fb39bf9f3dd05e5404785d22831be55", kill_on_drop: false }` [INFO] [stdout] 4bea467e1764d1d9ff9bb96775e579c03fb39bf9f3dd05e5404785d22831be55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f5cdff240d2bc0118edd4a2cd82c1611c993ba79f1d8cb2556ec13b8ae921121 [INFO] running `Command { std: "docker" "start" "-a" "f5cdff240d2bc0118edd4a2cd82c1611c993ba79f1d8cb2556ec13b8ae921121", 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.04s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/mech_math-cb17447b1cb3eabf) [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] [stderr] Doc-tests mech-math [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" "f5cdff240d2bc0118edd4a2cd82c1611c993ba79f1d8cb2556ec13b8ae921121", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f5cdff240d2bc0118edd4a2cd82c1611c993ba79f1d8cb2556ec13b8ae921121", kill_on_drop: false }` [INFO] [stdout] f5cdff240d2bc0118edd4a2cd82c1611c993ba79f1d8cb2556ec13b8ae921121