[INFO] cloning repository https://github.com/danawanb/rusty [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danawanb/rusty" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanawanb%2Frusty", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanawanb%2Frusty'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 06c13da128dc3ab7fb0e6575f731e150dfdd2b5c [INFO] testing danawanb/rusty against try#ed7f3d77595b4831fdf085f2529aa13b5b51ff7d for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanawanb%2Frusty" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danawanb/rusty on toolchain ed7f3d77595b4831fdf085f2529aa13b5b51ff7d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danawanb/rusty [INFO] finished tweaking git repo https://github.com/danawanb/rusty [INFO] tweaked toml for git repo https://github.com/danawanb/rusty written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/danawanb/rusty 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" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ef772cb340d98051452c6efbe7273ddbc38478381703732e0f4f8efd4e63cc8e [INFO] running `Command { std: "docker" "start" "-a" "ef772cb340d98051452c6efbe7273ddbc38478381703732e0f4f8efd4e63cc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ef772cb340d98051452c6efbe7273ddbc38478381703732e0f4f8efd4e63cc8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef772cb340d98051452c6efbe7273ddbc38478381703732e0f4f8efd4e63cc8e", kill_on_drop: false }` [INFO] [stdout] ef772cb340d98051452c6efbe7273ddbc38478381703732e0f4f8efd4e63cc8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5602b2eeeac80f58cda0d2ac321628ef9d55ec836e6b48b03b87ef3539055e64 [INFO] running `Command { std: "docker" "start" "-a" "5602b2eeeac80f58cda0d2ac321628ef9d55ec836e6b48b03b87ef3539055e64", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling subtle v2.5.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v2.0.55 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling cpufeatures v0.2.12 [INFO] [stderr] Compiling zeroize v1.7.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling jobserver v0.1.28 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling socket2 v0.5.6 [INFO] [stderr] Compiling mio v0.8.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling der v0.7.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling crc v3.0.1 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling event-listener v2.5.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling finl_unicode v1.2.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling clang-sys v1.7.0 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling stringprep v0.1.4 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling tokio v1.37.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling regex-syntax v0.8.3 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling whoami v1.5.1 [INFO] [stderr] Compiling dotenvy v0.15.7 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.11 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-iter v0.1.44 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling http-body v1.0.0 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling libloading v0.8.3 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Compiling frunk_core v0.4.2 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling darling_core v0.20.8 [INFO] [stderr] Compiling libz-sys v1.1.16 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rsa v0.9.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling darling_macro v0.20.8 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.2 [INFO] [stderr] Compiling darling v0.20.8 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling bigdecimal v0.4.3 [INFO] [stderr] Compiling async-trait v0.1.79 [INFO] [stderr] Compiling fastrand v2.0.2 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling tower-layer v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling tokio-stream v0.1.14 [INFO] [stderr] Compiling rust_decimal v1.35.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling frunk_proc_macros v0.1.2 [INFO] [stderr] Compiling frunk_derives v0.4.2 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling axum-core v0.4.3 [INFO] [stderr] Compiling http-body-util v0.1.1 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling time v0.3.34 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling derive_utils v0.14.1 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling axum v0.7.5 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.12 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling sync_wrapper v0.1.2 [INFO] [stderr] Compiling uuid v1.8.0 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling mysql v25.0.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling io-enum v1.1.3 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling validator_derive v0.18.1 [INFO] [stderr] Compiling mysql-common-derive v0.31.0 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling pem v3.0.3 [INFO] [stderr] Compiling lru v0.12.3 [INFO] [stderr] Compiling sync_wrapper v1.0.0 [INFO] [stderr] Compiling matchit v0.7.3 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling http-range-header v0.4.0 [INFO] [stderr] Compiling frunk v0.4.2 [INFO] [stderr] Compiling bcrypt v0.15.1 [INFO] [stderr] Compiling hyper v1.2.0 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.3 [INFO] [stderr] Compiling zstd v0.13.1 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling serde_path_to_error v0.1.16 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tower-http v0.5.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling validator v0.18.1 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling sqlformat v0.2.3 [INFO] [stderr] Compiling sqlx-core v0.7.4 [INFO] [stderr] Compiling mysql_common v0.32.1 [INFO] [stderr] Compiling sqlx-postgres v0.7.4 [INFO] [stderr] Compiling sqlx-mysql 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 rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Extension`, `Html`, and `path::ErrorKind` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{path::ErrorKind, Path, State}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] 4 | response::{Html, IntoResponse, Response}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | routing::{get, post, MethodRouter}, [INFO] [stdout] 6 | Extension, Form, Json, Router, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/user/handlers.rs:26:104 [INFO] [stdout] | [INFO] [stdout] 26 | use axum::{extract::State, http::StatusCode, response::{IntoResponse, Response}, routing::{get, post}, Error, Json, Router}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/user/handlers.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthError` is never used [INFO] [stdout] --> src/main.rs:204:6 [INFO] [stdout] | [INFO] [stdout] 204 | enum AuthError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Default` is never constructed [INFO] [stdout] --> src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | enum FetchErr { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 212 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn route(path: &str, method_router: MethodRouter<()>) -> Router { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden` and `Unauthorised` are never constructed [INFO] [stdout] --> src/user/handlers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 53 | BadRequest(String), [INFO] [stdout] 54 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | Unauthorised, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 58s [INFO] running `Command { std: "docker" "inspect" "5602b2eeeac80f58cda0d2ac321628ef9d55ec836e6b48b03b87ef3539055e64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5602b2eeeac80f58cda0d2ac321628ef9d55ec836e6b48b03b87ef3539055e64", kill_on_drop: false }` [INFO] [stdout] 5602b2eeeac80f58cda0d2ac321628ef9d55ec836e6b48b03b87ef3539055e64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58a5f0efcb5433727fd8b16625597154ff82d8a0a673539383c2301a83d8f16b [INFO] running `Command { std: "docker" "start" "-a" "58a5f0efcb5433727fd8b16625597154ff82d8a0a673539383c2301a83d8f16b", kill_on_drop: false }` [INFO] [stderr] Compiling rusty v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Extension`, `Html`, and `path::ErrorKind` [INFO] [stdout] --> src/main.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | extract::{path::ErrorKind, Path, State}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | http::StatusCode, [INFO] [stdout] 4 | response::{Html, IntoResponse, Response}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 5 | routing::{get, post, MethodRouter}, [INFO] [stdout] 6 | Extension, Form, Json, Router, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/user/handlers.rs:26:104 [INFO] [stdout] | [INFO] [stdout] 26 | use axum::{extract::State, http::StatusCode, response::{IntoResponse, Response}, routing::{get, post}, Error, Json, Router}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::json` [INFO] [stdout] --> src/user/handlers.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AuthError` is never used [INFO] [stdout] --> src/main.rs:204:6 [INFO] [stdout] | [INFO] [stdout] 204 | enum AuthError { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Default` is never constructed [INFO] [stdout] --> src/main.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 211 | enum FetchErr { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] 212 | Default, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `route` is never used [INFO] [stdout] --> src/main.rs:256:4 [INFO] [stdout] | [INFO] [stdout] 256 | fn route(path: &str, method_router: MethodRouter<()>) -> Router { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Forbidden` and `Unauthorised` are never constructed [INFO] [stdout] --> src/user/handlers.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 52 | enum ApiError { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 53 | BadRequest(String), [INFO] [stdout] 54 | Forbidden, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | Unauthorised, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.74s [INFO] running `Command { std: "docker" "inspect" "58a5f0efcb5433727fd8b16625597154ff82d8a0a673539383c2301a83d8f16b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a5f0efcb5433727fd8b16625597154ff82d8a0a673539383c2301a83d8f16b", kill_on_drop: false }` [INFO] [stdout] 58a5f0efcb5433727fd8b16625597154ff82d8a0a673539383c2301a83d8f16b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ed7f3d77595b4831fdf085f2529aa13b5b51ff7d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 26ed387a18330a7b2610891b4f8495c7d60325b77a7499a0bab5929b60da9147 [INFO] running `Command { std: "docker" "start" "-a" "26ed387a18330a7b2610891b4f8495c7d60325b77a7499a0bab5929b60da9147", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Extension`, `Html`, and `path::ErrorKind` [INFO] [stderr] --> src/main.rs:2:15 [INFO] [stderr] | [INFO] [stderr] 2 | extract::{path::ErrorKind, Path, State}, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | http::StatusCode, [INFO] [stderr] 4 | response::{Html, IntoResponse, Response}, [INFO] [stderr] | ^^^^ [INFO] [stderr] 5 | routing::{get, post, MethodRouter}, [INFO] [stderr] 6 | Extension, Form, Json, Router, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/user/handlers.rs:26:104 [INFO] [stderr] | [INFO] [stderr] 26 | use axum::{extract::State, http::StatusCode, response::{IntoResponse, Response}, routing::{get, post}, Error, Json, Router}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::json` [INFO] [stderr] --> src/user/handlers.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: enum `AuthError` is never used [INFO] [stderr] --> src/main.rs:204:6 [INFO] [stderr] | [INFO] [stderr] 204 | enum AuthError { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Default` is never constructed [INFO] [stderr] --> src/main.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 211 | enum FetchErr { [INFO] [stderr] | -------- variant in this enum [INFO] [stderr] 212 | Default, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `route` is never used [INFO] [stderr] --> src/main.rs:256:4 [INFO] [stderr] | [INFO] [stderr] 256 | fn route(path: &str, method_router: MethodRouter<()>) -> Router { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `Forbidden` and `Unauthorised` are never constructed [INFO] [stderr] --> src/user/handlers.rs:54:5 [INFO] [stderr] | [INFO] [stderr] 52 | enum ApiError { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] 53 | BadRequest(String), [INFO] [stderr] 54 | Forbidden, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 55 | Unauthorised, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `rusty` (bin "rusty" test) generated 7 warnings (run `cargo fix --bin "rusty" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/rusty-29a2a1ae0e2445da) [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" "26ed387a18330a7b2610891b4f8495c7d60325b77a7499a0bab5929b60da9147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26ed387a18330a7b2610891b4f8495c7d60325b77a7499a0bab5929b60da9147", kill_on_drop: false }` [INFO] [stdout] 26ed387a18330a7b2610891b4f8495c7d60325b77a7499a0bab5929b60da9147