[INFO] cloning repository https://github.com/hrchlhck/url-shortener [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hrchlhck/url-shortener" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrchlhck%2Furl-shortener", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrchlhck%2Furl-shortener'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3c0ac0e1c3345e647c122862947071a8697781b0 [INFO] testing hrchlhck/url-shortener against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhrchlhck%2Furl-shortener" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-6-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/hrchlhck/url-shortener [INFO] finished tweaking git repo https://github.com/hrchlhck/url-shortener [INFO] tweaked toml for git repo https://github.com/hrchlhck/url-shortener written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/hrchlhck/url-shortener on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/hrchlhck/url-shortener 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] edf0636637ea9efa31cdb73c42fa6b94eae7fc3f6921da220e4b4337b7af69a0 [INFO] running `Command { std: "docker" "start" "-a" "edf0636637ea9efa31cdb73c42fa6b94eae7fc3f6921da220e4b4337b7af69a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "edf0636637ea9efa31cdb73c42fa6b94eae7fc3f6921da220e4b4337b7af69a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edf0636637ea9efa31cdb73c42fa6b94eae7fc3f6921da220e4b4337b7af69a0", kill_on_drop: false }` [INFO] [stdout] edf0636637ea9efa31cdb73c42fa6b94eae7fc3f6921da220e4b4337b7af69a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 39ee7e158b8862869ead94d1d51bc4ed37b4212234632bd4fec0bbd0dc79022a [INFO] running `Command { std: "docker" "start" "-a" "39ee7e158b8862869ead94d1d51bc4ed37b4212234632bd4fec0bbd0dc79022a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling find-msvc-tools v0.1.4 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling once_cell v1.21.1 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling zerocopy v0.8.23 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling icu_properties_data v1.5.0 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling openssl v0.10.71 [INFO] [stderr] Compiling icu_normalizer_data v1.5.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling frunk_core v0.4.3 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling cc v1.2.45 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling bindgen v0.71.1 [INFO] [stderr] Compiling typeid v1.0.3 [INFO] [stderr] Compiling time-macros v0.2.21 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling erased-serde v0.4.9 [INFO] [stderr] Compiling libm v0.2.11 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling rustc-hash v2.1.1 [INFO] [stderr] Compiling winnow v0.7.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling zstd-safe v7.2.3 [INFO] [stderr] Compiling time v0.3.40 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling openssl-sys v0.9.106 [INFO] [stderr] Compiling zstd-sys v2.0.14+zstd.1.5.7 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling subprocess v0.2.9 [INFO] [stderr] Compiling proc-macro-error-attr2 v2.0.0 [INFO] [stderr] Compiling bigdecimal v0.4.7 [INFO] [stderr] Compiling rust_decimal v1.37.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling typetag v0.2.21 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling frunk_proc_macro_helpers v0.1.3 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Compiling proc-macro-error2 v2.0.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling inventory v0.3.21 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling derive_utils v0.15.0 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling serde_path_to_error v0.1.20 [INFO] [stderr] Compiling btoi v0.4.3 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling mysql v25.0.1 [INFO] [stderr] Compiling saturating v0.1.0 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling anstyle-query v1.1.4 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling typetag-impl v0.2.21 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling tokio v1.48.0 [INFO] [stderr] Compiling frunk_derives v0.4.3 [INFO] [stderr] Compiling frunk_proc_macros v0.1.3 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling expect-json-macros v1.5.0 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.2 [INFO] [stderr] Compiling frunk v0.4.3 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling crossbeam v0.8.4 [INFO] [stderr] Compiling io-enum v1.2.0 [INFO] [stderr] Compiling twox-hash v1.6.3 [INFO] [stderr] Compiling rustls-pki-types v1.13.0 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling env_filter v0.1.4 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling axum-core v0.5.5 [INFO] [stderr] Compiling pem v3.0.5 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling jiff v0.2.16 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling mysql-common-derive v0.31.2 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling bytesize v2.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.20 [INFO] [stderr] Compiling rust-multipart-rfc7578_2 v0.8.0 [INFO] [stderr] Compiling reserve-port v2.3.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling mysql_common v0.32.4 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling tokio-util v0.7.17 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling email_address v0.2.9 [INFO] [stderr] Compiling expect-json v1.5.0 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tower-http v0.6.6 [INFO] [stderr] Compiling h2 v0.4.12 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling hyper v1.8.0 [INFO] [stderr] Compiling redis v0.32.7 [INFO] [stderr] Compiling hyper-util v0.1.17 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.6 [INFO] [stderr] Compiling reqwest v0.12.24 [INFO] [stderr] Compiling axum-test v18.2.1 [INFO] [stderr] Compiling shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/api/endpoints.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum RedirectResponse { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 30 | Redirect(Redirect), [INFO] [stdout] 31 | Error((StatusCode, Json)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_expiration` are never used [INFO] [stdout] --> src/api/entry.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Entry { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(long_url: String, short_url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_expiration(&mut self, exp: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 53s [INFO] running `Command { std: "docker" "inspect" "39ee7e158b8862869ead94d1d51bc4ed37b4212234632bd4fec0bbd0dc79022a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39ee7e158b8862869ead94d1d51bc4ed37b4212234632bd4fec0bbd0dc79022a", kill_on_drop: false }` [INFO] [stdout] 39ee7e158b8862869ead94d1d51bc4ed37b4212234632bd4fec0bbd0dc79022a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] ffdc462845354eee7dc5d8dcffaa128038f10fcfeb44f7dc7691f4fe1f12548c [INFO] running `Command { std: "docker" "start" "-a" "ffdc462845354eee7dc5d8dcffaa128038f10fcfeb44f7dc7691f4fe1f12548c", kill_on_drop: false }` [INFO] [stderr] Compiling shortener v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant `Error` is never constructed [INFO] [stdout] --> src/api/endpoints.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 29 | pub enum RedirectResponse { [INFO] [stdout] | ---------------- variant in this enum [INFO] [stdout] 30 | Redirect(Redirect), [INFO] [stdout] 31 | Error((StatusCode, Json)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `set_expiration` are never used [INFO] [stdout] --> src/api/entry.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Entry { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(long_url: String, short_url: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn set_expiration(&mut self, exp: u64) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "ffdc462845354eee7dc5d8dcffaa128038f10fcfeb44f7dc7691f4fe1f12548c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffdc462845354eee7dc5d8dcffaa128038f10fcfeb44f7dc7691f4fe1f12548c", kill_on_drop: false }` [INFO] [stdout] ffdc462845354eee7dc5d8dcffaa128038f10fcfeb44f7dc7691f4fe1f12548c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] fa0ef17e66171019e194164843d2f4fc163b6318e6148784f95b967f494bc774 [INFO] running `Command { std: "docker" "start" "-a" "fa0ef17e66171019e194164843d2f4fc163b6318e6148784f95b967f494bc774", kill_on_drop: false }` [INFO] [stderr] warning: variant `Error` is never constructed [INFO] [stderr] --> src/api/endpoints.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 29 | pub enum RedirectResponse { [INFO] [stderr] | ---------------- variant in this enum [INFO] [stderr] 30 | Redirect(Redirect), [INFO] [stderr] 31 | Error((StatusCode, Json)), [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `set_expiration` are never used [INFO] [stderr] --> src/api/entry.rs:11:12 [INFO] [stderr] | [INFO] [stderr] 10 | impl Entry { [INFO] [stderr] | ---------- associated items in this implementation [INFO] [stderr] 11 | pub fn new(long_url: String, short_url: String) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 41 | pub fn set_expiration(&mut self, exp: u64) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `shortener` (bin "shortener" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/shortener/4b360af4bd8a1407/deps/shortener-4b360af4bd8a1407) [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" "fa0ef17e66171019e194164843d2f4fc163b6318e6148784f95b967f494bc774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0ef17e66171019e194164843d2f4fc163b6318e6148784f95b967f494bc774", kill_on_drop: false }` [INFO] [stdout] fa0ef17e66171019e194164843d2f4fc163b6318e6148784f95b967f494bc774