[INFO] cloning repository https://github.com/sandersaares/ffi_testing [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sandersaares/ffi_testing" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandersaares%2Fffi_testing", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandersaares%2Fffi_testing'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1175a05f6b3bb9e07f8a9a2a62e3879091b0b712 [INFO] checking sandersaares/ffi_testing against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsandersaares%2Fffi_testing" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sandersaares/ffi_testing on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sandersaares/ffi_testing [INFO] finished tweaking git repo https://github.com/sandersaares/ffi_testing [INFO] tweaked toml for git repo https://github.com/sandersaares/ffi_testing written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sandersaares/ffi_testing already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap v4.4.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3db2a6413e6bd9150dac12f4351917a25ba316a0c8765d16f9b6ba15acc5bf84 [INFO] running `Command { std: "docker" "start" "-a" "3db2a6413e6bd9150dac12f4351917a25ba316a0c8765d16f9b6ba15acc5bf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3db2a6413e6bd9150dac12f4351917a25ba316a0c8765d16f9b6ba15acc5bf84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3db2a6413e6bd9150dac12f4351917a25ba316a0c8765d16f9b6ba15acc5bf84", kill_on_drop: false }` [INFO] [stdout] 3db2a6413e6bd9150dac12f4351917a25ba316a0c8765d16f9b6ba15acc5bf84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7bc87a73dae8ec8b51a459c3ed60b16d95c18dc0da901188811fe2d189c260e [INFO] running `Command { std: "docker" "start" "-a" "a7bc87a73dae8ec8b51a459c3ed60b16d95c18dc0da901188811fe2d189c260e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling mockall_derive v0.13.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking predicates-core v1.0.8 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.4.9 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking predicates-tree v1.0.11 [INFO] [stderr] Checking predicates v3.1.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking fragile v2.0.0 [INFO] [stderr] Checking downcast v0.11.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking clap v4.4.9 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Checking mockall v0.13.0 [INFO] [stderr] Checking ffi_testing v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `process_request` is never used [INFO] [stdout] --> src/ffi/http_request_ffi.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait HttpRequestFfi { [INFO] [stdout] | -------------- method in this trait [INFO] [stdout] 5 | fn process_request(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `HttpRequestFfi_expectations` is never read [INFO] [stdout] --> src/ffi/http_request_ffi.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait HttpRequestFfi { [INFO] [stdout] | ^^^^^^^^^^^^^^ field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `http_start` and `get_metrics_for` are never used [INFO] [stdout] --> src/ffi/http_sys_ffi.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait HttpSysFfi { [INFO] [stdout] | ---------- methods in this trait [INFO] [stdout] 5 | fn http_start(&self) -> i32; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | fn get_metrics_for(&self, server_id: i32) -> String; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `HttpSysFfi_expectations` is never read [INFO] [stdout] --> src/ffi/http_sys_ffi.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) trait HttpSysFfi { [INFO] [stdout] | ^^^^^^^^^^ field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http_sys_ffi` and `http_server` are never read [INFO] [stdout] --> src/http_metrics.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct HttpMetricsCore [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | http_sys_ffi: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | http_server: HttpSysServerCore, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `for_server`, `http_sys_ffi`, and `get_metrics` are never used [INFO] [stdout] --> src/http_metrics.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HttpMetricsCore [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | THttpSysFfi: HttpSysFfi, [INFO] [stdout] 20 | | THttpRequestFfi: HttpRequestFfi, [INFO] [stdout] | |____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub(crate) fn for_server( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn http_sys_ffi(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub(crate) fn get_metrics(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `for_server` and `get_metrics` are never used [INFO] [stdout] --> src/http_metrics.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl HttpMetrics { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 47 | pub fn for_server(http_server: HttpSysServer) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_metrics(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `http_request_ffi` is never read [INFO] [stdout] --> src/http_request.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) struct HttpRequestCore [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 9 | http_request_ffi: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `http_request_ffi`, and `process` are never used [INFO] [stdout] --> src/http_request.rs:16:19 [INFO] [stdout] | [INFO] [stdout] 12 | / impl HttpRequestCore [INFO] [stdout] 13 | | where [INFO] [stdout] 14 | | THttpRequestFfi: HttpRequestFfi, [INFO] [stdout] | |____________________________________- associated items in this implementation [INFO] [stdout] 15 | { [INFO] [stdout] 16 | pub(crate) fn new(http_request_ffi: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn http_request_ffi(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub(crate) fn process(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `process` are never used [INFO] [stdout] --> src/http_request.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl HttpRequest { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 37 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn process(&self) -> i32 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http_sys_ffi` and `http_request_ffi` are never read [INFO] [stdout] --> src/http_sys_server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct HttpSysServerCore [INFO] [stdout] | ----------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | http_sys_ffi: Arc, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | http_request_ffi: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `http_sys_ffi`, `http_request_ffi`, `start`, `accept`, and `server_id` are never used [INFO] [stdout] --> src/http_sys_server.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HttpSysServerCore [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | THttpSysFfi: HttpSysFfi, [INFO] [stdout] 20 | | THttpRequestFfi: HttpRequestFfi, [INFO] [stdout] | |____________________________________- associated items in this implementation [INFO] [stdout] 21 | { [INFO] [stdout] 22 | pub(crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub(crate) fn http_sys_ffi(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn http_request_ffi(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub(crate) fn start(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub(crate) fn accept(&self) -> HttpRequestCore { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub(crate) fn server_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, and `accept` are never used [INFO] [stdout] --> src/http_sys_server.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl HttpSysServer { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 62 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn start(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn accept(&self) -> HttpRequest { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stdout] warning: unused import: `time::SystemTime` [INFO] [stdout] --> benches/benchmark.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::c_ulong, hint::black_box, sync::Arc, time::SystemTime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `http_sys_ffi` is never used [INFO] [stdout] --> src/http_metrics.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HttpMetricsCore [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | THttpSysFfi: HttpSysFfi, [INFO] [stdout] 20 | | THttpRequestFfi: HttpRequestFfi, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn http_sys_ffi(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `http_request_ffi` is never used [INFO] [stdout] --> src/http_request.rs:21:19 [INFO] [stdout] | [INFO] [stdout] 12 | / impl HttpRequestCore [INFO] [stdout] 13 | | where [INFO] [stdout] 14 | | THttpRequestFfi: HttpRequestFfi, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub(crate) fn http_request_ffi(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/http_request.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl HttpRequest { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `http_request_ffi` is never used [INFO] [stdout] --> src/http_sys_server.rs:38:19 [INFO] [stdout] | [INFO] [stdout] 17 | / impl HttpSysServerCore [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | THttpSysFfi: HttpSysFfi, [INFO] [stdout] 20 | | THttpRequestFfi: HttpRequestFfi, [INFO] [stdout] | |____________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub(crate) fn http_request_ffi(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.74s [INFO] running `Command { std: "docker" "inspect" "a7bc87a73dae8ec8b51a459c3ed60b16d95c18dc0da901188811fe2d189c260e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7bc87a73dae8ec8b51a459c3ed60b16d95c18dc0da901188811fe2d189c260e", kill_on_drop: false }` [INFO] [stdout] a7bc87a73dae8ec8b51a459c3ed60b16d95c18dc0da901188811fe2d189c260e