[INFO] fetching crate rust-sqlite 0.3.0... [INFO] testing rust-sqlite-0.3.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rust-sqlite 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate rust-sqlite 0.3.0 [INFO] finished tweaking crates.io crate rust-sqlite 0.3.0 [INFO] tweaked toml for crates.io crate rust-sqlite 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-sqlite 0.3.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.1.1 (available: v2.9.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.41) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10f5396586993c3f372eb67b5d4fb0d7f45fdbb76535716daf277cafa895861a [INFO] running `Command { std: "docker" "start" "-a" "10f5396586993c3f372eb67b5d4fb0d7f45fdbb76535716daf277cafa895861a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10f5396586993c3f372eb67b5d4fb0d7f45fdbb76535716daf277cafa895861a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10f5396586993c3f372eb67b5d4fb0d7f45fdbb76535716daf277cafa895861a", kill_on_drop: false }` [INFO] [stdout] 10f5396586993c3f372eb67b5d4fb0d7f45fdbb76535716daf277cafa895861a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cf0f48363b2cca758a9b38ff360b40f3477105221e259c23296098d4aa780669 [INFO] running `Command { std: "docker" "start" "-a" "cf0f48363b2cca758a9b38ff360b40f3477105221e259c23296098d4aa780669", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling rust-sqlite v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 356 | / /// Result codes for errors. [INFO] [stdout] 357 | | /// [INFO] [stdout] 358 | | /// cf. [sqlite3 result codes][codes]. [INFO] [stdout] 359 | | /// [INFO] [stdout] ... | [INFO] [stdout] 364 | | /// [INFO] [stdout] 365 | | /// [codes]: http://www.sqlite.org/c3ref/c_abort.html [INFO] [stdout] | |_----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 431 | /// Fundamental Datatypes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / /// Successful result [INFO] [stdout] 126 | | /// [INFO] [stdout] 127 | | /// Use `SQLITE_OK as c_int` to decode return values from mod ffi. [INFO] [stdout] 128 | | /// See SqliteResult, SqliteError for typical return code handling. [INFO] [stdout] | |_------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | let c_sql = try!(std_ffi::CString::new(sql.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Ok( try!(time::strptime(txt.as_ref(), SQLITE_TIME_FMT)) ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/access/flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// These bit values are intended for use in the [INFO] [stdout] 5 | | /// 3rd parameter to the [sqlite3_open_v2()] interface [INFO] [stdout] | |_-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:184:38 [INFO] [stdout] | [INFO] [stdout] 184 | Some(ref mut row) => try!(each_row(row)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:221:46 [INFO] [stdout] | [INFO] [stdout] 221 | Some(ref mut row) => accum = try!(f(row, accum)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | try!(v.to_sql(s, p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a type alias [INFO] [stdout] --> src/lib.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | values: &[&ToSql]) -> SqliteResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | values: &[&dyn ToSql]) -> SqliteResult; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 210 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | values: &[&ToSql]) -> SqliteResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | values: &[&dyn ToSql]) -> SqliteResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:54 [INFO] [stdout] | [INFO] [stdout] 283 | fn bind_values(s: &mut PreparedStatement, values: &[&ToSql]) -> SqliteResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 | fn bind_values(s: &mut PreparedStatement, values: &[&dyn ToSql]) -> SqliteResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | fn cause(&self) -> Option<&Error> { None } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 427 | fn cause(&self) -> Option<&dyn Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn execute(&mut self) -> ResultSet { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 405 | pub fn execute(&mut self) -> ResultSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[Struct___va_list_tag; 1]`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:584:64 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn sqlite3_vmprintf(arg1: *const ::libc::c_char, arg2: va_list) -> [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[Struct___va_list_tag; 1]`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:590:65 [INFO] [stdout] | [INFO] [stdout] 590 | ... arg3: *const ::libc::c_char, arg4: va_list) -> [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.44s [INFO] running `Command { std: "docker" "inspect" "cf0f48363b2cca758a9b38ff360b40f3477105221e259c23296098d4aa780669", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf0f48363b2cca758a9b38ff360b40f3477105221e259c23296098d4aa780669", kill_on_drop: false }` [INFO] [stdout] cf0f48363b2cca758a9b38ff360b40f3477105221e259c23296098d4aa780669 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 1b93edb780afd3ddc3a0f66609786e48dbe876826e2c9a2a89694832b5df4e44 [INFO] running `Command { std: "docker" "start" "-a" "1b93edb780afd3ddc3a0f66609786e48dbe876826e2c9a2a89694832b5df4e44", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 356 | / /// Result codes for errors. [INFO] [stdout] 357 | | /// [INFO] [stdout] 358 | | /// cf. [sqlite3 result codes][codes]. [INFO] [stdout] 359 | | /// [INFO] [stdout] ... | [INFO] [stdout] 364 | | /// [INFO] [stdout] 365 | | /// [codes]: http://www.sqlite.org/c3ref/c_abort.html [INFO] [stdout] | |_----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 431 | /// Fundamental Datatypes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / /// Successful result [INFO] [stdout] 126 | | /// [INFO] [stdout] 127 | | /// Use `SQLITE_OK as c_int` to decode return values from mod ffi. [INFO] [stdout] 128 | | /// See SqliteResult, SqliteError for typical return code handling. [INFO] [stdout] | |_------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | let c_sql = try!(std_ffi::CString::new(sql.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Ok( try!(time::strptime(txt.as_ref(), SQLITE_TIME_FMT)) ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/access/flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// These bit values are intended for use in the [INFO] [stdout] 5 | | /// 3rd parameter to the [sqlite3_open_v2()] interface [INFO] [stdout] | |_-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:184:38 [INFO] [stdout] | [INFO] [stdout] 184 | Some(ref mut row) => try!(each_row(row)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:221:46 [INFO] [stdout] | [INFO] [stdout] 221 | Some(ref mut row) => accum = try!(f(row, accum)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | try!(v.to_sql(s, p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a type alias [INFO] [stdout] --> src/lib.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | values: &[&ToSql]) -> SqliteResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | values: &[&dyn ToSql]) -> SqliteResult; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 210 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | values: &[&ToSql]) -> SqliteResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | values: &[&dyn ToSql]) -> SqliteResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:54 [INFO] [stdout] | [INFO] [stdout] 283 | fn bind_values(s: &mut PreparedStatement, values: &[&ToSql]) -> SqliteResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 | fn bind_values(s: &mut PreparedStatement, values: &[&dyn ToSql]) -> SqliteResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-sqlite v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | fn cause(&self) -> Option<&Error> { None } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 427 | fn cause(&self) -> Option<&dyn Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn execute(&mut self) -> ResultSet { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 405 | pub fn execute(&mut self) -> ResultSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[Struct___va_list_tag; 1]`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:584:64 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn sqlite3_vmprintf(arg1: *const ::libc::c_char, arg2: va_list) -> [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[Struct___va_list_tag; 1]`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:590:65 [INFO] [stdout] | [INFO] [stdout] 590 | ... arg3: *const ::libc::c_char, arg4: va_list) -> [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/opening.rs:41:24 [INFO] [stdout] | [INFO] [stdout] 41 | let mut conn = try!(DatabaseConnection::new(access)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/typical.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | try!(conn.exec(" [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/ex.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | try!(conn.exec("CREATE TABLE person ( [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/ex.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | let mut conn = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/opening.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | try!(conn.exec("CREATE TABLE person ( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/typical.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let mut conn = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/ex.rs:46:22 [INFO] [stdout] | [INFO] [stdout] 46 | let mut tx = try!(conn.prepare("INSERT INTO person (name, time_created) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/ex.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | let changes = try!(tx.update(&[&me.name, &me.time_created])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/opening.rs:76:22 [INFO] [stdout] | [INFO] [stdout] 76 | let mut tx = try!(conn.prepare("INSERT INTO person (id, name) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/typical.rs:23:24 [INFO] [stdout] | [INFO] [stdout] 23 | let mut stmt = try!(conn.prepare( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/ex.rs:52:20 [INFO] [stdout] | [INFO] [stdout] 52 | let mut stmt = try!(conn.prepare("SELECT id, name, time_created FROM person")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/opening.rs:78:23 [INFO] [stdout] | [INFO] [stdout] 78 | let changes = try!(tx.update(&[])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/typical.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/ex.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let ppl = try!(stmt.query(&[], to_person)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/opening.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | let mut stmt = try!(conn.prepare("SELECT id, name FROM person")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/typical.rs:35:24 [INFO] [stdout] | [INFO] [stdout] 35 | let mut stmt = try!(conn.prepare( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> tests/opening.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | let ppl = try!(stmt.query_fold( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/typical.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | Err(oops) => panic!(oops), [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 50 | Err(oops) => panic!("{}", oops), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 50 - Err(oops) => panic!(oops), [INFO] [stdout] 50 + Err(oops) => std::panic::panic_any(oops), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/typical.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | Err(oops) => panic!(oops) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 68 | Err(oops) => panic!("{}", oops) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 68 - Err(oops) => panic!(oops) [INFO] [stdout] 68 + Err(oops) => std::panic::panic_any(oops) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> tests/ex.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | struct Person { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 18 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/ex.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | Err(oops) => panic!(oops) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 27 | Err(oops) => panic!("{}", oops) [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 27 - Err(oops) => panic!(oops) [INFO] [stdout] 27 + Err(oops) => std::panic::panic_any(oops) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `id` and `name` are never read [INFO] [stdout] --> tests/opening.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | struct Person { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 65 | id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 66 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Person` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:356:1 [INFO] [stdout] | [INFO] [stdout] 356 | / /// Result codes for errors. [INFO] [stdout] 357 | | /// [INFO] [stdout] 358 | | /// cf. [sqlite3 result codes][codes]. [INFO] [stdout] 359 | | /// [INFO] [stdout] ... | [INFO] [stdout] 364 | | /// [INFO] [stdout] 365 | | /// [codes]: http://www.sqlite.org/c3ref/c_abort.html [INFO] [stdout] | |_----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/lib.rs:431:1 [INFO] [stdout] | [INFO] [stdout] 431 | /// Fundamental Datatypes [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core.rs:125:1 [INFO] [stdout] | [INFO] [stdout] 125 | / /// Successful result [INFO] [stdout] 126 | | /// [INFO] [stdout] 127 | | /// Use `SQLITE_OK as c_int` to decode return values from mod ffi. [INFO] [stdout] 128 | | /// See SqliteResult, SqliteError for typical return code handling. [INFO] [stdout] | |_------------------------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:308:21 [INFO] [stdout] | [INFO] [stdout] 308 | let c_sql = try!(std_ffi::CString::new(sql.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:719:26 [INFO] [stdout] | [INFO] [stdout] 719 | let mut db = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:737:22 [INFO] [stdout] | [INFO] [stdout] 737 | let db = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:748:18 [INFO] [stdout] | [INFO] [stdout] 748 | let db = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:749:21 [INFO] [stdout] | [INFO] [stdout] 749 | let mut s = try!(db.prepare(sql)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:794:13 [INFO] [stdout] | [INFO] [stdout] 794 | try!(db.prepare("select bogus")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:793:22 [INFO] [stdout] | [INFO] [stdout] 793 | let db = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:806:13 [INFO] [stdout] | [INFO] [stdout] 806 | try!(db.prepare("select bogus")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/core.rs:804:26 [INFO] [stdout] | [INFO] [stdout] 804 | let mut db = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | Ok( try!(time::strptime(txt.as_ref(), SQLITE_TIME_FMT)) ) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:166:18 [INFO] [stdout] | [INFO] [stdout] 166 | let db = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | let mut s = try!(db.prepare(sql)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:175:24 [INFO] [stdout] | [INFO] [stdout] 175 | let conn = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | let mut stmt = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/access/flags.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / /// These bit values are intended for use in the [INFO] [stdout] 5 | | /// 3rd parameter to the [sqlite3_open_v2()] interface [INFO] [stdout] | |_-----------------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:182:19 [INFO] [stdout] | [INFO] [stdout] 182 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:184:38 [INFO] [stdout] | [INFO] [stdout] 184 | Some(ref mut row) => try!(each_row(row)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:219:19 [INFO] [stdout] | [INFO] [stdout] 219 | match try!(results.step()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:221:46 [INFO] [stdout] | [INFO] [stdout] 221 | Some(ref mut row) => accum = try!(f(row, accum)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | try!(bind_values(self, values)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:286:9 [INFO] [stdout] | [INFO] [stdout] 286 | try!(v.to_sql(s, p)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:456:13 [INFO] [stdout] | [INFO] [stdout] 456 | try!(database.exec( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:454:32 [INFO] [stdout] | [INFO] [stdout] 454 | let mut database = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:466:17 [INFO] [stdout] | [INFO] [stdout] 466 | try!(tx.bind_int(1, 2)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:467:17 [INFO] [stdout] | [INFO] [stdout] 467 | try!(tx.bind_text(2, "Jane Doe")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:468:17 [INFO] [stdout] | [INFO] [stdout] 468 | try!(tx.bind_text(3, "345 e Walnut")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:463:30 [INFO] [stdout] | [INFO] [stdout] 463 | let mut tx = try!(database.prepare( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:474:25 [INFO] [stdout] | [INFO] [stdout] 474 | let mut q = try!(database.prepare("select * from test order by id")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:504:18 [INFO] [stdout] | [INFO] [stdout] 504 | let db = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:505:21 [INFO] [stdout] | [INFO] [stdout] 505 | let mut s = try!(db.prepare(sql)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:538:28 [INFO] [stdout] | [INFO] [stdout] 538 | let mut conn = try!(DatabaseConnection::in_memory()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` has no effect when applied to a type alias [INFO] [stdout] --> src/lib.rs:353:1 [INFO] [stdout] | [INFO] [stdout] 353 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:122:26 [INFO] [stdout] | [INFO] [stdout] 122 | values: &[&ToSql]) -> SqliteResult; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 122 | values: &[&dyn ToSql]) -> SqliteResult; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:162:30 [INFO] [stdout] | [INFO] [stdout] 162 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 162 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:198:30 [INFO] [stdout] | [INFO] [stdout] 198 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 198 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:241:32 [INFO] [stdout] | [INFO] [stdout] 241 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 241 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:210:30 [INFO] [stdout] | [INFO] [stdout] 210 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 210 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:250:32 [INFO] [stdout] | [INFO] [stdout] 250 | values: &[&ToSql], [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 250 | values: &[&dyn ToSql], [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | values: &[&ToSql]) -> SqliteResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 138 | values: &[&dyn ToSql]) -> SqliteResult { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:283:54 [INFO] [stdout] | [INFO] [stdout] 283 | fn bind_values(s: &mut PreparedStatement, values: &[&ToSql]) -> SqliteResult<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 283 | fn bind_values(s: &mut PreparedStatement, values: &[&dyn ToSql]) -> SqliteResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:427:32 [INFO] [stdout] | [INFO] [stdout] 427 | fn cause(&self) -> Option<&Error> { None } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 427 | fn cause(&self) -> Option<&dyn Error> { None } [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/core.rs:405:20 [INFO] [stdout] | [INFO] [stdout] 405 | pub fn execute(&mut self) -> ResultSet { [INFO] [stdout] | ^^^^^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 405 | pub fn execute(&mut self) -> ResultSet<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::str::from_utf8` with an invalid literal always return an error [INFO] [stdout] --> src/core.rs:829:17 [INFO] [stdout] | [INFO] [stdout] 829 | assert!(str::from_utf8(&[0x45u8, 0x46, 0xff]).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^--------------------^ [INFO] [stdout] | | [INFO] [stdout] | the literal was valid UTF-8 up to the 2 bytes [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(invalid_from_utf8)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[Struct___va_list_tag; 1]`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:584:64 [INFO] [stdout] | [INFO] [stdout] 584 | pub fn sqlite3_vmprintf(arg1: *const ::libc::c_char, arg2: va_list) -> [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[Struct___va_list_tag; 1]`, which is not FFI-safe [INFO] [stdout] --> src/ffi.rs:590:65 [INFO] [stdout] | [INFO] [stdout] 590 | ... arg3: *const ::libc::c_char, arg4: va_list) -> [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/rcrt1.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crti.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtbeginS.o" "/tmp/rustcYReDAP/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "-lsqlite3" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/{libenum_primitive-7bac05422836e3ce.rlib,libnum_traits-cee180edc42c9ad0.rlib,libnum_traits-adede640728ec6e7.rlib,libbitflags-88e79be75410b3f9.rlib,libtime-112d4def65e7aa55.rlib,liblibc-8e354d7ef70926da.rlib}.rlib" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*}.rlib" "-lunwind" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{libcfg_if-*,liblibc-*}.rlib" "-lc" "/lib/rustlib/x86_64-unknown-linux-musl/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/tmp/rustcYReDAP/raw-dylibs" "-Wl,-Bdynamic" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-nostartfiles" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained" "-L" "/lib/rustlib/x86_64-unknown-linux-musl/lib" "-o" "/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sqlite3-51c22666f6038b36" "-Wl,--gc-sections" "-static-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtendS.o" "/lib/rustlib/x86_64-unknown-linux-musl/lib/self-contained/crtn.o" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsqlite3.a(fts5.o): in function `fts5TriTokenize': [INFO] [stdout] (.text+0x450a): undefined reference to `__memmove_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsqlite3.a(fts5.o): in function `fts5MergePrefixLists': [INFO] [stdout] (.text+0x167f2): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x1683b): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x168bd): undefined reference to `__memset_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsqlite3.a(os_unix.o): in function `unixOpen': [INFO] [stdout] (.text+0x371c): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsqlite3.a(os_unix.o):(.data.rel+0xb0): undefined reference to `fcntl64' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsqlite3.a(where.o): in function `whereLoopAddOr': [INFO] [stdout] (.text+0x6b19): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: (.text+0x6c30): undefined reference to `__memcpy_chk' [INFO] [stdout] /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/13/../../../x86_64-linux-gnu/libsqlite3.a(btree.o): in function `balance_nonroot': [INFO] [stdout] (.text+0x77f3): undefined reference to `__memset_chk' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = note: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sqlite` (lib test) due to 1 previous error; 53 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1b93edb780afd3ddc3a0f66609786e48dbe876826e2c9a2a89694832b5df4e44", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b93edb780afd3ddc3a0f66609786e48dbe876826e2c9a2a89694832b5df4e44", kill_on_drop: false }` [INFO] [stdout] 1b93edb780afd3ddc3a0f66609786e48dbe876826e2c9a2a89694832b5df4e44