[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] 870c5a60ba8aba25bc6ecda94c06350028d8d0af [INFO] checking wmzn-ltpp/RUST-FILE-SERVE against master#90384941aae4ea38de00e4702b50757e9b882a19 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwmzn-ltpp%2FRUST-FILE-SERVE" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wmzn-ltpp/RUST-FILE-SERVE on toolchain 90384941aae4ea38de00e4702b50757e9b882a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "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-3-tc1/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" "+90384941aae4ea38de00e4702b50757e9b882a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 783751f2287015327561a0f77b8c95304d2dcd5727566d1beed758a7a7bea048 [INFO] running `Command { std: "docker" "start" "-a" "783751f2287015327561a0f77b8c95304d2dcd5727566d1beed758a7a7bea048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "783751f2287015327561a0f77b8c95304d2dcd5727566d1beed758a7a7bea048", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "783751f2287015327561a0f77b8c95304d2dcd5727566d1beed758a7a7bea048", kill_on_drop: false }` [INFO] [stdout] 783751f2287015327561a0f77b8c95304d2dcd5727566d1beed758a7a7bea048 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cac063403942026ed6f35f82d84d50be660161b7ed57feaa97a7f8cb677339b1 [INFO] running `Command { std: "docker" "start" "-a" "cac063403942026ed6f35f82d84d50be660161b7ed57feaa97a7f8cb677339b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking 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 num-traits v0.2.18 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling ahash v0.7.8 [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] Checking ryu v1.0.17 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling lexical-core v0.7.6 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking byte-tools v0.3.1 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking block-padding v0.1.5 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking digest v0.8.1 [INFO] [stderr] Compiling io-enum v0.2.6 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking opaque-debug v0.2.3 [INFO] [stderr] Checking sha2 v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking sha1 v0.6.1 [INFO] [stderr] Compiling derive_utils v0.11.2 [INFO] [stderr] Checking chrono v0.4.37 [INFO] [stderr] Checking lexical v5.2.2 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking bigdecimal v0.1.2 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Compiling mysql v19.0.1 [INFO] [stderr] Checking lru v0.6.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking bufstream v0.1.4 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking time-macros v0.1.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking mysql_common v0.22.2 [INFO] [stderr] Checking 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] [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 1m 02s [INFO] running `Command { std: "docker" "inspect" "cac063403942026ed6f35f82d84d50be660161b7ed57feaa97a7f8cb677339b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cac063403942026ed6f35f82d84d50be660161b7ed57feaa97a7f8cb677339b1", kill_on_drop: false }` [INFO] [stdout] cac063403942026ed6f35f82d84d50be660161b7ed57feaa97a7f8cb677339b1