[INFO] fetching crate tokio-rusqlite-kanal-async-axuman 0.9.0... [INFO] building tokio-rusqlite-kanal-async-axuman-0.9.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate tokio-rusqlite-kanal-async-axuman 0.9.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tokio-rusqlite-kanal-async-axuman 0.9.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate tokio-rusqlite-kanal-async-axuman 0.9.0 [INFO] tweaked toml for crates.io crate tokio-rusqlite-kanal-async-axuman 0.9.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tokio-rusqlite-kanal-async-axuman 0.9.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tokio-rusqlite-kanal-async-axuman 0.9.0 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded kanal v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05820b31556d3a87ecca9be0e5a1a667f38b4e9deb243e1da99dbf76fff5a520 [INFO] running `Command { std: "docker" "start" "-a" "05820b31556d3a87ecca9be0e5a1a667f38b4e9deb243e1da99dbf76fff5a520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05820b31556d3a87ecca9be0e5a1a667f38b4e9deb243e1da99dbf76fff5a520", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05820b31556d3a87ecca9be0e5a1a667f38b4e9deb243e1da99dbf76fff5a520", kill_on_drop: false }` [INFO] [stdout] 05820b31556d3a87ecca9be0e5a1a667f38b4e9deb243e1da99dbf76fff5a520 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e321ac193718878b85571a092b4d36606e37af47d6559fed02d1f26e6938a41 [INFO] running `Command { std: "docker" "start" "-a" "1e321ac193718878b85571a092b4d36606e37af47d6559fed02d1f26e6938a41", kill_on_drop: false }` [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling fallible-streaming-iterator v0.1.9 [INFO] [stderr] Compiling fallible-iterator v0.3.0 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling kanal v0.1.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.15 [INFO] [stderr] Compiling rusqlite v0.35.0 [INFO] [stderr] Compiling tokio-rusqlite-kanal-async-axuman v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/lib.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use kanal::{AsyncReceiver, AsyncSender, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | event_loop(conn, receiver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.03s [INFO] running `Command { std: "docker" "inspect" "1e321ac193718878b85571a092b4d36606e37af47d6559fed02d1f26e6938a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e321ac193718878b85571a092b4d36606e37af47d6559fed02d1f26e6938a41", kill_on_drop: false }` [INFO] [stdout] 1e321ac193718878b85571a092b4d36606e37af47d6559fed02d1f26e6938a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38ee138ac749cb87f700c1ace3875532c98330d19bee6fadb9697980c75d34d5 [INFO] running `Command { std: "docker" "start" "-a" "38ee138ac749cb87f700c1ace3875532c98330d19bee6fadb9697980c75d34d5", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling libsqlite3-sys v0.33.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling rusqlite v0.35.0 [INFO] [stderr] Compiling tokio-rusqlite-kanal-async-axuman v0.9.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/lib.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use kanal::{AsyncReceiver, AsyncSender, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | event_loop(conn, receiver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rusqlite_new` [INFO] [stdout] --> tests/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_rusqlite_new::{Connection, Error, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_rusqlite_new` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_rusqlite_new`, use `cargo add tokio_rusqlite_new` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rusqlite_new` [INFO] [stdout] --> examples/multiple_tasks.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use tokio_rusqlite_new::{Connection, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_rusqlite_new` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_rusqlite_new`, use `cargo add tokio_rusqlite_new` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let conn = Connection::open_in_memory().await; [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | assert!(conn.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 8 | let conn: /* Type */ = Connection::open_in_memory().await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | conn.call(|conn| { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 16 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | conn.call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | conn.execute( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 19 | conn.call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:28:19 [INFO] [stdout] | [INFO] [stdout] 28 | .map_err(|e| e.into()) [INFO] [stdout] | ^ ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 28 | .map_err(|e: /* Type */| e.into()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | .call(|conn| { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | .call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | conn.execute( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | .call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:42:16 [INFO] [stdout] | [INFO] [stdout] 42 | .call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 43 | let mut stmt = conn.prepare("SELECT id, name, data FROM person")?; [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 42 | .call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | .query_map([], |row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 46 | Ok(Person { [INFO] [stdout] 47 | id: row.get(0)?, [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 45 | .query_map([], |row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | .call_unwrap(|conn| { [INFO] [stdout] | ----------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 33 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | .call_unwrap(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 37 | conn.execute( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 36 | .call_unwrap(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:74:25 [INFO] [stdout] | [INFO] [stdout] 74 | conn.call(move |conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 75 | conn.execute( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 74 | conn.call(move |conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:81:10 [INFO] [stdout] | [INFO] [stdout] 81 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 93 | conn.call(move |conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | conn.execute( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 93 | conn.call(move |conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/multiple_tasks.rs:100:10 [INFO] [stdout] | [INFO] [stdout] 100 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 53 | [INFO] [stdout] 54 | let result = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:54:29 [INFO] [stdout] | [INFO] [stdout] 54 | let result = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let result = conn.call(|conn: /* Type */| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | let result = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 55 | [INFO] [stdout] 56 | assert!(match result.unwrap_err() { [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 54 | let result: /* Type */ = conn.call(|conn| conn.execute("Invalid sql", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 77 | [INFO] [stdout] 78 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 76 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 86 | [INFO] [stdout] 87 | let conn2 = conn.clone(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 85 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | assert!(conn2.close().await.is_ok()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 98 | [INFO] [stdout] 99 | let conn2 = conn.clone(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 97 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:103:30 [INFO] [stdout] | [INFO] [stdout] 103 | let result = conn2.call(|conn| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let result = conn2.call(|conn: /* Type */| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | let result = conn2.call(|conn| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 104 | [INFO] [stdout] 105 | assert!(matches!(result.unwrap_err(), Error::ConnectionClosed)); [INFO] [stdout] | ---------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `result` an explicit type [INFO] [stdout] | [INFO] [stdout] 103 | let result: /* Type */ = conn2.call(|conn| conn.execute("SELECT 1;", [])).await; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-rusqlite-kanal-async-axuman` (example "multiple_tasks") due to 10 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:113:51 [INFO] [stdout] | [INFO] [stdout] 113 | let conn = Connection::open_in_memory().await.unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:117:32 [INFO] [stdout] | [INFO] [stdout] 117 | assert!(conn.close().await.is_ok()); [INFO] [stdout] | ^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:120:23 [INFO] [stdout] | [INFO] [stdout] 120 | .call_unwrap(|conn| conn.execute("SELECT 1;", [])) [INFO] [stdout] | ^^^^ ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 120 | .call_unwrap(|conn: /* Type */| conn.execute("SELECT 1;", [])) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:122:10 [INFO] [stdout] | [INFO] [stdout] 122 | .unwrap(); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 128 | [INFO] [stdout] 129 | conn.call(|conn| { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 127 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:129:16 [INFO] [stdout] | [INFO] [stdout] 129 | conn.call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 130 | conn.execute( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 129 | conn.call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | conn.call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | let stmt = Box::new(conn.prepare("INSERT INTO person VALUES (1, ?1);").unwrap()); [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 137 | conn.call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:146:38 [INFO] [stdout] | [INFO] [stdout] 146 | assert!(match conn.close().await.unwrap_err() { [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:228:9 [INFO] [stdout] | [INFO] [stdout] 228 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 229 | [INFO] [stdout] 230 | let err = conn.call(|conn| failable_func(conn)).await.unwrap_err(); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 228 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:230:59 [INFO] [stdout] | [INFO] [stdout] 230 | let err = conn.call(|conn| failable_func(conn)).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:241:9 [INFO] [stdout] | [INFO] [stdout] 241 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] 242 | [INFO] [stdout] 243 | let err = conn.call_raw(|_conn| Err(())).await.expect("call success"); [INFO] [stdout] | -------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 241 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:243:52 [INFO] [stdout] | [INFO] [stdout] 243 | let err = conn.call_raw(|_conn| Err(())).await.expect("call success"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> tests/tests.rs:247:50 [INFO] [stdout] | [INFO] [stdout] 247 | let ok = conn.call_raw(|_conn| Ok(())).await.expect("call success"); [INFO] [stdout] | ^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/lib.rs:9:41 [INFO] [stdout] | [INFO] [stdout] 9 | use kanal::{AsyncReceiver, AsyncSender, Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tokio_rusqlite_new` [INFO] [stdout] --> examples/in_memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio_rusqlite_new::{Connection, Result}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `tokio_rusqlite_new` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tokio_rusqlite_new`, use `cargo add tokio_rusqlite_new` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-rusqlite-kanal-async-axuman` (test "tests") due to 31 previous errors [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/in_memory.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let conn = Connection::open_in_memory().await?; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | .call(|conn| { [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `conn` an explicit type [INFO] [stdout] | [INFO] [stdout] 15 | let conn: /* Type */ = Connection::open_in_memory().await?; [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/in_memory.rs:18:16 [INFO] [stdout] | [INFO] [stdout] 18 | .call(|conn| { [INFO] [stdout] | ^^^^ [INFO] [stdout] 19 | conn.execute( [INFO] [stdout] | ------- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 18 | .call(|conn: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/in_memory.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | .query_map([], |row| { [INFO] [stdout] | ^^^ [INFO] [stdout] 42 | Ok(Person { [INFO] [stdout] 43 | id: row.get(0)?, [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 41 | .query_map([], |row: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-rusqlite-kanal-async-axuman` (example "in_memory") due to 4 previous errors [INFO] [stdout] warning: unused implementer of `Future` that must be used [INFO] [stdout] --> src/lib.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | event_loop(conn, receiver); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: futures do nothing unless you `.await` or poll them [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "38ee138ac749cb87f700c1ace3875532c98330d19bee6fadb9697980c75d34d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38ee138ac749cb87f700c1ace3875532c98330d19bee6fadb9697980c75d34d5", kill_on_drop: false }` [INFO] [stdout] 38ee138ac749cb87f700c1ace3875532c98330d19bee6fadb9697980c75d34d5