[INFO] fetching crate squire 0.0.1-alpha.1... [INFO] testing squire-0.0.1-alpha.1 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate squire 0.0.1-alpha.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate squire 0.0.1-alpha.1 [INFO] finished tweaking crates.io crate squire 0.0.1-alpha.1 [INFO] tweaked toml for crates.io crate squire 0.0.1-alpha.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate squire 0.0.1-alpha.1 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate squire 0.0.1-alpha.1 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.101 [INFO] [stderr] Downloaded percent-encoding v2.3.2 [INFO] [stderr] Downloaded form_urlencoded v1.2.2 [INFO] [stderr] Downloaded cexpr v0.6.0 [INFO] [stderr] Downloaded quote v1.0.40 [INFO] [stderr] Downloaded unicode-ident v1.0.18 [INFO] [stderr] Downloaded ryu v1.0.20 [INFO] [stderr] Downloaded litemap v0.8.0 [INFO] [stderr] Downloaded widestring v1.2.0 [INFO] [stderr] Downloaded prettyplease v0.2.37 [INFO] [stderr] Downloaded heck v0.5.0 [INFO] [stderr] Downloaded icu_normalizer v2.0.0 [INFO] [stderr] Downloaded clang-sys v1.8.1 [INFO] [stderr] Downloaded windows-link v0.1.3 [INFO] [stderr] Downloaded itoa v1.0.15 [INFO] [stderr] Downloaded bitflags v2.9.4 [INFO] [stderr] Downloaded aho-corasick v1.1.3 [INFO] [stderr] Downloaded memchr v2.7.5 [INFO] [stderr] Downloaded regex-automata v0.4.10 [INFO] [stderr] Downloaded cc v1.2.35 [INFO] [stderr] Downloaded minimal-lexical v0.2.1 [INFO] [stderr] Downloaded icu_normalizer_data v2.0.0 [INFO] [stderr] Downloaded windows_aarch64_msvc v0.53.0 [INFO] [stderr] Downloaded itertools v0.13.0 [INFO] [stderr] Downloaded windows_i686_msvc v0.53.0 [INFO] [stderr] Downloaded bindgen v0.72.1 [INFO] [stderr] Downloaded windows_x86_64_msvc v0.53.0 [INFO] [stderr] Downloaded regex-syntax v0.8.6 [INFO] [stderr] Downloaded nom v7.1.3 [INFO] [stderr] Downloaded icu_locale_core v2.0.0 [INFO] [stderr] Downloaded serde_json v1.0.143 [INFO] [stderr] Downloaded regex v1.11.2 [INFO] [stderr] Downloaded icu_properties_data v2.0.1 [INFO] [stderr] Downloaded icu_collections v2.0.0 [INFO] [stderr] Downloaded glob v0.3.3 [INFO] [stderr] Downloaded strum_macros v0.27.2 [INFO] [stderr] Downloaded zerotrie v0.2.2 [INFO] [stderr] Downloaded windows-targets v0.53.3 [INFO] [stderr] Downloaded libloading v0.8.8 [INFO] [stderr] Downloaded log v0.4.28 [INFO] [stderr] Downloaded rustc-hash v2.1.1 [INFO] [stderr] Downloaded shlex v1.3.0 [INFO] [stderr] Downloaded yoke-derive v0.8.0 [INFO] [stderr] Downloaded synstructure v0.13.2 [INFO] [stderr] Downloaded idna_adapter v1.2.1 [INFO] [stderr] Downloaded either v1.15.0 [INFO] [stderr] Downloaded find-msvc-tools v0.1.0 [INFO] [stderr] Downloaded writeable v0.6.1 [INFO] [stderr] Downloaded libc v0.2.175 [INFO] [stderr] Downloaded windows_i686_gnullvm v0.53.0 [INFO] [stderr] Downloaded windows_i686_gnu v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_gnu v0.53.0 [INFO] [stderr] Downloaded windows_x86_64_gnullvm v0.53.0 [INFO] [stderr] Downloaded squire-sqlite3-src v3.50.4-alpha.1 [INFO] [stderr] Downloaded windows_aarch64_gnullvm v0.53.0 [INFO] [stderr] Downloaded icu_provider v2.0.0 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded syn v2.0.106 [INFO] [stderr] Downloaded displaydoc v0.2.5 [INFO] [stderr] Downloaded yoke v0.8.0 [INFO] [stderr] Downloaded zerofrom-derive v0.1.6 [INFO] [stderr] Downloaded zerovec-derive v0.11.1 [INFO] [stderr] Downloaded strum v0.27.2 [INFO] [stderr] Downloaded zerofrom v0.1.6 [INFO] [stderr] Downloaded zerovec v0.11.4 [INFO] [stderr] Downloaded icu_properties v2.0.1 [INFO] [stderr] Downloaded smallvec v1.15.1 [INFO] [stderr] Downloaded squire-sqlite3-sys v0.0.1-alpha.1 [INFO] [stderr] Downloaded utf8_iter v1.0.4 [INFO] [stderr] Downloaded idna v1.1.0 [INFO] [stderr] Downloaded tinystr v0.8.1 [INFO] [stderr] Downloaded potential_utf v0.1.3 [INFO] [stderr] Downloaded url v2.5.7 [INFO] [stderr] Downloaded serde_derive v1.0.219 [INFO] [stderr] Downloaded serde v1.0.219 [INFO] [stderr] Downloaded cfg-if v1.0.3 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7b893e7d7ac957bd029061e22db14f7c488ad16c63c189ebc9a3b7515db8c75e [INFO] running `Command { std: "docker" "start" "-a" "7b893e7d7ac957bd029061e22db14f7c488ad16c63c189ebc9a3b7515db8c75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7b893e7d7ac957bd029061e22db14f7c488ad16c63c189ebc9a3b7515db8c75e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b893e7d7ac957bd029061e22db14f7c488ad16c63c189ebc9a3b7515db8c75e", kill_on_drop: false }` [INFO] [stdout] 7b893e7d7ac957bd029061e22db14f7c488ad16c63c189ebc9a3b7515db8c75e [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f49f61597d550b8c86c23ebc526a86151373f93f917620949726ea88e6e250c [INFO] running `Command { std: "docker" "start" "-a" "6f49f61597d550b8c86c23ebc526a86151373f93f917620949726ea88e6e250c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling litemap v0.8.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling writeable v0.6.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling squire-sqlite3-sys v0.0.1-alpha.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling squire v0.0.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SQLITE_OK` [INFO] [stdout] --> src/error.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | SQLITE_NOTFOUND, SQLITE_OK, SQLITE_PERM, SQLITE_PROTOCOL, SQLITE_RANGE, SQLITE_READONLY, [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 import: `mem::forget` [INFO] [stdout] --> src/ffi/bind.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mem::forget, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlite3_destructor_type` [INFO] [stdout] --> src/ffi/bind.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlite::{SQLITE_STATIC, sqlite3_bind_int, sqlite3_bind_int64, sqlite3_destructor_type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SQLITE_MISUSE` [INFO] [stdout] --> src/ffi/statement.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | SQLITE_DONE, SQLITE_MISUSE, SQLITE_OK, SQLITE_ROW, sqlite3, sqlite3_clear_bindings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/connection.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `builder`, and `close` are never used [INFO] [stdout] --> src/connection.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn new(inner: ffi::Connection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn open(database: &Database) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn builder(database: impl ToOwned>) -> ConnectionBuilder [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn close(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionBuilder` is never constructed [INFO] [stdout] --> src/connection.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ConnectionBuilder [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OPEN_MODE` is never used [INFO] [stdout] --> src/connection.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const DEFAULT_OPEN_MODE: i32 = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_OPEN_MODES` is never used [INFO] [stdout] --> src/connection.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const FILE_OPEN_MODES: i32 = SQLITE_OPEN_READONLY | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONCURRENCY_MODES` is never used [INFO] [stdout] --> src/connection.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | const CONCURRENCY_MODES: i32 = SQLITE_OPEN_FULLMUTEX | SQLITE_OPEN_NOMUTEX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/connection.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 66 | / impl ConnectionBuilder [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] 69 | { [INFO] [stdout] 70 | const fn new(endpoint: Endpoint) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn open(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn read_only(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn read_write(self, create: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn follow_symbolic_links(self, follow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn mutex(self, enable: bool) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn vfs(self, vfs: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn with_open_mode(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn with_concurrency_mode(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn with_flags(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Endpoint` is never used [INFO] [stdout] --> src/database.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum Endpoint [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `location` and `flags` are never used [INFO] [stdout] --> src/database.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 19 | / impl Endpoint [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- methods in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub(crate) fn location(&self) -> &CStr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn flags(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/database.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const EMPTY: &'static CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"\0") }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/database.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Database [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `memory` is never used [INFO] [stdout] --> src/database.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 51 | impl Database<&'static CStr> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 52 | pub const fn memory() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `path`, `uri`, `endpoint`, and `into_endpoint` are never used [INFO] [stdout] --> src/database.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Database [INFO] [stdout] 60 | | where [INFO] [stdout] 61 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] 62 | { [INFO] [stdout] 63 | pub fn path(path: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn uri(path: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn endpoint(&self) -> &Endpoint { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn into_endpoint(self) -> Endpoint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoLocation` is never used [INFO] [stdout] --> src/database.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait IntoLocation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Text` is never used [INFO] [stdout] --> src/ffi/text.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) unsafe trait Text { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.48s [INFO] running `Command { std: "docker" "inspect" "6f49f61597d550b8c86c23ebc526a86151373f93f917620949726ea88e6e250c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f49f61597d550b8c86c23ebc526a86151373f93f917620949726ea88e6e250c", kill_on_drop: false }` [INFO] [stdout] 6f49f61597d550b8c86c23ebc526a86151373f93f917620949726ea88e6e250c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b5b23edce22a1297bde37efaf9766b137e812c2da6b30e4a44eaece85588172 [INFO] running `Command { std: "docker" "start" "-a" "0b5b23edce22a1297bde37efaf9766b137e812c2da6b30e4a44eaece85588172", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `SQLITE_OK` [INFO] [stdout] --> src/error.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | SQLITE_NOTFOUND, SQLITE_OK, SQLITE_PERM, SQLITE_PROTOCOL, SQLITE_RANGE, SQLITE_READONLY, [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 import: `mem::forget` [INFO] [stdout] --> src/ffi/bind.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mem::forget, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlite3_destructor_type` [INFO] [stdout] --> src/ffi/bind.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlite::{SQLITE_STATIC, sqlite3_bind_int, sqlite3_bind_int64, sqlite3_destructor_type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SQLITE_MISUSE` [INFO] [stdout] --> src/ffi/statement.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | SQLITE_DONE, SQLITE_MISUSE, SQLITE_OK, SQLITE_ROW, sqlite3, sqlite3_clear_bindings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/connection.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `builder`, and `close` are never used [INFO] [stdout] --> src/connection.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn new(inner: ffi::Connection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn open(database: &Database) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn builder(database: impl ToOwned>) -> ConnectionBuilder [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn close(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionBuilder` is never constructed [INFO] [stdout] --> src/connection.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ConnectionBuilder [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OPEN_MODE` is never used [INFO] [stdout] --> src/connection.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const DEFAULT_OPEN_MODE: i32 = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_OPEN_MODES` is never used [INFO] [stdout] --> src/connection.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const FILE_OPEN_MODES: i32 = SQLITE_OPEN_READONLY | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONCURRENCY_MODES` is never used [INFO] [stdout] --> src/connection.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | const CONCURRENCY_MODES: i32 = SQLITE_OPEN_FULLMUTEX | SQLITE_OPEN_NOMUTEX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/connection.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 66 | / impl ConnectionBuilder [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] 69 | { [INFO] [stdout] 70 | const fn new(endpoint: Endpoint) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn open(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn read_only(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn read_write(self, create: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn follow_symbolic_links(self, follow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn mutex(self, enable: bool) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn vfs(self, vfs: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn with_open_mode(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn with_concurrency_mode(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn with_flags(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Endpoint` is never used [INFO] [stdout] --> src/database.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum Endpoint [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `location` and `flags` are never used [INFO] [stdout] --> src/database.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 19 | / impl Endpoint [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- methods in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub(crate) fn location(&self) -> &CStr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn flags(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/database.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const EMPTY: &'static CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"\0") }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/database.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Database [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `memory` is never used [INFO] [stdout] --> src/database.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 51 | impl Database<&'static CStr> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 52 | pub const fn memory() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `path`, `uri`, `endpoint`, and `into_endpoint` are never used [INFO] [stdout] --> src/database.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Database [INFO] [stdout] 60 | | where [INFO] [stdout] 61 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] 62 | { [INFO] [stdout] 63 | pub fn path(path: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn uri(path: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn endpoint(&self) -> &Endpoint { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn into_endpoint(self) -> Endpoint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoLocation` is never used [INFO] [stdout] --> src/database.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait IntoLocation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling squire v0.0.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait `Text` is never used [INFO] [stdout] --> src/ffi/text.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) unsafe trait Text { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SQLITE_OK` [INFO] [stdout] --> src/error.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | SQLITE_NOTFOUND, SQLITE_OK, SQLITE_PERM, SQLITE_PROTOCOL, SQLITE_RANGE, SQLITE_READONLY, [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 import: `mem::forget` [INFO] [stdout] --> src/ffi/bind.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | mem::forget, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sqlite3_destructor_type` [INFO] [stdout] --> src/ffi/bind.rs:13:67 [INFO] [stdout] | [INFO] [stdout] 13 | use sqlite::{SQLITE_STATIC, sqlite3_bind_int, sqlite3_bind_int64, sqlite3_destructor_type}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SQLITE_MISUSE` [INFO] [stdout] --> src/ffi/statement.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | SQLITE_DONE, SQLITE_MISUSE, SQLITE_OK, SQLITE_ROW, sqlite3, sqlite3_clear_bindings, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Connection` is never constructed [INFO] [stdout] --> src/connection.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Connection { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `open`, `builder`, and `close` are never used [INFO] [stdout] --> src/connection.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Connection { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 25 | fn new(inner: ffi::Connection) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn open(database: &Database) -> Result [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn builder(database: impl ToOwned>) -> ConnectionBuilder [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn close(self) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ConnectionBuilder` is never constructed [INFO] [stdout] --> src/connection.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct ConnectionBuilder [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_OPEN_MODE` is never used [INFO] [stdout] --> src/connection.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | const DEFAULT_OPEN_MODE: i32 = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FILE_OPEN_MODES` is never used [INFO] [stdout] --> src/connection.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | const FILE_OPEN_MODES: i32 = SQLITE_OPEN_READONLY | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONCURRENCY_MODES` is never used [INFO] [stdout] --> src/connection.rs:64:7 [INFO] [stdout] | [INFO] [stdout] 64 | const CONCURRENCY_MODES: i32 = SQLITE_OPEN_FULLMUTEX | SQLITE_OPEN_NOMUTEX; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/connection.rs:70:14 [INFO] [stdout] | [INFO] [stdout] 66 | / impl ConnectionBuilder [INFO] [stdout] 67 | | where [INFO] [stdout] 68 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] 69 | { [INFO] [stdout] 70 | const fn new(endpoint: Endpoint) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn open(&self) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn read_only(self) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn read_write(self, create: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn follow_symbolic_links(self, follow: bool) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 120 | pub fn mutex(self, enable: bool) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn vfs(self, vfs: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | fn with_open_mode(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | fn with_concurrency_mode(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | fn with_flags(self, flags: i32) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Endpoint` is never used [INFO] [stdout] --> src/database.rs:10:17 [INFO] [stdout] | [INFO] [stdout] 10 | pub(crate) enum Endpoint [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `location` and `flags` are never used [INFO] [stdout] --> src/database.rs:23:19 [INFO] [stdout] | [INFO] [stdout] 19 | / impl Endpoint [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- methods in this implementation [INFO] [stdout] 22 | { [INFO] [stdout] 23 | pub(crate) fn location(&self) -> &CStr { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub(crate) fn flags(&self) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EMPTY` is never used [INFO] [stdout] --> src/database.rs:41:7 [INFO] [stdout] | [INFO] [stdout] 41 | const EMPTY: &'static CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"\0") }; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Database` is never constructed [INFO] [stdout] --> src/database.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct Database [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `memory` is never used [INFO] [stdout] --> src/database.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 51 | impl Database<&'static CStr> { [INFO] [stdout] | ---------------------------- associated function in this implementation [INFO] [stdout] 52 | pub const fn memory() -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `path`, `uri`, `endpoint`, and `into_endpoint` are never used [INFO] [stdout] --> src/database.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 59 | / impl Database [INFO] [stdout] 60 | | where [INFO] [stdout] 61 | | L: AsRef + Clone + fmt::Debug, [INFO] [stdout] | |________________________________________- associated items in this implementation [INFO] [stdout] 62 | { [INFO] [stdout] 63 | pub fn path(path: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn uri(path: impl IntoLocation) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub(crate) fn endpoint(&self) -> &Endpoint { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub(crate) fn into_endpoint(self) -> Endpoint { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `IntoLocation` is never used [INFO] [stdout] --> src/database.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub trait IntoLocation { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Text` is never used [INFO] [stdout] --> src/ffi/text.rs:4:25 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) unsafe trait Text { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `Command { std: "docker" "inspect" "0b5b23edce22a1297bde37efaf9766b137e812c2da6b30e4a44eaece85588172", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5b23edce22a1297bde37efaf9766b137e812c2da6b30e4a44eaece85588172", kill_on_drop: false }` [INFO] [stdout] 0b5b23edce22a1297bde37efaf9766b137e812c2da6b30e4a44eaece85588172 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6e6ce670f94986c182c5ebe35016680fc155e6defef0a0749fdb871980f5db2 [INFO] running `Command { std: "docker" "start" "-a" "f6e6ce670f94986c182c5ebe35016680fc155e6defef0a0749fdb871980f5db2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `SQLITE_OK` [INFO] [stderr] --> src/error.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | SQLITE_NOTFOUND, SQLITE_OK, SQLITE_PERM, SQLITE_PROTOCOL, SQLITE_RANGE, SQLITE_READONLY, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `mem::forget` [INFO] [stderr] --> src/ffi/bind.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | mem::forget, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `sqlite3_destructor_type` [INFO] [stderr] --> src/ffi/bind.rs:13:67 [INFO] [stderr] | [INFO] [stderr] 13 | use sqlite::{SQLITE_STATIC, sqlite3_bind_int, sqlite3_bind_int64, sqlite3_destructor_type}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `SQLITE_MISUSE` [INFO] [stderr] --> src/ffi/statement.rs:9:18 [INFO] [stderr] | [INFO] [stderr] 9 | SQLITE_DONE, SQLITE_MISUSE, SQLITE_OK, SQLITE_ROW, sqlite3, sqlite3_clear_bindings, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Connection` is never constructed [INFO] [stderr] --> src/connection.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct Connection { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new`, `open`, `builder`, and `close` are never used [INFO] [stderr] --> src/connection.rs:25:8 [INFO] [stderr] | [INFO] [stderr] 18 | impl Connection { [INFO] [stderr] | --------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 25 | fn new(inner: ffi::Connection) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn open(database: &Database) -> Result [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 39 | pub fn builder(database: impl ToOwned>) -> ConnectionBuilder [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn close(self) -> Result<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `ConnectionBuilder` is never constructed [INFO] [stderr] --> src/connection.rs:52:12 [INFO] [stderr] | [INFO] [stderr] 52 | pub struct ConnectionBuilder [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_OPEN_MODE` is never used [INFO] [stderr] --> src/connection.rs:61:7 [INFO] [stderr] | [INFO] [stderr] 61 | const DEFAULT_OPEN_MODE: i32 = SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FILE_OPEN_MODES` is never used [INFO] [stderr] --> src/connection.rs:63:7 [INFO] [stderr] | [INFO] [stderr] 63 | const FILE_OPEN_MODES: i32 = SQLITE_OPEN_READONLY | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CONCURRENCY_MODES` is never used [INFO] [stderr] --> src/connection.rs:64:7 [INFO] [stderr] | [INFO] [stderr] 64 | const CONCURRENCY_MODES: i32 = SQLITE_OPEN_FULLMUTEX | SQLITE_OPEN_NOMUTEX; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/connection.rs:70:14 [INFO] [stderr] | [INFO] [stderr] 66 | / impl ConnectionBuilder [INFO] [stderr] 67 | | where [INFO] [stderr] 68 | | L: AsRef + Clone + fmt::Debug, [INFO] [stderr] | |________________________________________- associated items in this implementation [INFO] [stderr] 69 | { [INFO] [stderr] 70 | const fn new(endpoint: Endpoint) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 78 | pub fn open(&self) -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 94 | pub fn read_only(self) -> Self { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 100 | pub fn read_write(self, create: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 109 | pub fn follow_symbolic_links(self, follow: bool) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 120 | pub fn mutex(self, enable: bool) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 128 | pub fn vfs(self, vfs: impl IntoLocation) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 137 | fn with_open_mode(self, flags: i32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 143 | fn with_concurrency_mode(self, flags: i32) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 149 | fn with_flags(self, flags: i32) -> Self { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `Endpoint` is never used [INFO] [stderr] --> src/database.rs:10:17 [INFO] [stderr] | [INFO] [stderr] 10 | pub(crate) enum Endpoint [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `location` and `flags` are never used [INFO] [stderr] --> src/database.rs:23:19 [INFO] [stderr] | [INFO] [stderr] 19 | / impl Endpoint [INFO] [stderr] 20 | | where [INFO] [stderr] 21 | | L: AsRef + Clone + fmt::Debug, [INFO] [stderr] | |________________________________________- methods in this implementation [INFO] [stderr] 22 | { [INFO] [stderr] 23 | pub(crate) fn location(&self) -> &CStr { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 32 | pub(crate) fn flags(&self) -> i32 { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `EMPTY` is never used [INFO] [stderr] --> src/database.rs:41:7 [INFO] [stderr] | [INFO] [stderr] 41 | const EMPTY: &'static CStr = unsafe { CStr::from_bytes_with_nul_unchecked(b"\0") }; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Database` is never constructed [INFO] [stderr] --> src/database.rs:44:12 [INFO] [stderr] | [INFO] [stderr] 44 | pub struct Database [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `memory` is never used [INFO] [stderr] --> src/database.rs:52:18 [INFO] [stderr] | [INFO] [stderr] 51 | impl Database<&'static CStr> { [INFO] [stderr] | ---------------------------- associated function in this implementation [INFO] [stderr] 52 | pub const fn memory() -> Self { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `path`, `uri`, `endpoint`, and `into_endpoint` are never used [INFO] [stderr] --> src/database.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 59 | / impl Database [INFO] [stderr] 60 | | where [INFO] [stderr] 61 | | L: AsRef + Clone + fmt::Debug, [INFO] [stderr] | |________________________________________- associated items in this implementation [INFO] [stderr] 62 | { [INFO] [stderr] 63 | pub fn path(path: impl IntoLocation) -> Self { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn uri(path: impl IntoLocation) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 75 | pub(crate) fn endpoint(&self) -> &Endpoint { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 79 | pub(crate) fn into_endpoint(self) -> Endpoint { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `IntoLocation` is never used [INFO] [stderr] --> src/database.rs:84:11 [INFO] [stderr] | [INFO] [stderr] 84 | pub trait IntoLocation { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait `Text` is never used [INFO] [stderr] --> src/ffi/text.rs:4:25 [INFO] [stderr] | [INFO] [stderr] 4 | pub(crate) unsafe trait Text { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: `squire` (lib) generated 19 warnings (run `cargo fix --lib -p squire` to apply 4 suggestions) [INFO] [stderr] warning: `squire` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/squire-7c0b8f7b2345cbc0) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test ffi::connection::test::test_open_memory ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests squire [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" "f6e6ce670f94986c182c5ebe35016680fc155e6defef0a0749fdb871980f5db2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6e6ce670f94986c182c5ebe35016680fc155e6defef0a0749fdb871980f5db2", kill_on_drop: false }` [INFO] [stdout] f6e6ce670f94986c182c5ebe35016680fc155e6defef0a0749fdb871980f5db2