[INFO] fetching crate ouverture-core 0.1.0... [INFO] building ouverture-core-0.1.0 against master#d59f06fc64844ec2073e5e888f7470989ef25ff9 for pr-119440 [INFO] extracting crate ouverture-core 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate ouverture-core 0.1.0 on toolchain d59f06fc64844ec2073e5e888f7470989ef25ff9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ouverture-core 0.1.0 [INFO] finished tweaking crates.io crate ouverture-core 0.1.0 [INFO] tweaked toml for crates.io crate ouverture-core 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate ouverture-core 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.24.0 [INFO] [stderr] Downloaded archiver-rs v0.5.1 [INFO] [stderr] Downloaded async-walkdir v0.2.0 [INFO] [stderr] Downloaded filetime v0.2.16 [INFO] [stderr] Downloaded dirs-next v1.0.2 [INFO] [stderr] Downloaded platform-dirs v0.3.0 [INFO] [stderr] Downloaded mp4ameta_proc v0.1.1 [INFO] [stderr] Downloaded signal-hook-tokio v0.3.1 [INFO] [stderr] Downloaded sea-strum v0.23.0 [INFO] [stderr] Downloaded audiotags-dev-macro v0.1.4 [INFO] [stderr] Downloaded async-fs v1.5.0 [INFO] [stderr] Downloaded mp4ameta v0.6.1 [INFO] [stderr] Downloaded futures-intrusive v0.4.0 [INFO] [stderr] Downloaded rust_decimal v1.23.1 [INFO] [stderr] Downloaded tokio v1.18.0 [INFO] [stderr] Downloaded audiotags v0.2.7182 [INFO] [stderr] Downloaded sea-orm v0.7.1 [INFO] [stderr] Downloaded id3 v0.5.3 [INFO] [stderr] Downloaded pg-embed v0.6.5 [INFO] [stderr] Downloaded infer v0.7.0 [INFO] [stderr] Downloaded crossbeam-queue v0.3.5 [INFO] [stderr] Downloaded cfb v0.6.1 [INFO] [stderr] Downloaded ouroboros_macro v0.15.0 [INFO] [stderr] Downloaded sea-strum_macros v0.23.0 [INFO] [stderr] Downloaded metaflac v0.2.5 [INFO] [stderr] Downloaded enum_dispatch v0.3.8 [INFO] [stderr] Downloaded strum_macros v0.24.0 [INFO] [stderr] Downloaded whoami v1.2.1 [INFO] [stderr] Downloaded serial_test_derive v0.6.0 [INFO] [stderr] Downloaded sea-orm-macros v0.7.0 [INFO] [stderr] Downloaded serial_test v0.6.0 [INFO] [stderr] Downloaded ouroboros v0.15.0 [INFO] [stderr] Downloaded bae v0.1.7 [INFO] [stderr] Downloaded sea-query-derive v0.2.0 [INFO] [stderr] Downloaded sea-query v0.23.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f189eb111599e236ab02549b1d8366e9bc0f523b9b6f7ca7753999be3ebe81b [INFO] running `Command { std: "docker" "start" "-a" "0f189eb111599e236ab02549b1d8366e9bc0f523b9b6f7ca7753999be3ebe81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f189eb111599e236ab02549b1d8366e9bc0f523b9b6f7ca7753999be3ebe81b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f189eb111599e236ab02549b1d8366e9bc0f523b9b6f7ca7753999be3ebe81b", kill_on_drop: false }` [INFO] [stdout] 0f189eb111599e236ab02549b1d8366e9bc0f523b9b6f7ca7753999be3ebe81b [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+d59f06fc64844ec2073e5e888f7470989ef25ff9" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e96947042a339aafaf04b2e16058849be3df1a1965602faffb2d86db583c824 [INFO] running `Command { std: "docker" "start" "-a" "6e96947042a339aafaf04b2e16058849be3df1a1965602faffb2d86db583c824", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling xz2 v0.1.6 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling mp4ameta_proc v0.1.1 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling mp4ameta v0.6.1 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling id3 v0.5.3 [INFO] [stderr] Compiling metaflac v0.2.5 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] error: could not compile `syn` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d59f06fc64844ec2073e5e888f7470989ef25ff9/bin/rustc --crate-name syn --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/syn-1.0.92/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="extra-traits"' --cfg 'feature="full"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --cfg 'feature="quote"' --cfg 'feature="visit"' --cfg 'feature="visit-mut"' -C metadata=9e030d31a237fc78 -C extra-filename=-9e030d31a237fc78 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern proc_macro2=/opt/rustwide/target/debug/deps/libproc_macro2-534c1d65c5d28949.rmeta --extern quote=/opt/rustwide/target/debug/deps/libquote-c445cec6514c7c56.rmeta --extern unicode_xid=/opt/rustwide/target/debug/deps/libunicode_xid-aaa3863a121c329e.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tokio` (lib) [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d59f06fc64844ec2073e5e888f7470989ef25ff9/bin/rustc --crate-name tokio --edition=2018 /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/tokio-1.18.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no --cfg 'feature="bytes"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="io-util"' --cfg 'feature="libc"' --cfg 'feature="memchr"' --cfg 'feature="mio"' --cfg 'feature="net"' --cfg 'feature="num_cpus"' --cfg 'feature="once_cell"' --cfg 'feature="rt"' --cfg 'feature="rt-multi-thread"' --cfg 'feature="socket2"' --cfg 'feature="sync"' --cfg 'feature="time"' -C metadata=480e45e9addcfa71 -C extra-filename=-480e45e9addcfa71 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern bytes=/opt/rustwide/target/debug/deps/libbytes-77091162d9e32949.rmeta --extern libc=/opt/rustwide/target/debug/deps/liblibc-6659a1e23a17bd9a.rmeta --extern memchr=/opt/rustwide/target/debug/deps/libmemchr-5bb1e7ca77e59bdd.rmeta --extern mio=/opt/rustwide/target/debug/deps/libmio-30fb00c5702ed9a1.rmeta --extern num_cpus=/opt/rustwide/target/debug/deps/libnum_cpus-4cbf6457c74e6010.rmeta --extern once_cell=/opt/rustwide/target/debug/deps/libonce_cell-6a5b903330a6b026.rmeta --extern pin_project_lite=/opt/rustwide/target/debug/deps/libpin_project_lite-0d60682517d3a5a0.rmeta --extern socket2=/opt/rustwide/target/debug/deps/libsocket2-6e2b8ce9795532ad.rmeta --cap-lints allow --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] running `Command { std: "docker" "inspect" "6e96947042a339aafaf04b2e16058849be3df1a1965602faffb2d86db583c824", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e96947042a339aafaf04b2e16058849be3df1a1965602faffb2d86db583c824", kill_on_drop: false }` [INFO] [stdout] 6e96947042a339aafaf04b2e16058849be3df1a1965602faffb2d86db583c824 [INFO] building ouverture-core-0.1.0 against try#fe8f664b41f030f307cfeb6cb8c3a1419292aeed for pr-119440 [INFO] extracting crate ouverture-core 0.1.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate ouverture-core 0.1.0 on toolchain fe8f664b41f030f307cfeb6cb8c3a1419292aeed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate ouverture-core 0.1.0 [INFO] finished tweaking crates.io crate ouverture-core 0.1.0 [INFO] tweaked toml for crates.io crate ouverture-core 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate crates.io crate ouverture-core 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ebb51f5c5f0885aca63201cf4de20f4a00ce69c3163799cc1792374117f661a [INFO] running `Command { std: "docker" "start" "-a" "6ebb51f5c5f0885aca63201cf4de20f4a00ce69c3163799cc1792374117f661a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ebb51f5c5f0885aca63201cf4de20f4a00ce69c3163799cc1792374117f661a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ebb51f5c5f0885aca63201cf4de20f4a00ce69c3163799cc1792374117f661a", kill_on_drop: false }` [INFO] [stdout] 6ebb51f5c5f0885aca63201cf4de20f4a00ce69c3163799cc1792374117f661a [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c949cbb33b3e0ea70284cfbd901e581b1394e80f56b101f3e8fa12b1498742d6 [INFO] running `Command { std: "docker" "start" "-a" "c949cbb33b3e0ea70284cfbd901e581b1394e80f56b101f3e8fa12b1498742d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling const_fn v0.4.9 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling rust_decimal v1.23.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling tokio v1.18.0 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num-bigint v0.3.3 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crc-catalog v1.1.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling crc v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling flate2 v1.0.23 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling lzma-sys v0.1.17 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling cache-padded v1.2.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling tracing-subscriber v0.3.11 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling futures-lite v1.12.0 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling filetime v0.2.16 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling signal-hook v0.3.13 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling async-task v4.2.0 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tar v0.4.38 [INFO] [stderr] Compiling xz2 v0.1.6 [INFO] [stderr] Compiling async-lock v2.5.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling webpki-roots v0.21.1 [INFO] [stderr] Compiling blocking v1.2.0 [INFO] [stderr] Compiling object v0.28.3 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling ipnet v2.5.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling mp4ameta_proc v0.1.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling async-fs v1.5.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling dirs-next v1.0.2 [INFO] [stderr] Compiling colored v1.9.3 [INFO] [stderr] Compiling id3 v0.5.3 [INFO] [stderr] Compiling mp4ameta v0.6.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling metaflac v0.2.5 [INFO] [stderr] Compiling audiotags-dev-macro v0.1.4 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling fern v0.6.1 [INFO] [stderr] Compiling async-walkdir v0.2.0 [INFO] [stderr] Compiling platform-dirs v0.3.0 [INFO] [stderr] Compiling strum v0.24.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling sqlx-rt v0.5.13 [INFO] [stderr] Compiling sea-strum_macros v0.23.0 [INFO] [stderr] Compiling bae v0.1.7 [INFO] [stderr] Compiling ouroboros_macro v0.15.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling serial_test_derive v0.6.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling sea-orm-macros v0.7.0 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling serial_test v0.6.0 [INFO] [stderr] Compiling strum_macros v0.24.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling tracing-error v0.2.0 [INFO] [stderr] Compiling sea-strum v0.23.0 [INFO] [stderr] Compiling audiotags v0.2.7182 [INFO] [stderr] Compiling archiver-rs v0.5.1 [INFO] [stderr] Compiling color-spantrace v0.2.0 [INFO] [stderr] Compiling ouroboros v0.15.0 [INFO] [stderr] Compiling enum_dispatch v0.3.8 [INFO] [stderr] Compiling color-eyre v0.6.1 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling signal-hook-tokio v0.3.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling cfb v0.6.1 [INFO] [stderr] Compiling infer v0.7.0 [INFO] [stderr] Compiling sqlx-core v0.5.13 [INFO] [stderr] Compiling sea-query v0.23.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.10 [INFO] [stderr] Compiling sqlx-macros v0.5.13 [INFO] [stderr] Compiling sqlx v0.5.13 [INFO] [stderr] Compiling sea-orm v0.7.1 [INFO] [stderr] Compiling pg-embed v0.6.5 [INFO] [stderr] Compiling ouverture-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `eyre::eyre` [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::{eyre::eyre, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SongSource` [INFO] [stdout] --> src/database/setup.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::music::song::{Song, SongSource}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/database.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform_dirs::AppDirs` [INFO] [stdout] --> src/database.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use platform_dirs::AppDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/database.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::*` [INFO] [stdout] --> src/database.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/database.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/library.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use async_walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/library.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/library.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entity::*`, `query::*` [INFO] [stdout] --> src/library.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/library.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `eyre::Report`, `eyre::WrapErr` [INFO] [stdout] --> src/logger.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use color_eyre::{eyre::Report, eyre::WrapErr, Result, Section}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/logger.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace` [INFO] [stdout] --> src/music/song.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, info, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mp3` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mp3, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mp3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wav` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | wav, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `aac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | aac, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Aac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ogg` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ogg, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ogg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flac, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m4a` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | m4a, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `M4a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unsupported` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsupported, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unsupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedErrorType` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pg_embed::pg_errors::PgEmbedErrorType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `path::Path` [INFO] [stdout] --> src/lib.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedErrorType::*` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use pg_embed::pg_errors::PgEmbedErrorType::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::eyre::eyre` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use color_eyre::eyre::eyre; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let res = tokio::join!(handle); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/server.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | ... Command::Play(i) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/library.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list(config: &Config, query: Option) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/database/setup.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/music/song.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::prelude` [INFO] [stdout] --> src/music/song.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sea_orm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `songs` is never read [INFO] [stdout] --> src/music/playlist.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Playlist { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | songs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlist` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::eyre` [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::{eyre::eyre, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SongSource` [INFO] [stdout] --> src/database/setup.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::music::song::{Song, SongSource}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/database.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform_dirs::AppDirs` [INFO] [stdout] --> src/database.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use platform_dirs::AppDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/database.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::*` [INFO] [stdout] --> src/database.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/database.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/library.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use async_walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/library.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/library.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entity::*`, `query::*` [INFO] [stdout] --> src/library.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/library.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `eyre::Report`, `eyre::WrapErr` [INFO] [stdout] --> src/logger.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use color_eyre::{eyre::Report, eyre::WrapErr, Result, Section}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/logger.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace` [INFO] [stdout] --> src/music/song.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, info, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mp3` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mp3, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mp3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wav` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | wav, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `aac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | aac, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Aac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ogg` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ogg, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ogg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flac, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m4a` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | m4a, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `M4a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unsupported` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsupported, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unsupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/library.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list(config: &Config, query: Option) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let res = tokio::join!(handle); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/server.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | ... Command::Play(i) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/database/setup.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/music/song.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::prelude` [INFO] [stdout] --> src/music/song.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sea_orm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_file` is never used [INFO] [stdout] --> src/config.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 22 | pub fn new_from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_db` is never used [INFO] [stdout] --> src/database.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn setup_db(config: Config) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_db` is never used [INFO] [stdout] --> src/database.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn start_db(pg: &mut PgEmbed, config: Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_db` is never used [INFO] [stdout] --> src/database.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn add_db(config: &Config, song: Song) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_db` is never used [INFO] [stdout] --> src/database.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub async fn test_db(config: Config) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/database/setup.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn create_table(db: &DbConn, stmt: &TableCreateStatement) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post_table` is never used [INFO] [stdout] --> src/database/setup.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn create_post_table(db: &DbConn) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan` is never used [INFO] [stdout] --> src/library.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn scan(config: &Config) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/library.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list(config: &Config, query: Option) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `songs` is never read [INFO] [stdout] --> src/music/playlist.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Playlist { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | songs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlist` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `start`, `send`, and `reply` are never used [INFO] [stdout] --> src/server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl Server { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 23 | pub async fn start(config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn send<'a>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | async fn reply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prepare_query` is never used [INFO] [stdout] --> src/server.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 251 | impl Reply { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 252 | fn prepare_query(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 02s [INFO] running `Command { std: "docker" "inspect" "c949cbb33b3e0ea70284cfbd901e581b1394e80f56b101f3e8fa12b1498742d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c949cbb33b3e0ea70284cfbd901e581b1394e80f56b101f3e8fa12b1498742d6", kill_on_drop: false }` [INFO] [stdout] c949cbb33b3e0ea70284cfbd901e581b1394e80f56b101f3e8fa12b1498742d6 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+fe8f664b41f030f307cfeb6cb8c3a1419292aeed" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fe40db3da11312873e3a20705df9c2c459dc894a8cafa3b7acf374b73b4de66 [INFO] running `Command { std: "docker" "start" "-a" "1fe40db3da11312873e3a20705df9c2c459dc894a8cafa3b7acf374b73b4de66", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `eyre::eyre` [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::{eyre::eyre, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SongSource` [INFO] [stdout] --> src/database/setup.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::music::song::{Song, SongSource}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/database.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform_dirs::AppDirs` [INFO] [stdout] --> src/database.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use platform_dirs::AppDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/database.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::*` [INFO] [stdout] --> src/database.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/database.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ouverture-core v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/library.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use async_walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/library.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/library.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entity::*`, `query::*` [INFO] [stdout] --> src/library.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/library.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `eyre::Report`, `eyre::WrapErr` [INFO] [stdout] --> src/logger.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use color_eyre::{eyre::Report, eyre::WrapErr, Result, Section}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/logger.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace` [INFO] [stdout] --> src/music/song.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, info, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mp3` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mp3, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mp3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wav` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | wav, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `aac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | aac, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Aac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ogg` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ogg, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ogg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flac, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m4a` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | m4a, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `M4a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unsupported` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsupported, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unsupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedErrorType` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pg_embed::pg_errors::PgEmbedErrorType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `path::Path` [INFO] [stdout] --> src/lib.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedErrorType::*` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use pg_embed::pg_errors::PgEmbedErrorType::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::eyre::eyre` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use color_eyre::eyre::eyre; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let res = tokio::join!(handle); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/server.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | ... Command::Play(i) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/library.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list(config: &Config, query: Option) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/database/setup.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/music/song.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::prelude` [INFO] [stdout] --> src/music/song.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sea_orm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `songs` is never read [INFO] [stdout] --> src/music/playlist.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Playlist { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | songs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlist` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::eyre` [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::{eyre::eyre, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SongSource` [INFO] [stdout] --> src/database/setup.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::music::song::{Song, SongSource}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/database.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform_dirs::AppDirs` [INFO] [stdout] --> src/database.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use platform_dirs::AppDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/database.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::*` [INFO] [stdout] --> src/database.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/database.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/library.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use async_walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/library.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/library.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entity::*`, `query::*` [INFO] [stdout] --> src/library.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/library.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `eyre::Report`, `eyre::WrapErr` [INFO] [stdout] --> src/logger.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use color_eyre::{eyre::Report, eyre::WrapErr, Result, Section}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/logger.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace` [INFO] [stdout] --> src/music/song.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, info, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mp3` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mp3, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mp3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wav` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | wav, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `aac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | aac, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Aac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ogg` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ogg, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ogg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flac, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m4a` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | m4a, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `M4a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unsupported` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsupported, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unsupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedErrorType` [INFO] [stdout] --> src/lib.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pg_embed::pg_errors::PgEmbedErrorType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error::Error`, `path::Path` [INFO] [stdout] --> src/lib.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{error::Error, path::Path}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedErrorType::*` [INFO] [stdout] --> src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use pg_embed::pg_errors::PgEmbedErrorType::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_eyre::eyre::eyre` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use color_eyre::eyre::eyre; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `eyre::eyre` [INFO] [stdout] --> src/config.rs:7:18 [INFO] [stdout] | [INFO] [stdout] 7 | use color_eyre::{eyre::eyre, Result}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SongSource` [INFO] [stdout] --> src/database/setup.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::music::song::{Song, SongSource}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pg_embed::pg_errors::PgEmbedError` [INFO] [stdout] --> src/database.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pg_embed::pg_errors::PgEmbedError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform_dirs::AppDirs` [INFO] [stdout] --> src/database.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use platform_dirs::AppDirs; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/database.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::TcpListener` [INFO] [stdout] --> src/database.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::net::TcpListener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query::*` [INFO] [stdout] --> src/database.rs:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/database.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirEntry` [INFO] [stdout] --> src/library.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use async_walkdir::{DirEntry, WalkDir}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `info` [INFO] [stdout] --> src/library.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/library.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `entity::*`, `query::*` [INFO] [stdout] --> src/library.rs:11:15 [INFO] [stdout] | [INFO] [stdout] 11 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DatabaseConnection` [INFO] [stdout] --> src/library.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | use sea_orm::{Database, DatabaseConnection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Section`, `eyre::Report`, `eyre::WrapErr` [INFO] [stdout] --> src/logger.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use color_eyre::{eyre::Report, eyre::WrapErr, Result, Section}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/logger.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace` [INFO] [stdout] --> src/music/song.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{debug, info, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mp3` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | mp3, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Mp3` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wav` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | wav, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wav` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `aac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | aac, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `Aac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ogg` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | ogg, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case (notice the capitalization): `Ogg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flac` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | flac, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flac` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `m4a` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | m4a, [INFO] [stdout] | ^^^ help: convert the identifier to upper camel case: `M4a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `unsupported` should have an upper camel case name [INFO] [stdout] --> src/music/song.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | unsupported, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Unsupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/library.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list(config: &Config, query: Option) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let res = tokio::join!(handle); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/server.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | ... Command::Play(i) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `res` [INFO] [stdout] --> src/server.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | let res = tokio::join!(handle); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_res` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/server.rs:70:47 [INFO] [stdout] | [INFO] [stdout] 70 | ... Command::Play(i) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `query` [INFO] [stdout] --> src/library.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list(config: &Config, query: Option) -> Vec { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_query` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/database/setup.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/music/song.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::prelude` [INFO] [stdout] --> src/music/song.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sea_orm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `query` [INFO] [stdout] --> src/database/setup.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use sea_orm::{entity::*, query::*}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/music/song.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sea_orm::prelude` [INFO] [stdout] --> src/music/song.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use sea_orm::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `songs` is never read [INFO] [stdout] --> src/music/playlist.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Playlist { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | songs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlist` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_from_file` is never used [INFO] [stdout] --> src/config.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Config { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 22 | pub fn new_from_file(path: &Path) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `setup_db` is never used [INFO] [stdout] --> src/database.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | pub async fn setup_db(config: Config) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `start_db` is never used [INFO] [stdout] --> src/database.rs:61:14 [INFO] [stdout] | [INFO] [stdout] 61 | pub async fn start_db(pg: &mut PgEmbed, config: Config) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_db` is never used [INFO] [stdout] --> src/database.rs:86:14 [INFO] [stdout] | [INFO] [stdout] 86 | pub async fn add_db(config: &Config, song: Song) -> Result<()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_db` is never used [INFO] [stdout] --> src/database.rs:97:14 [INFO] [stdout] | [INFO] [stdout] 97 | pub async fn test_db(config: Config) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_table` is never used [INFO] [stdout] --> src/database/setup.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | async fn create_table(db: &DbConn, stmt: &TableCreateStatement) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_post_table` is never used [INFO] [stdout] --> src/database/setup.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | pub async fn create_post_table(db: &DbConn) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `scan` is never used [INFO] [stdout] --> src/library.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | pub async fn scan(config: &Config) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `list` is never used [INFO] [stdout] --> src/library.rs:37:14 [INFO] [stdout] | [INFO] [stdout] 37 | pub async fn list(config: &Config, query: Option) -> Vec { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `songs` is never read [INFO] [stdout] --> src/music/playlist.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Playlist { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | songs: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Playlist` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Server { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] 19 | config: Config, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `start`, `send`, and `reply` are never used [INFO] [stdout] --> src/server.rs:23:18 [INFO] [stdout] | [INFO] [stdout] 22 | impl Server { [INFO] [stdout] | ----------- associated functions in this implementation [INFO] [stdout] 23 | pub async fn start(config: &Config) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn send<'a>( [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | async fn reply( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `prepare_query` is never used [INFO] [stdout] --> src/server.rs:252:8 [INFO] [stdout] | [INFO] [stdout] 251 | impl Reply { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 252 | fn prepare_query(&self) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 104 | let _ = Server::reply(Reply::Done, &mut socket).await; // when exiting because of 'stop' [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 43 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 37 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.25s [INFO] running `Command { std: "docker" "inspect" "1fe40db3da11312873e3a20705df9c2c459dc894a8cafa3b7acf374b73b4de66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fe40db3da11312873e3a20705df9c2c459dc894a8cafa3b7acf374b73b4de66", kill_on_drop: false }` [INFO] [stdout] 1fe40db3da11312873e3a20705df9c2c459dc894a8cafa3b7acf374b73b4de66