[INFO] fetching crate taitan 0.1.5... [INFO] testing taitan-0.1.5 against master#1871252fc8bb672d40787e67404e6eaae7059369 for pr-125151 [INFO] extracting crate taitan 0.1.5 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate taitan 0.1.5 on toolchain 1871252fc8bb672d40787e67404e6eaae7059369 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate taitan 0.1.5 [INFO] finished tweaking crates.io crate taitan 0.1.5 [INFO] tweaked toml for crates.io crate taitan 0.1.5 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 309 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.21.0 (latest: v0.22.0) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding gimli v0.28.1 (latest: v0.29.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.5) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hashlink v0.8.4 (latest: v0.9.1) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.0) [INFO] [stderr] Adding hyper v0.14.28 (latest: v1.3.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding libsqlite3-sys v0.27.0 (latest: v0.28.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding matchit v0.7.3 (latest: v0.8.2) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.35.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding reqwest v0.11.27 (latest: v0.12.4) [INFO] [stderr] Adding rustls v0.21.12 (latest: v0.23.8) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.2) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.4) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (latest: v0.6.0) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding tokio-rustls v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding winreg v0.50.0 (latest: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded case v1.0.0 [INFO] [stderr] Downloaded axum-server v0.6.0 [INFO] [stderr] Downloaded luna-orm-macro v0.3.6 [INFO] [stderr] Downloaded luna-orm-trait v0.3.6 [INFO] [stderr] Downloaded http-range-header v0.4.1 [INFO] [stderr] Downloaded luna-orm v0.3.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 919ccad1e7bbc22b02b09ccbec17d85d0565b0d1de673df8ce9b965de3e5448f [INFO] running `Command { std: "docker" "start" "-a" "919ccad1e7bbc22b02b09ccbec17d85d0565b0d1de673df8ce9b965de3e5448f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "919ccad1e7bbc22b02b09ccbec17d85d0565b0d1de673df8ce9b965de3e5448f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "919ccad1e7bbc22b02b09ccbec17d85d0565b0d1de673df8ce9b965de3e5448f", kill_on_drop: false }` [INFO] [stdout] 919ccad1e7bbc22b02b09ccbec17d85d0565b0d1de673df8ce9b965de3e5448f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+1871252fc8bb672d40787e67404e6eaae7059369" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7aacc0650da8d12bdf26cdf3437c99417e0099a7fef97d49a015c69beeb620c3 [INFO] running `Command { std: "docker" "start" "-a" "7aacc0650da8d12bdf26cdf3437c99417e0099a7fef97d49a015c69beeb620c3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling typeid v1.0.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling typetag-impl v0.2.16 [INFO] [stderr] The following warnings were emitted during compilation: [INFO] [stderr] [INFO] [stderr] warning: libsqlite3-sys@0.27.0: cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] warning: libsqlite3-sys@0.27.0: compilation terminated. [INFO] [stderr] [INFO] [stderr] error: failed to run custom build command for `libsqlite3-sys v0.27.0` [INFO] [stderr] note: To improve backtraces for build dependencies, set the CARGO_PROFILE_DEV_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation. [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/target/debug/build/libsqlite3-sys-a50b8f9f26be395b/build-script-build` (exit status: 1) [INFO] [stderr] --- stdout [INFO] [stderr] cargo:rerun-if-env-changed=LIBSQLITE3_SYS_USE_PKG_CONFIG [INFO] [stderr] cargo:rerun-if-changed=sqlite3/sqlite3.c [INFO] [stderr] cargo:rerun-if-changed=sqlite3/wasm32-wasi-vfs.c [INFO] [stderr] cargo:rerun-if-env-changed=SQLITE_MAX_VARIABLE_NUMBER [INFO] [stderr] cargo:rerun-if-env-changed=SQLITE_MAX_EXPR_DEPTH [INFO] [stderr] cargo:rerun-if-env-changed=SQLITE_MAX_COLUMN [INFO] [stderr] cargo:rerun-if-env-changed=LIBSQLITE3_FLAGS [INFO] [stderr] TARGET = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] OPT_LEVEL = Some("0") [INFO] [stderr] HOST = Some("x86_64-unknown-linux-gnu") [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64-unknown-linux-gnu [INFO] [stderr] CC_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_x86_64_unknown_linux_gnu [INFO] [stderr] CC_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CC [INFO] [stderr] HOST_CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC [INFO] [stderr] CC = None [INFO] [stderr] cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT [INFO] [stderr] cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS [INFO] [stderr] CRATE_CC_NO_DEFAULTS = None [INFO] [stderr] DEBUG = Some("true") [INFO] [stderr] CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2") [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64-unknown-linux-gnu [INFO] [stderr] CFLAGS_x86_64-unknown-linux-gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS_x86_64_unknown_linux_gnu [INFO] [stderr] CFLAGS_x86_64_unknown_linux_gnu = None [INFO] [stderr] cargo:rerun-if-env-changed=HOST_CFLAGS [INFO] [stderr] HOST_CFLAGS = None [INFO] [stderr] cargo:rerun-if-env-changed=CFLAGS [INFO] [stderr] CFLAGS = None [INFO] [stderr] cargo:warning=cc: fatal error: Killed signal terminated program cc1 [INFO] [stderr] cargo:warning=compilation terminated. [INFO] [stderr] [INFO] [stderr] --- stderr [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-4" "-fno-omit-frame-pointer" "-m64" "-DSQLITE_CORE" "-DSQLITE_DEFAULT_FOREIGN_KEYS=1" "-DSQLITE_ENABLE_API_ARMOR" "-DSQLITE_ENABLE_COLUMN_METADATA" "-DSQLITE_ENABLE_DBSTAT_VTAB" "-DSQLITE_ENABLE_FTS3" "-DSQLITE_ENABLE_FTS3_PARENTHESIS" "-DSQLITE_ENABLE_FTS5" "-DSQLITE_ENABLE_JSON1" "-DSQLITE_ENABLE_LOAD_EXTENSION=1" "-DSQLITE_ENABLE_MEMORY_MANAGEMENT" "-DSQLITE_ENABLE_RTREE" "-DSQLITE_ENABLE_STAT2" "-DSQLITE_ENABLE_STAT4" "-DSQLITE_SOUNDEX" "-DSQLITE_THREADSAFE=1" "-DSQLITE_USE_URI" "-DHAVE_USLEEP=1" "-D_POSIX_THREAD_SAFE_FUNCTIONS" "-DHAVE_ISNAN" "-DHAVE_LOCALTIME_R" "-DSQLITE_ENABLE_UNLOCK_NOTIFY" "-o" "/opt/rustwide/target/debug/build/libsqlite3-sys-70f3447c25fde364/out/0343851c9008f270-sqlite3.o" "-c" "sqlite3/sqlite3.c" with args cc did not execute successfully (status code exit status: 1). [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "7aacc0650da8d12bdf26cdf3437c99417e0099a7fef97d49a015c69beeb620c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7aacc0650da8d12bdf26cdf3437c99417e0099a7fef97d49a015c69beeb620c3", kill_on_drop: false }` [INFO] [stdout] 7aacc0650da8d12bdf26cdf3437c99417e0099a7fef97d49a015c69beeb620c3 [INFO] testing taitan-0.1.5 against try#b642703cf9526da1e72c0b6755753b939a9c6b6d for pr-125151 [INFO] extracting crate taitan 0.1.5 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate taitan 0.1.5 on toolchain b642703cf9526da1e72c0b6755753b939a9c6b6d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate taitan 0.1.5 [INFO] finished tweaking crates.io crate taitan 0.1.5 [INFO] tweaked toml for crates.io crate taitan 0.1.5 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 309 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.21.0 (latest: v0.22.0) [INFO] [stderr] Adding base64 v0.21.7 (latest: v0.22.1) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding event-listener v2.5.3 (latest: v5.3.0) [INFO] [stderr] Adding foreign-types v0.3.2 (latest: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.0.0) [INFO] [stderr] Adding gimli v0.28.1 (latest: v0.29.0) [INFO] [stderr] Adding h2 v0.3.26 (latest: v0.4.5) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding hashlink v0.8.4 (latest: v0.9.1) [INFO] [stderr] Adding heck v0.4.1 (latest: v0.5.0) [INFO] [stderr] Adding http v0.2.12 (latest: v1.1.0) [INFO] [stderr] Adding http-body v0.4.6 (latest: v1.0.0) [INFO] [stderr] Adding hyper v0.14.28 (latest: v1.3.1) [INFO] [stderr] Adding hyper-tls v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.2.6) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding libsqlite3-sys v0.27.0 (latest: v0.28.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.4) [INFO] [stderr] Adding matchit v0.7.3 (latest: v0.8.2) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.0) [INFO] [stderr] Adding object v0.32.2 (latest: v0.35.0) [INFO] [stderr] Adding redox_syscall v0.4.1 (latest: v0.5.1) [INFO] [stderr] Adding reqwest v0.11.27 (latest: v0.12.4) [INFO] [stderr] Adding rustls v0.21.12 (latest: v0.23.8) [INFO] [stderr] Adding rustls-pemfile v1.0.4 (latest: v2.1.2) [INFO] [stderr] Adding rustls-webpki v0.101.7 (latest: v0.102.4) [INFO] [stderr] Adding spin v0.5.2 (latest: v0.9.8) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.66) [INFO] [stderr] Adding sync_wrapper v0.1.2 (latest: v1.0.1) [INFO] [stderr] Adding system-configuration v0.5.1 (latest: v0.6.0) [INFO] [stderr] Adding system-configuration-sys v0.5.0 (latest: v0.6.0) [INFO] [stderr] Adding tokio-rustls v0.24.1 (latest: v0.26.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.1+wasi-0.2.0) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.56.0) [INFO] [stderr] Adding windows-sys v0.48.0 (latest: v0.52.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.5) [INFO] [stderr] Adding winreg v0.50.0 (latest: v0.52.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 081acb9ec55f70c0442e4434da9fe37db5dfa675f300eaff9ca109b3384e6ac2 [INFO] running `Command { std: "docker" "start" "-a" "081acb9ec55f70c0442e4434da9fe37db5dfa675f300eaff9ca109b3384e6ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "081acb9ec55f70c0442e4434da9fe37db5dfa675f300eaff9ca109b3384e6ac2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "081acb9ec55f70c0442e4434da9fe37db5dfa675f300eaff9ca109b3384e6ac2", kill_on_drop: false }` [INFO] [stdout] 081acb9ec55f70c0442e4434da9fe37db5dfa675f300eaff9ca109b3384e6ac2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 195ad17f952a912e0b0a0681d1ace6376d240eb47972bb844f4bb8bb861717f7 [INFO] running `Command { std: "docker" "start" "-a" "195ad17f952a912e0b0a0681d1ace6376d240eb47972bb844f4bb8bb861717f7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling libsqlite3-sys v0.27.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling typeid v1.0.0 [INFO] [stderr] Compiling atomic-waker v1.1.2 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling inventory v0.3.15 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling path-dedot v3.1.1 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling case v1.0.0 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling rustls-pemfile v2.1.2 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling path-absolutize v3.1.1 [INFO] [stderr] Compiling pem v3.0.4 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling arc-swap v1.7.1 [INFO] [stderr] Compiling iana-time-zone v0.1.60 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling http-range-header v0.4.1 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling typetag-impl v0.2.16 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling simple_asn1 v0.6.2 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling serde_with_macros v3.8.1 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tokio-util v0.7.11 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling erased-serde v0.4.5 [INFO] [stderr] Compiling serde_with v3.8.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling h2 v0.4.5 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling typetag v0.2.16 [INFO] [stderr] Compiling jsonwebtoken v9.3.0 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling hyper v1.3.1 [INFO] [stderr] Compiling hyper-util v0.1.4 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling axum-server v0.6.0 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling sqlx-mysql v0.7.4 [INFO] [stderr] Compiling sqlx-sqlite v0.7.4 [INFO] [stderr] Compiling sqlx-macros-core v0.7.4 [INFO] [stderr] Compiling sqlx-macros v0.7.4 [INFO] [stderr] Compiling sqlx v0.7.4 [INFO] [stderr] Compiling luna-orm-trait v0.3.6 [INFO] [stderr] Compiling luna-orm-macro v0.3.6 [INFO] [stderr] Compiling luna-orm v0.3.6 [INFO] [stderr] Compiling taitan v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `StaticFilesConfig` [INFO] [stdout] --> src/application.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::{self, Args, StaticFilesConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/application.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::response::build_response` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::response::build_response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `Path`, `Redirect`, `Request`, `Router`, `get`, `http::StatusCode`, `post` [INFO] [stdout] --> src/file.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | extract::{Multipart, Path, Request}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 6 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | response::{Html, Redirect}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 8 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 9 | BoxError, Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::error::Category` [INFO] [stdout] --> src/file.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::error::Category; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::SeekFrom` [INFO] [stdout] --> src/file.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncSeekExt` [INFO] [stdout] --> src/file.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncReadExt, AsyncSeekExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/file.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiFailure`, `ApiSuccessOpt`, `ApiSuccess` [INFO] [stdout] --> src/result.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::response::{ApiFailure, ApiResponse, ApiSuccess, ApiSuccessOpt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handler::HandlerWithoutStateExt`, `http::StatusCode`, `routing::get` [INFO] [stdout] --> src/spa.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | extract::Request, handler::HandlerWithoutStateExt, http::StatusCode, routing::get, Router, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/spa.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/spa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceExt` [INFO] [stdout] --> src/spa.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tower::ServiceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace::TraceLayer` [INFO] [stdout] --> src/spa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | trace::TraceLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let file_name = if let Some(file_name) = field.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etag` [INFO] [stdout] --> src/file.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etag` [INFO] [stdout] --> src/file.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MTU` is never used [INFO] [stdout] --> src/const_val.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MTU: usize = 1450; // Byte [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MULTIPART_FILE_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MAX_MULTIPART_FILE_SIZE: u64 = 2048 * 1024; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_KEY_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const FDB_MAX_KEY_SIZE: usize = 10_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_VAL_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const FDB_MAX_VAL_SIZE: usize = 100_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_TRX_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const FDB_MAX_TRX_SIZE: usize = 10_000_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_origin_file_name` is never used [INFO] [stdout] --> src/file.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_origin_file_name(file_name: impl AsRef) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_etag` is never used [INFO] [stdout] --> src/file.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_etag` is never used [INFO] [stdout] --> src/file.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_file` is never used [INFO] [stdout] --> src/file.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn save_to_file(dir: impl AsRef, mut multipart: Multipart) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_file` is never used [INFO] [stdout] --> src/file.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn create_file(dir: impl AsRef, file_name: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream_to_file` is never used [INFO] [stdout] --> src/file.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | async fn stream_to_file(file: &mut File, stream: S) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_spa_router` is never used [INFO] [stdout] --> src/spa.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_spa_router<'a, I>(dist: impl Into>, index: Option) -> Router [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn list_files( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 ~ fn list_files( [INFO] [stdout] 23 | owner: impl AsRef, [INFO] [stdout] 24 | category: impl AsRef<[T]>, [INFO] [stdout] 25 ~ ) -> impl std::future::Future>> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 30 - async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stdout] 30 + fn write_file(file_name: impl AsRef, data: Bytes) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 33 - async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stdout] 33 + fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stdout] 36 + fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.44s [INFO] running `Command { std: "docker" "inspect" "195ad17f952a912e0b0a0681d1ace6376d240eb47972bb844f4bb8bb861717f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "195ad17f952a912e0b0a0681d1ace6376d240eb47972bb844f4bb8bb861717f7", kill_on_drop: false }` [INFO] [stdout] 195ad17f952a912e0b0a0681d1ace6376d240eb47972bb844f4bb8bb861717f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bdf03812e68b9a709f5bdaeefc296d16571da97ca4b89f2d040f1192b6fff43 [INFO] running `Command { std: "docker" "start" "-a" "3bdf03812e68b9a709f5bdaeefc296d16571da97ca4b89f2d040f1192b6fff43", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `StaticFilesConfig` [INFO] [stdout] --> src/application.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::{self, Args, StaticFilesConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/application.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::response::build_response` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::response::build_response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `Path`, `Redirect`, `Request`, `Router`, `get`, `http::StatusCode`, `post` [INFO] [stdout] --> src/file.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | extract::{Multipart, Path, Request}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 6 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | response::{Html, Redirect}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 8 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 9 | BoxError, Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::error::Category` [INFO] [stdout] --> src/file.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::error::Category; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::SeekFrom` [INFO] [stdout] --> src/file.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncSeekExt` [INFO] [stdout] --> src/file.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncReadExt, AsyncSeekExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/file.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiFailure`, `ApiSuccessOpt`, `ApiSuccess` [INFO] [stdout] --> src/result.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::response::{ApiFailure, ApiResponse, ApiSuccess, ApiSuccessOpt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handler::HandlerWithoutStateExt`, `http::StatusCode`, `routing::get` [INFO] [stdout] --> src/spa.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | extract::Request, handler::HandlerWithoutStateExt, http::StatusCode, routing::get, Router, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/spa.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/spa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceExt` [INFO] [stdout] --> src/spa.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tower::ServiceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace::TraceLayer` [INFO] [stdout] --> src/spa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | trace::TraceLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let file_name = if let Some(file_name) = field.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etag` [INFO] [stdout] --> src/file.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etag` [INFO] [stdout] --> src/file.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MTU` is never used [INFO] [stdout] --> src/const_val.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MTU: usize = 1450; // Byte [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MULTIPART_FILE_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MAX_MULTIPART_FILE_SIZE: u64 = 2048 * 1024; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_KEY_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const FDB_MAX_KEY_SIZE: usize = 10_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_VAL_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const FDB_MAX_VAL_SIZE: usize = 100_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_TRX_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const FDB_MAX_TRX_SIZE: usize = 10_000_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_origin_file_name` is never used [INFO] [stdout] --> src/file.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_origin_file_name(file_name: impl AsRef) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_etag` is never used [INFO] [stdout] --> src/file.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_etag` is never used [INFO] [stdout] --> src/file.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_file` is never used [INFO] [stdout] --> src/file.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn save_to_file(dir: impl AsRef, mut multipart: Multipart) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_file` is never used [INFO] [stdout] --> src/file.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn create_file(dir: impl AsRef, file_name: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream_to_file` is never used [INFO] [stdout] --> src/file.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | async fn stream_to_file(file: &mut File, stream: S) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_spa_router` is never used [INFO] [stdout] --> src/spa.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_spa_router<'a, I>(dist: impl Into>, index: Option) -> Router [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn list_files( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 ~ fn list_files( [INFO] [stdout] 23 | owner: impl AsRef, [INFO] [stdout] 24 | category: impl AsRef<[T]>, [INFO] [stdout] 25 ~ ) -> impl std::future::Future>> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 30 - async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stdout] 30 + fn write_file(file_name: impl AsRef, data: Bytes) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 33 - async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stdout] 33 + fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling taitan v0.1.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stdout] 36 + fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StaticFilesConfig` [INFO] [stdout] --> src/application.rs:2:33 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::{self, Args, StaticFilesConfig}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post` [INFO] [stdout] --> src/application.rs:10:20 [INFO] [stdout] | [INFO] [stdout] 10 | routing::{get, post}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::response::build_response` [INFO] [stdout] --> src/error.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::response::build_response; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `axum::http::StatusCode` [INFO] [stdout] --> src/error.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use axum::http::StatusCode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Html`, `Path`, `Redirect`, `Request`, `Router`, `get`, `http::StatusCode`, `post` [INFO] [stdout] --> src/file.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | extract::{Multipart, Path, Request}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 6 | http::StatusCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | response::{Html, Redirect}, [INFO] [stdout] | ^^^^ ^^^^^^^^ [INFO] [stdout] 8 | routing::{get, post}, [INFO] [stdout] | ^^^ ^^^^ [INFO] [stdout] 9 | BoxError, Router, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::error::Category` [INFO] [stdout] --> src/file.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use serde_json::error::Category; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::SeekFrom` [INFO] [stdout] --> src/file.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::io::SeekFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncReadExt`, `AsyncSeekExt` [INFO] [stdout] --> src/file.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::io::{AsyncReadExt, AsyncSeekExt}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::info` [INFO] [stdout] --> src/file.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tracing::info; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tracing::error` [INFO] [stdout] --> src/response.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use tracing::error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ApiFailure`, `ApiSuccessOpt`, `ApiSuccess` [INFO] [stdout] --> src/result.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::response::{ApiFailure, ApiResponse, ApiSuccess, ApiSuccessOpt}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `handler::HandlerWithoutStateExt`, `http::StatusCode`, `routing::get` [INFO] [stdout] --> src/spa.rs:2:23 [INFO] [stdout] | [INFO] [stdout] 2 | extract::Request, handler::HandlerWithoutStateExt, http::StatusCode, routing::get, Router, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::future::Future` [INFO] [stdout] --> src/spa.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::future::Future; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::SocketAddr` [INFO] [stdout] --> src/spa.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::net::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tower::ServiceExt` [INFO] [stdout] --> src/spa.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use tower::ServiceExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace::TraceLayer` [INFO] [stdout] --> src/spa.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | trace::TraceLayer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:67:13 [INFO] [stdout] | [INFO] [stdout] 67 | let file_name = if let Some(file_name) = field.file_name() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:55:15 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etag` [INFO] [stdout] --> src/file.rs:55:32 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `file_name` [INFO] [stdout] --> src/file.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `etag` [INFO] [stdout] --> src/file.rs:59:31 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MTU` is never used [INFO] [stdout] --> src/const_val.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | const MTU: usize = 1450; // Byte [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_MULTIPART_FILE_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const MAX_MULTIPART_FILE_SIZE: u64 = 2048 * 1024; // 2MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_KEY_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const FDB_MAX_KEY_SIZE: usize = 10_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_VAL_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:4:7 [INFO] [stdout] | [INFO] [stdout] 4 | const FDB_MAX_VAL_SIZE: usize = 100_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FDB_MAX_TRX_SIZE` is never used [INFO] [stdout] --> src/const_val.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | const FDB_MAX_TRX_SIZE: usize = 10_000_000; //Bytes [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_origin_file_name` is never used [INFO] [stdout] --> src/file.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_origin_file_name(file_name: impl AsRef) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_etag` is never used [INFO] [stdout] --> src/file.rs:55:4 [INFO] [stdout] | [INFO] [stdout] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_etag` is never used [INFO] [stdout] --> src/file.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_to_file` is never used [INFO] [stdout] --> src/file.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | async fn save_to_file(dir: impl AsRef, mut multipart: Multipart) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_file` is never used [INFO] [stdout] --> src/file.rs:79:10 [INFO] [stdout] | [INFO] [stdout] 79 | async fn create_file(dir: impl AsRef, file_name: impl AsRef) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stream_to_file` is never used [INFO] [stdout] --> src/file.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | async fn stream_to_file(file: &mut File, stream: S) -> Result<()> [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_spa_router` is never used [INFO] [stdout] --> src/spa.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn get_spa_router<'a, I>(dist: impl Into>, index: Option) -> Router [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | async fn list_files( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 22 ~ fn list_files( [INFO] [stdout] 23 | owner: impl AsRef, [INFO] [stdout] 24 | category: impl AsRef<[T]>, [INFO] [stdout] 25 ~ ) -> impl std::future::Future>> + Send [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 30 - async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stdout] 30 + fn write_file(file_name: impl AsRef, data: Bytes) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 33 - async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stdout] 33 + fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stdout] --> src/file.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stdout] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stdout] | [INFO] [stdout] 36 - async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stdout] 36 + fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> impl std::future::Future> + Send; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.39s [INFO] running `Command { std: "docker" "inspect" "3bdf03812e68b9a709f5bdaeefc296d16571da97ca4b89f2d040f1192b6fff43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bdf03812e68b9a709f5bdaeefc296d16571da97ca4b89f2d040f1192b6fff43", kill_on_drop: false }` [INFO] [stdout] 3bdf03812e68b9a709f5bdaeefc296d16571da97ca4b89f2d040f1192b6fff43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+b642703cf9526da1e72c0b6755753b939a9c6b6d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 62b348c9c0d9bc51e29d0b2fff7fd6b60af0b34375fdd91584000d4a4a8f2c04 [INFO] running `Command { std: "docker" "start" "-a" "62b348c9c0d9bc51e29d0b2fff7fd6b60af0b34375fdd91584000d4a4a8f2c04", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `StaticFilesConfig` [INFO] [stderr] --> src/application.rs:2:33 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::config::{self, Args, StaticFilesConfig}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `post` [INFO] [stderr] --> src/application.rs:10:20 [INFO] [stderr] | [INFO] [stderr] 10 | routing::{get, post}, [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::response::build_response` [INFO] [stderr] --> src/error.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::response::build_response; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `axum::http::StatusCode` [INFO] [stderr] --> src/error.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use axum::http::StatusCode; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Html`, `Path`, `Redirect`, `Request`, `Router`, `get`, `http::StatusCode`, `post` [INFO] [stderr] --> src/file.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | extract::{Multipart, Path, Request}, [INFO] [stderr] | ^^^^ ^^^^^^^ [INFO] [stderr] 6 | http::StatusCode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | response::{Html, Redirect}, [INFO] [stderr] | ^^^^ ^^^^^^^^ [INFO] [stderr] 8 | routing::{get, post}, [INFO] [stderr] | ^^^ ^^^^ [INFO] [stderr] 9 | BoxError, Router, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::error::Category` [INFO] [stderr] --> src/file.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use serde_json::error::Category; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::SeekFrom` [INFO] [stderr] --> src/file.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | use std::io::SeekFrom; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `AsyncReadExt`, `AsyncSeekExt` [INFO] [stderr] --> src/file.rs:15:17 [INFO] [stderr] | [INFO] [stderr] 15 | use tokio::io::{AsyncReadExt, AsyncSeekExt}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::info` [INFO] [stderr] --> src/file.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use tracing::info; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tracing::error` [INFO] [stderr] --> src/response.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use tracing::error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ApiFailure`, `ApiSuccessOpt`, `ApiSuccess` [INFO] [stderr] --> src/result.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::response::{ApiFailure, ApiResponse, ApiSuccess, ApiSuccessOpt}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `handler::HandlerWithoutStateExt`, `http::StatusCode`, `routing::get` [INFO] [stderr] --> src/spa.rs:2:23 [INFO] [stderr] | [INFO] [stderr] 2 | extract::Request, handler::HandlerWithoutStateExt, http::StatusCode, routing::get, Router, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::future::Future` [INFO] [stderr] --> src/spa.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::future::Future; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::net::SocketAddr` [INFO] [stderr] --> src/spa.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use std::net::SocketAddr; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `tower::ServiceExt` [INFO] [stderr] --> src/spa.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use tower::ServiceExt; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `trace::TraceLayer` [INFO] [stderr] --> src/spa.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | trace::TraceLayer, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_name` [INFO] [stderr] --> src/file.rs:67:13 [INFO] [stderr] | [INFO] [stderr] 67 | let file_name = if let Some(file_name) = field.file_name() { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_name` [INFO] [stderr] --> src/file.rs:55:15 [INFO] [stderr] | [INFO] [stderr] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `etag` [INFO] [stderr] --> src/file.rs:55:32 [INFO] [stderr] | [INFO] [stderr] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `file_name` [INFO] [stderr] --> src/file.rs:59:14 [INFO] [stderr] | [INFO] [stderr] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_file_name` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `etag` [INFO] [stderr] --> src/file.rs:59:31 [INFO] [stderr] | [INFO] [stderr] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_etag` [INFO] [stderr] [INFO] [stderr] warning: constant `MTU` is never used [INFO] [stderr] --> src/const_val.rs:1:7 [INFO] [stderr] | [INFO] [stderr] 1 | const MTU: usize = 1450; // Byte [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `MAX_MULTIPART_FILE_SIZE` is never used [INFO] [stderr] --> src/const_val.rs:2:7 [INFO] [stderr] | [INFO] [stderr] 2 | const MAX_MULTIPART_FILE_SIZE: u64 = 2048 * 1024; // 2MB [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FDB_MAX_KEY_SIZE` is never used [INFO] [stderr] --> src/const_val.rs:3:7 [INFO] [stderr] | [INFO] [stderr] 3 | const FDB_MAX_KEY_SIZE: usize = 10_000; //Bytes [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FDB_MAX_VAL_SIZE` is never used [INFO] [stderr] --> src/const_val.rs:4:7 [INFO] [stderr] | [INFO] [stderr] 4 | const FDB_MAX_VAL_SIZE: usize = 100_000; //Bytes [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `FDB_MAX_TRX_SIZE` is never used [INFO] [stderr] --> src/const_val.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | const FDB_MAX_TRX_SIZE: usize = 10_000_000; //Bytes [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_origin_file_name` is never used [INFO] [stderr] --> src/file.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | fn get_origin_file_name(file_name: impl AsRef) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `check_etag` is never used [INFO] [stderr] --> src/file.rs:55:4 [INFO] [stderr] | [INFO] [stderr] 55 | fn check_etag(file_name: &str, etag: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_etag` is never used [INFO] [stderr] --> src/file.rs:59:4 [INFO] [stderr] | [INFO] [stderr] 59 | fn save_etag(file_name: &str, etag: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save_to_file` is never used [INFO] [stderr] --> src/file.rs:63:10 [INFO] [stderr] | [INFO] [stderr] 63 | async fn save_to_file(dir: impl AsRef, mut multipart: Multipart) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_file` is never used [INFO] [stderr] --> src/file.rs:79:10 [INFO] [stderr] | [INFO] [stderr] 79 | async fn create_file(dir: impl AsRef, file_name: impl AsRef) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `stream_to_file` is never used [INFO] [stderr] --> src/file.rs:94:10 [INFO] [stderr] | [INFO] [stderr] 94 | async fn stream_to_file(file: &mut File, stream: S) -> Result<()> [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `get_spa_router` is never used [INFO] [stderr] --> src/spa.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | fn get_spa_router<'a, I>(dist: impl Into>, index: Option) -> Router [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/file.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | async fn list_files( [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] = note: `#[warn(async_fn_in_trait)]` on by default [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 22 ~ fn list_files( [INFO] [stderr] 23 | owner: impl AsRef, [INFO] [stderr] 24 | category: impl AsRef<[T]>, [INFO] [stderr] 25 ~ ) -> impl std::future::Future>> + Send [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/file.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 30 - async fn write_file(file_name: impl AsRef, data: Bytes) -> Result; [INFO] [stderr] 30 + fn write_file(file_name: impl AsRef, data: Bytes) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/file.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 33 - async fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> Result; [INFO] [stderr] 33 + fn write_seg(file_name: impl AsRef, seg_no: u32, file_seg: Bytes) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of `async fn` in public traits is discouraged as auto trait bounds cannot be specified [INFO] [stderr] --> src/file.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: you can suppress this lint if you plan to use the trait only in your own code, or do not care about auto traits like `Send` on the `Future` [INFO] [stderr] help: you can alternatively desugar to a normal `fn` that returns `impl Future` and add any desired bounds such as `Send`, but these cannot be relaxed without a breaking API change [INFO] [stderr] | [INFO] [stderr] 36 - async fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> Result; [INFO] [stderr] 36 + fn check_etag(file_name: impl AsRef, etag: impl AsRef) -> impl std::future::Future> + Send; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `taitan` (lib) generated 37 warnings (run `cargo fix --lib -p taitan` to apply 16 suggestions) [INFO] [stderr] warning: `taitan` (lib test) generated 37 warnings (37 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/taitan-22aa28215f09fa39) [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] [stderr] Doc-tests taitan [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" "62b348c9c0d9bc51e29d0b2fff7fd6b60af0b34375fdd91584000d4a4a8f2c04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62b348c9c0d9bc51e29d0b2fff7fd6b60af0b34375fdd91584000d4a4a8f2c04", kill_on_drop: false }` [INFO] [stdout] 62b348c9c0d9bc51e29d0b2fff7fd6b60af0b34375fdd91584000d4a4a8f2c04