[INFO] fetching crate mech-stats 0.0.5... [INFO] checking mech-stats-0.0.5 against try#b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f for pr-76104 [INFO] extracting crate mech-stats 0.0.5 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate mech-stats 0.0.5 on toolchain b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate mech-stats 0.0.5 [INFO] finished tweaking crates.io crate mech-stats 0.0.5 [INFO] tweaked toml for crates.io crate mech-stats 0.0.5 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db8dc099eb652e63546e4c4abf0c4b1e3bcabff1427774f6edbc98f6c845d154 [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" "db8dc099eb652e63546e4c4abf0c4b1e3bcabff1427774f6edbc98f6c845d154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db8dc099eb652e63546e4c4abf0c4b1e3bcabff1427774f6edbc98f6c845d154", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db8dc099eb652e63546e4c4abf0c4b1e3bcabff1427774f6edbc98f6c845d154", kill_on_drop: false }` [INFO] [stdout] db8dc099eb652e63546e4c4abf0c4b1e3bcabff1427774f6edbc98f6c845d154 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b1cc2963e8346ba1f5afb1edb86dbcf3f9ef0c5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b8e3697193064c5483e4f2ad17aae444880b03d670ce414199f1f5d14b460b3 [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" "2b8e3697193064c5483e4f2ad17aae444880b03d670ce414199f1f5d14b460b3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking mech-core v0.0.5 [INFO] [stderr] Checking mech-utilities v0.0.5 [INFO] [stderr] Checking mech-stats v0.0.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Interner`, `Transaction` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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: `QuantityMath`, `Quantity`, `make_quantity` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [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:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern "C" fn stats_average(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:8:65 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern "C" fn stats_average(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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Interner`, `Transaction` [INFO] [stdout] --> src/lib.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | 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: `QuantityMath`, `Quantity`, `make_quantity` [INFO] [stdout] --> src/lib.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [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:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern "C" fn stats_average(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:8:65 [INFO] [stdout] | [INFO] [stdout] 8 | pub extern "C" fn stats_average(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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Quantity`, `make_quantity` [INFO] [stdout] --> tests/stats.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QuantityMath` [INFO] [stdout] --> tests/stats.rs:6:39 [INFO] [stdout] | [INFO] [stdout] 6 | use mech_core::{Quantity, ToQuantity, QuantityMath, make_quantity}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.74s [INFO] running `Command { std: "docker" "inspect" "2b8e3697193064c5483e4f2ad17aae444880b03d670ce414199f1f5d14b460b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b8e3697193064c5483e4f2ad17aae444880b03d670ce414199f1f5d14b460b3", kill_on_drop: false }` [INFO] [stdout] 2b8e3697193064c5483e4f2ad17aae444880b03d670ce414199f1f5d14b460b3