[INFO] cloning repository https://github.com/wmzn-ltpp/RUST-FILE-SERVE [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wmzn-ltpp/RUST-FILE-SERVE" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmzn-ltpp%2FRUST-FILE-SERVE", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmzn-ltpp%2FRUST-FILE-SERVE'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3a55d43217e0d1f536080058cadf986538c9606a [INFO] testing wmzn-ltpp/RUST-FILE-SERVE against beta-2025-01-12 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmzn-ltpp%2FRUST-FILE-SERVE" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmzn-ltpp/RUST-FILE-SERVE on toolchain beta-2025-01-12 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/wmzn-ltpp/RUST-FILE-SERVE [INFO] finished tweaking git repo https://github.com/wmzn-ltpp/RUST-FILE-SERVE [INFO] tweaked toml for git repo https://github.com/wmzn-ltpp/RUST-FILE-SERVE written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/wmzn-ltpp/RUST-FILE-SERVE 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" "+beta-2025-01-12" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lexical v5.2.2 [INFO] [stderr] Downloaded mysql v19.0.1 [INFO] [stderr] Downloaded mysql_common v0.22.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ec9b43546f0aa9d1c6a238081d090a238de6fd5e5d5e7064d7fd0793a8a1afb [INFO] running `Command { std: "docker" "start" "-a" "6ec9b43546f0aa9d1c6a238081d090a238de6fd5e5d5e7064d7fd0793a8a1afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ec9b43546f0aa9d1c6a238081d090a238de6fd5e5d5e7064d7fd0793a8a1afb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec9b43546f0aa9d1c6a238081d090a238de6fd5e5d5e7064d7fd0793a8a1afb", kill_on_drop: false }` [INFO] [stdout] 6ec9b43546f0aa9d1c6a238081d090a238de6fd5e5d5e7064d7fd0793a8a1afb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 39d999b47802cf69989f96123233545a4103e5a44dca4596e8314f95f0e3549c [INFO] running `Command { std: "docker" "start" "-a" "39d999b47802cf69989f96123233545a4103e5a44dca4596e8314f95f0e3549c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling gimli v0.28.1 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling generic-array v0.12.4 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling miniz_oxide v0.7.2 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Compiling sha1_smol v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling sha1 v0.6.1 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling getrandom v0.2.14 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling mysql v19.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling lexical v5.2.2 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling lru v0.6.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling bigdecimal v0.1.2 [INFO] [stderr] Compiling chrono v0.4.37 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling mysql_common v0.22.2 [INFO] [stderr] Compiling rust_file_serve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `creat_db` is never used [INFO] [stdout] --> src/sql.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn creat_db(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sql.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(conn) = &mut CONNECTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/sql.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | drop(conn); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut mysql::PooledConn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 41 - drop(conn); [INFO] [stdout] 41 + let _ = conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sql.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some(conn) = &mut CONNECTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sql.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(conn) = &mut CONNECTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.65s [INFO] running `Command { std: "docker" "inspect" "39d999b47802cf69989f96123233545a4103e5a44dca4596e8314f95f0e3549c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d999b47802cf69989f96123233545a4103e5a44dca4596e8314f95f0e3549c", kill_on_drop: false }` [INFO] [stdout] 39d999b47802cf69989f96123233545a4103e5a44dca4596e8314f95f0e3549c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f57213a6b880c0c6561404e1db03b46df0a89927a3290c872793df79c50dc0fd [INFO] running `Command { std: "docker" "start" "-a" "f57213a6b880c0c6561404e1db03b46df0a89927a3290c872793df79c50dc0fd", kill_on_drop: false }` [INFO] [stderr] Compiling rust_file_serve v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `creat_db` is never used [INFO] [stdout] --> src/sql.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn creat_db(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sql.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(conn) = &mut CONNECTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 40 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/sql.rs:41:17 [INFO] [stdout] | [INFO] [stdout] 41 | drop(conn); [INFO] [stdout] | ^^^^^----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut mysql::PooledConn` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 41 - drop(conn); [INFO] [stdout] 41 + let _ = conn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sql.rs:49:33 [INFO] [stdout] | [INFO] [stdout] 49 | if let Some(conn) = &mut CONNECTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 49 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/sql.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(conn) = &mut CONNECTION { [INFO] [stdout] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 83 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.80s [INFO] running `Command { std: "docker" "inspect" "f57213a6b880c0c6561404e1db03b46df0a89927a3290c872793df79c50dc0fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57213a6b880c0c6561404e1db03b46df0a89927a3290c872793df79c50dc0fd", kill_on_drop: false }` [INFO] [stdout] f57213a6b880c0c6561404e1db03b46df0a89927a3290c872793df79c50dc0fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-01-12" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bad3fae7302949c6abe8fc944aa1787b05a3c08cb790b76ba717b7dd39904c7f [INFO] running `Command { std: "docker" "start" "-a" "bad3fae7302949c6abe8fc944aa1787b05a3c08cb790b76ba717b7dd39904c7f", kill_on_drop: false }` [INFO] [stderr] warning: method `creat_db` is never used [INFO] [stderr] --> src/sql.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 13 | impl Db { [INFO] [stderr] | ------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 46 | pub fn creat_db(&mut self) { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/sql.rs:40:33 [INFO] [stderr] | [INFO] [stderr] 40 | if let Some(conn) = &mut CONNECTION { [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 40 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/sql.rs:41:17 [INFO] [stderr] | [INFO] [stderr] 41 | drop(conn); [INFO] [stderr] | ^^^^^----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&mut mysql::PooledConn` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 41 - drop(conn); [INFO] [stderr] 41 + let _ = conn; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/sql.rs:49:33 [INFO] [stderr] | [INFO] [stderr] 49 | if let Some(conn) = &mut CONNECTION { [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 49 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/sql.rs:83:33 [INFO] [stderr] | [INFO] [stderr] 83 | if let Some(conn) = &mut CONNECTION { [INFO] [stderr] | ^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 83 | if let Some(conn) = &raw mut CONNECTION { [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `rust_file_serve` (bin "rust_file_serve" test) generated 5 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rust_file_serve-d18719925e2f0849) [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" "bad3fae7302949c6abe8fc944aa1787b05a3c08cb790b76ba717b7dd39904c7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad3fae7302949c6abe8fc944aa1787b05a3c08cb790b76ba717b7dd39904c7f", kill_on_drop: false }` [INFO] [stdout] bad3fae7302949c6abe8fc944aa1787b05a3c08cb790b76ba717b7dd39904c7f