[INFO] fetching crate odbc 0.17.0... [INFO] checking odbc-0.17.0 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] extracting crate odbc 0.17.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate odbc 0.17.0 [INFO] finished tweaking crates.io crate odbc 0.17.0 [INFO] tweaked toml for crates.io crate odbc 0.17.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate odbc 0.17.0 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate odbc 0.17.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "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] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winapi-util v0.1.3 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded memchr v2.3.0 [INFO] [stderr] Downloaded hermit-abi v0.1.6 [INFO] [stderr] Downloaded odbc-safe v0.5.0 [INFO] [stderr] Downloaded redox_syscall v0.1.56 [INFO] [stderr] Downloaded num-integer v0.1.42 [INFO] [stderr] Downloaded time v0.1.42 [INFO] [stderr] Downloaded num-traits v0.2.11 [INFO] [stderr] Downloaded humantime v1.3.0 [INFO] [stderr] Downloaded doc-comment v0.3.1 [INFO] [stderr] Downloaded odbc-sys v0.8.2 [INFO] [stderr] Downloaded aho-corasick v0.7.6 [INFO] [stderr] Downloaded regex v1.3.3 [INFO] [stderr] Downloaded chrono v0.4.10 [INFO] [stderr] Downloaded regex-syntax v0.6.13 [INFO] [stderr] Downloaded libc v0.2.66 [INFO] [stderr] Downloaded winapi v0.3.8 [INFO] [stderr] Downloaded encoding_rs v0.8.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70aa53a120f64e626168289e46f43eeda33b37ed7dc1039c2a3af4533094a2ee [INFO] running `Command { std: "docker" "start" "-a" "70aa53a120f64e626168289e46f43eeda33b37ed7dc1039c2a3af4533094a2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70aa53a120f64e626168289e46f43eeda33b37ed7dc1039c2a3af4533094a2ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70aa53a120f64e626168289e46f43eeda33b37ed7dc1039c2a3af4533094a2ee", kill_on_drop: false }` [INFO] [stdout] 70aa53a120f64e626168289e46f43eeda33b37ed7dc1039c2a3af4533094a2ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc331c6a4d9f8f6162e5d61189a514281c3d27d81a11db65a2ca6aa9ef0bc568 [INFO] running `Command { std: "docker" "start" "-a" "fc331c6a4d9f8f6162e5d61189a514281c3d27d81a11db65a2ca6aa9ef0bc568", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling memchr v2.3.0 [INFO] [stderr] Compiling odbc-sys v0.8.2 [INFO] [stderr] Compiling doc-comment v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Checking regex-syntax v0.6.13 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking chrono v0.4.10 [INFO] [stderr] Checking odbc-safe v0.5.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking odbc v0.17.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/diagnostics.rs:96:58 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_diag_rec(&self, record_number: i16) -> Option<(DiagnosticRecord)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn get_diag_rec(&self, record_number: i16) -> Option<(DiagnosticRecord)> { [INFO] [stdout] 96 + fn get_diag_rec(&self, record_number: i16) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/statement/types.rs:714:9 [INFO] [stdout] | [INFO] [stdout] 714 | use super::*; [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: `std::collections::HashSet` [INFO] [stdout] --> src/statement/types.rs:715:9 [INFO] [stdout] | [INFO] [stdout] 715 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Cow` [INFO] [stdout] --> src/statement/types.rs:716:9 [INFO] [stdout] | [INFO] [stdout] 716 | use std::borrow::Cow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn disable_autocommit(mut self) -> std::result::Result, Self> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn enable_autocommit(mut self) -> std::result::Result, Self> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/diagnostics.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | ::environment::OS_ENCODING.decode(&message[0..message_length as usize]).0.into_owned() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/environment/list_data_sources.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | ::environment::DB_ENCODING.decode(&buf1[0..(len1 as usize)]).0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/environment/list_data_sources.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | ::environment::DB_ENCODING.decode(&buf2[0..(len2 as usize)]).0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statement/mod.rs:299:27 [INFO] [stdout] | [INFO] [stdout] 299 | name: ::environment::DB_ENCODING.decode(&name_buffer[..(name_length as usize)]).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statement/mod.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | name: ::environment::DB_ENCODING.decode(&name_buffer[..(name_length as usize)]).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statement/types.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | unsafe {::environment::DB_ENCODING.decode(buffer).0} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.3.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> tests/libs.rs:196:6 [INFO] [stdout] | [INFO] [stdout] 196 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/diagnostics.rs:96:58 [INFO] [stdout] | [INFO] [stdout] 96 | fn get_diag_rec(&self, record_number: i16) -> Option<(DiagnosticRecord)> { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 96 - fn get_diag_rec(&self, record_number: i16) -> Option<(DiagnosticRecord)> { [INFO] [stdout] 96 + fn get_diag_rec(&self, record_number: i16) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn disable_autocommit(mut self) -> std::result::Result, Self> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/connection.rs:59:30 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn enable_autocommit(mut self) -> std::result::Result, Self> { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/diagnostics.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | ::environment::OS_ENCODING.decode(&message[0..message_length as usize]).0.into_owned() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/environment/list_data_sources.rs:166:21 [INFO] [stdout] | [INFO] [stdout] 166 | ::environment::DB_ENCODING.decode(&buf1[0..(len1 as usize)]).0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/environment/list_data_sources.rs:167:21 [INFO] [stdout] | [INFO] [stdout] 167 | ::environment::DB_ENCODING.decode(&buf2[0..(len2 as usize)]).0, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statement/mod.rs:299:27 [INFO] [stdout] | [INFO] [stdout] 299 | name: ::environment::DB_ENCODING.decode(&name_buffer[..(name_length as usize)]).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statement/mod.rs:319:27 [INFO] [stdout] | [INFO] [stdout] 319 | name: ::environment::DB_ENCODING.decode(&name_buffer[..(name_length as usize)]).0 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/statement/types.rs:261:17 [INFO] [stdout] | [INFO] [stdout] 261 | unsafe {::environment::DB_ENCODING.decode(buffer).0} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.88s [INFO] running `Command { std: "docker" "inspect" "fc331c6a4d9f8f6162e5d61189a514281c3d27d81a11db65a2ca6aa9ef0bc568", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc331c6a4d9f8f6162e5d61189a514281c3d27d81a11db65a2ca6aa9ef0bc568", kill_on_drop: false }` [INFO] [stdout] fc331c6a4d9f8f6162e5d61189a514281c3d27d81a11db65a2ca6aa9ef0bc568