[INFO] cloning repository https://github.com/EmilLindfors/async_sqlite [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EmilLindfors/async_sqlite" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilLindfors%2Fasync_sqlite", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilLindfors%2Fasync_sqlite'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bf52cbb875a7534a55acef7d8c2cfe3ba4c62a2 [INFO] checking EmilLindfors/async_sqlite/8bf52cbb875a7534a55acef7d8c2cfe3ba4c62a2 against master#a5db378dc14a40dd1580c27fb8362156446382c3 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmilLindfors%2Fasync_sqlite" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EmilLindfors/async_sqlite on toolchain a5db378dc14a40dd1580c27fb8362156446382c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EmilLindfors/async_sqlite [INFO] finished tweaking git repo https://github.com/EmilLindfors/async_sqlite [INFO] tweaked toml for git repo https://github.com/EmilLindfors/async_sqlite written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EmilLindfors/async_sqlite 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" "+a5db378dc14a40dd1580c27fb8362156446382c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 38 packages to latest compatible versions [INFO] [stderr] Adding bytemuck v1.21.0 [INFO] [stderr] Adding color_quant v1.1.0 [INFO] [stderr] Adding core-foundation v0.9.4 [INFO] [stderr] Adding core-graphics v0.23.2 [INFO] [stderr] Adding core-graphics-types v0.1.3 [INFO] [stderr] Adding core-text v20.1.0 [INFO] [stderr] Adding crc32fast v1.4.2 [INFO] [stderr] Adding dirs v5.0.1 [INFO] [stderr] Adding dirs-sys v0.4.1 [INFO] [stderr] Adding dlib v0.5.2 [INFO] [stderr] Adding dwrote v0.11.2 [INFO] [stderr] Adding fdeflate v0.3.7 [INFO] [stderr] Adding flate2 v1.0.35 [INFO] [stderr] Adding float-ord v0.3.2 [INFO] [stderr] Adding font-kit v0.14.2 [INFO] [stderr] Adding foreign-types v0.5.0 [INFO] [stderr] Adding foreign-types-macros v0.2.3 [INFO] [stderr] Adding foreign-types-shared v0.3.1 [INFO] [stderr] Adding freetype-sys v0.20.1 [INFO] [stderr] Adding gif v0.12.0 [INFO] [stderr] Adding image v0.24.9 [INFO] [stderr] Adding jpeg-decoder v0.3.1 [INFO] [stderr] Adding lazy_static v1.5.0 [INFO] [stderr] Adding libloading v0.8.6 [INFO] [stderr] Adding libredox v0.1.3 [INFO] [stderr] Adding option-ext v0.2.0 [INFO] [stderr] Adding pathfinder_geometry v0.5.1 [INFO] [stderr] Adding pathfinder_simd v0.5.4 [INFO] [stderr] Adding plotters-bitmap v0.3.7 [INFO] [stderr] Adding png v0.17.16 [INFO] [stderr] Adding redox_users v0.4.6 [INFO] [stderr] Adding rustc_version v0.4.1 [INFO] [stderr] Adding semver v1.0.25 [INFO] [stderr] Adding simd-adler32 v0.3.7 [INFO] [stderr] Adding ttf-parser v0.20.0 [INFO] [stderr] Adding weezl v0.1.8 [INFO] [stderr] Adding wio v0.2.2 [INFO] [stderr] Adding yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded plotters-bitmap v0.3.7 [INFO] [stderr] Downloaded float-ord v0.3.2 [INFO] [stderr] Downloaded r2d2 v0.8.10 [INFO] [stderr] Downloaded dwrote v0.11.2 [INFO] [stderr] Downloaded scheduled-thread-pool v0.2.7 [INFO] [stderr] Downloaded r2d2_sqlite v0.25.0 [INFO] [stderr] Downloaded sysinfo v0.32.0 [INFO] [stderr] Downloaded font-kit v0.14.2 [INFO] [stderr] Downloaded yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Downloaded pathfinder_simd v0.5.4 [INFO] [stderr] Downloaded rusqlite v0.32.1 [INFO] [stderr] Downloaded smol v2.0.2 [INFO] [stderr] Downloaded freetype-sys v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbfe26182641d70b7a37f83af9bc1693a170daa61cb6315d26fe2bf46e9465fa [INFO] running `Command { std: "docker" "start" "-a" "cbfe26182641d70b7a37f83af9bc1693a170daa61cb6315d26fe2bf46e9465fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbfe26182641d70b7a37f83af9bc1693a170daa61cb6315d26fe2bf46e9465fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbfe26182641d70b7a37f83af9bc1693a170daa61cb6315d26fe2bf46e9465fa", kill_on_drop: false }` [INFO] [stdout] cbfe26182641d70b7a37f83af9bc1693a170daa61cb6315d26fe2bf46e9465fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e7a115655710bea0e577a691e860e328591fb8a0800131c0883ed0266df6141c [INFO] running `Command { std: "docker" "start" "-a" "e7a115655710bea0e577a691e860e328591fb8a0800131c0883ed0266df6141c", kill_on_drop: false }` [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking fastrand v2.1.1 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Compiling rustix v0.38.38 [INFO] [stderr] Compiling cc v1.1.31 [INFO] [stderr] Compiling syn v2.0.85 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Compiling semver v1.0.25 [INFO] [stderr] Checking async-channel v2.3.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking blocking v1.6.1 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Compiling pathfinder_simd v0.5.4 [INFO] [stderr] Compiling freetype-sys v0.20.1 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-executor v1.13.1 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Compiling yeslogic-fontconfig-sys v6.0.0 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Compiling async-fs v1.6.0 [INFO] [stderr] Compiling font-kit v0.14.2 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking pathfinder_geometry v0.5.1 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking event-listener v3.1.0 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking fallible-streaming-iterator v0.1.9 [INFO] [stderr] Checking anstyle v1.0.9 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling thiserror v1.0.65 [INFO] [stderr] Checking float-ord v0.3.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking fallible-iterator v0.3.0 [INFO] [stderr] Checking plotters-bitmap v0.3.7 [INFO] [stderr] Checking async-net v1.8.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.20 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking regex-automata v0.4.8 [INFO] [stderr] Checking crossbeam-channel v0.5.13 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Checking polling v3.7.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking async-io v2.3.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking async-signal v0.2.10 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking async-std v1.13.0 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking async-process v2.3.0 [INFO] [stderr] Checking async-process v1.8.1 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.65 [INFO] [stderr] Checking hashlink v0.9.1 [INFO] [stderr] Checking uuid v1.11.0 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking ttf-parser v0.20.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking crossbeam v0.8.4 [INFO] [stderr] Checking smol v2.0.2 [INFO] [stderr] Checking smol v1.3.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking clap v4.5.20 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking sysinfo v0.32.0 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking rusqlite v0.32.1 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking r2d2_sqlite v0.25.0 [INFO] [stderr] Checking async_sqlite v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | crossbeam::scope(|s| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/spawn.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn spawn_blocking(f: F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn spawn_blocking(f: F) -> Result [INFO] [stdout] 9 + fn spawn_blocking(f: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/spawn.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn spawn_blocking_local(f: F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn spawn_blocking_local(f: F) -> Result [INFO] [stdout] 17 + fn spawn_blocking_local(f: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0252]: the name `System` is defined multiple times [INFO] [stdout] --> benches/my_benchmark.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 8 | use std::alloc::System; [INFO] [stdout] | ------------------ previous import of the type `System` here [INFO] [stdout] ... [INFO] [stdout] 11 | use sysinfo::{System, SystemExt, ProcessExt, CpuExt}; [INFO] [stdout] | ^^^^^^ `System` reimported here [INFO] [stdout] | [INFO] [stdout] = note: `System` must be defined only once in the type namespace of this module [INFO] [stdout] help: you can use `as` to change the binding name of the import [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{System as OtherSystem, SystemExt, ProcessExt, CpuExt}; [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> src/lib.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `sysinfo::SystemExt`, `sysinfo::ProcessExt`, `sysinfo::CpuExt` [INFO] [stdout] --> benches/my_benchmark.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{System, SystemExt, ProcessExt, CpuExt}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ ^^^^^^ no `CpuExt` in the root [INFO] [stdout] | | | [INFO] [stdout] | | no `ProcessExt` in the root [INFO] [stdout] | no `SystemExt` in the root [INFO] [stdout] | [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{System, System, ProcessExt, CpuExt}; [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: a similar name exists in the module [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{System, SystemExt, Process, CpuExt}; [INFO] [stdout] | ~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Mutex` in this scope [INFO] [stdout] --> benches/my_benchmark.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | metrics: Arc>>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use async_std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::lock::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AtomicBool` in this scope [INFO] [stdout] --> benches/my_benchmark.rs:33:21 [INFO] [stdout] | [INFO] [stdout] 33 | is_running: Arc, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::AtomicBool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mutex` [INFO] [stdout] --> benches/my_benchmark.rs:47:31 [INFO] [stdout] | [INFO] [stdout] 47 | metrics: Arc::new(Mutex::new(Vec::new())), [INFO] [stdout] | ^^^^^ use of undeclared type `Mutex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use async_std::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use futures::lock::Mutex; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::sync::Mutex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AtomicBool` [INFO] [stdout] --> benches/my_benchmark.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | is_running: Arc::new(AtomicBool::new(false)), [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `AtomicBool` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::AtomicBool; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> benches/my_benchmark.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | is_running.store(true, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Instant` [INFO] [stdout] --> benches/my_benchmark.rs:63:25 [INFO] [stdout] | [INFO] [stdout] 63 | let start = Instant::now(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Instant` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use std::time::Instant; [INFO] [stdout] | [INFO] [stdout] 1 + use tokio::time::Instant; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> benches/my_benchmark.rs:64:35 [INFO] [stdout] | [INFO] [stdout] 64 | while is_running.load(Ordering::SeqCst) { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Ordering` [INFO] [stdout] --> benches/my_benchmark.rs:83:38 [INFO] [stdout] | [INFO] [stdout] 83 | self.is_running.store(false, Ordering::SeqCst); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Ordering` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use std::cmp::Ordering; [INFO] [stdout] | [INFO] [stdout] 1 + use std::sync::atomic::Ordering; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatabaseInstances` in this scope [INFO] [stdout] --> benches/my_benchmark.rs:477:11 [INFO] [stdout] | [INFO] [stdout] 477 | dbs: &DatabaseInstances, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FuturesUnordered` [INFO] [stdout] --> benches/my_benchmark.rs:511:45 [INFO] [stdout] | [INFO] [stdout] 511 | ... let mut tasks = FuturesUnordered::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `FuturesUnordered` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use futures::stream::FuturesUnordered; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BatchSize`, `black_box`, and `measurement::WallTime` [INFO] [stdout] --> benches/my_benchmark.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | black_box, criterion_group, criterion_main, BatchSize, Criterion, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 4 | Throughput, BenchmarkId, measurement::WallTime, PlotConfiguration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `System` [INFO] [stdout] --> benches/my_benchmark.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sysinfo::{System, SystemExt, ProcessExt, CpuExt}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `DatabaseError` [INFO] [stdout] --> benches/my_benchmark.rs:585:30 [INFO] [stdout] | [INFO] [stdout] 582 | / ... plot_resource_usage( [INFO] [stdout] 583 | | ... &monitor.get_metrics(), [INFO] [stdout] 584 | | ... &format!("resource_usage_{}_{}.png", executor, concurrency), [INFO] [stdout] 585 | | ... )?; [INFO] [stdout] | | -^ the trait `From>` is not implemented for `DatabaseError` [INFO] [stdout] | |_______________________| [INFO] [stdout] | this can't be annotated with `?` because it has type `Result<_, Box<(dyn std::error::Error + 'static)>>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `DatabaseError` implements `From` [INFO] [stdout] `DatabaseError` implements `From` [INFO] [stdout] `DatabaseError` implements `From` [INFO] [stdout] `DatabaseError` implements `From` [INFO] [stdout] = note: required for `Result<(), DatabaseError>` to implement `FromResidual>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new_all` found for struct `std::alloc::System` in the current scope [INFO] [stdout] --> benches/my_benchmark.rs:38:34 [INFO] [stdout] | [INFO] [stdout] 38 | let mut system = System::new_all(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `System` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> benches/my_benchmark.rs:55:13 [INFO] [stdout] | [INFO] [stdout] 55 | let is_running = Arc::clone(&self.is_running); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | is_running.store(true, Ordering::SeqCst); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `is_running` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 55 | let is_running: Arc = Arc::clone(&self.is_running); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `s` [INFO] [stdout] --> src/lib.rs:127:27 [INFO] [stdout] | [INFO] [stdout] 127 | crossbeam::scope(|s| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_s` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `refresh_all` found for struct `std::alloc::System` in the current scope [INFO] [stdout] --> benches/my_benchmark.rs:65:24 [INFO] [stdout] | [INFO] [stdout] 65 | system.refresh_all(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `System` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `process` found for struct `std::alloc::System` in the current scope [INFO] [stdout] --> benches/my_benchmark.rs:67:47 [INFO] [stdout] | [INFO] [stdout] 67 | if let Some(process) = system.process(pid) { [INFO] [stdout] | ^^^^^^^ method not found in `System` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `Arc<_, _>` [INFO] [stdout] --> benches/my_benchmark.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let metrics = Arc::clone(&self.metrics); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | metrics.lock().unwrap().push(metric); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `metrics` an explicit type, where the type for type parameter `T` is specified [INFO] [stdout] | [INFO] [stdout] 54 | let metrics: Arc = Arc::clone(&self.metrics); [INFO] [stdout] | +++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/spawn.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | async fn spawn_blocking(f: F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 9 - async fn spawn_blocking(f: F) -> Result [INFO] [stdout] 9 + fn spawn_blocking(f: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/spawn.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | async fn spawn_blocking_local(f: F) -> Result [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 17 - async fn spawn_blocking_local(f: F) -> Result [INFO] [stdout] 17 + fn spawn_blocking_local(f: F) -> impl std::future::Future> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&DynElement<'static, BitMapBackend<'_>, ...>: PointCollection<'b, ...>` is not satisfied [INFO] [stdout] --> benches/my_benchmark.rs:649:11 [INFO] [stdout] | [INFO] [stdout] 649 | chart.draw_series(LineSeries::new( [INFO] [stdout] | ^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] = help: the trait `PointCollection<'b, (_, f32), BackendCoordOnly>` is not implemented for `&'b DynElement<'static, _, _>` [INFO] [stdout] but trait `PointCollection<'_, (_, f64), BackendCoordOnly>` is implemented for `&DynElement<'_, _, _>` [INFO] [stdout] = help: for that trait implementation, expected `f64`, found `f32` [INFO] [stdout] note: required by a bound in `ChartContext::<'a, DB, CT>::draw_series` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/plotters-0.3.7/src/chart/context.rs:126:24 [INFO] [stdout] | [INFO] [stdout] 120 | pub fn draw_series( [INFO] [stdout] | ----------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 126 | for<'b> &'b E: PointCollection<'b, CT::From, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ChartContext::<'a, DB, CT>::draw_series` [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/my_benchmark-7579d7bbe4893282.long-type-12791702966178224270.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0252, E0277, E0282, E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0252`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async_sqlite` (bench "my_benchmark") due to 19 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e7a115655710bea0e577a691e860e328591fb8a0800131c0883ed0266df6141c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7a115655710bea0e577a691e860e328591fb8a0800131c0883ed0266df6141c", kill_on_drop: false }` [INFO] [stdout] e7a115655710bea0e577a691e860e328591fb8a0800131c0883ed0266df6141c