[INFO] cloning repository https://github.com/RageKnify/shrtr [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RageKnify/shrtr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRageKnify%2Fshrtr", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRageKnify%2Fshrtr'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 509f91e674ddf52aac733ccdf15d68bd511f4263 [INFO] building RageKnify/shrtr against try#f41a2ab7b0d9462073425dd6c04abbeb4805cb77 for pr-97334-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRageKnify%2Fshrtr" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RageKnify/shrtr on toolchain f41a2ab7b0d9462073425dd6c04abbeb4805cb77 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/RageKnify/shrtr [INFO] finished tweaking git repo https://github.com/RageKnify/shrtr [INFO] tweaked toml for git repo https://github.com/RageKnify/shrtr written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RageKnify/shrtr 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" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e90739d9336fda574b6dea0e0a10bfaee176e8f79e02596cfd95608313226145 [INFO] running `Command { std: "docker" "start" "-a" "e90739d9336fda574b6dea0e0a10bfaee176e8f79e02596cfd95608313226145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e90739d9336fda574b6dea0e0a10bfaee176e8f79e02596cfd95608313226145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e90739d9336fda574b6dea0e0a10bfaee176e8f79e02596cfd95608313226145", kill_on_drop: false }` [INFO] [stdout] e90739d9336fda574b6dea0e0a10bfaee176e8f79e02596cfd95608313226145 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 186c5a8799403a4edb951c2739db500a42de8663de02d04fdd5f80b95013e047 [INFO] running `Command { std: "docker" "start" "-a" "186c5a8799403a4edb951c2739db500a42de8663de02d04fdd5f80b95013e047", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.6.6 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling crossbeam-channel v0.3.9 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling hdrhistogram v6.3.4 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling brotli v3.3.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling syn-mid v0.5.3 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling iri-string v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling ouroboros_macro v0.11.1 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling sea-strum_macros v0.21.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling bae v0.1.6 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling sea-orm-macros v0.3.2 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling sea-strum v0.21.0 [INFO] [stderr] Compiling ouroboros v0.11.1 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling async-compression v0.3.8 [INFO] [stderr] Compiling tower v0.4.10 [INFO] [stderr] Compiling h2 v0.3.7 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling rust_decimal v1.17.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling sea-query v0.18.2 [INFO] [stderr] Compiling handlebars v4.1.4 [INFO] [stderr] Compiling sea-orm v0.3.2 [INFO] [stderr] Compiling tower-http v0.1.1 [INFO] [stderr] Compiling hyper v0.14.14 [INFO] [stderr] Compiling axum v0.3.2 [INFO] [stderr] Compiling shrtr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/routes/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | let short: u64 = todo!("generate new random u64"); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 17 | / match Uri::try_from(new.long) { [INFO] [stdout] 18 | | Ok(_) => todo!("happy path"), [INFO] [stdout] 19 | | Err(err) => todo!("sad path"), [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/routes/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | todo!("check that new.short isn't in use"); [INFO] [stdout] | ------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 32 | / match Uri::try_from(new.long) { [INFO] [stdout] 33 | | Ok(_) => todo!("happy path"), [INFO] [stdout] 34 | | Err(err) => todo!("sad path"), [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/routes/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | todo!("check that editURL.old_short exists"); [INFO] [stdout] | -------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 58 | todo!("check that editURL.short isn't in use"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `short` [INFO] [stdout] --> src/routes/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let short: u64 = todo!("generate new random u64"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_short` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/routes/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Err(err) => todo!("sad path"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/routes/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(err) => todo!("sad path"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `old_short`, `short`, and `long` are never read [INFO] [stdout] --> src/routes/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct EditURL { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 50 | old_short: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | short: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | long: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditURL` has a derived impl for the trait `Debug`, 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.64s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: hdrhistogram v6.3.4, nom v4.2.3, nom v6.1.2 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "186c5a8799403a4edb951c2739db500a42de8663de02d04fdd5f80b95013e047", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "186c5a8799403a4edb951c2739db500a42de8663de02d04fdd5f80b95013e047", kill_on_drop: false }` [INFO] [stdout] 186c5a8799403a4edb951c2739db500a42de8663de02d04fdd5f80b95013e047 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:9042d5c95763f71f7b0904716b98ccadf9fc47b0f382ee962aaaed2ac70c9b8d" "/opt/rustwide/cargo-home/bin/cargo" "+f41a2ab7b0d9462073425dd6c04abbeb4805cb77" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41c7d21f3da6391182477502dc9bc43cba42163de04d12d7b7a4709de91baf31 [INFO] running `Command { std: "docker" "start" "-a" "41c7d21f3da6391182477502dc9bc43cba42163de04d12d7b7a4709de91baf31", kill_on_drop: false }` [INFO] [stderr] Compiling shrtr v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/routes/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 16 | let short: u64 = todo!("generate new random u64"); [INFO] [stdout] | -------------------------------- any code following this expression is unreachable [INFO] [stdout] 17 | / match Uri::try_from(new.long) { [INFO] [stdout] 18 | | Ok(_) => todo!("happy path"), [INFO] [stdout] 19 | | Err(err) => todo!("sad path"), [INFO] [stdout] 20 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/routes/mod.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | todo!("check that new.short isn't in use"); [INFO] [stdout] | ------------------------------------------ any code following this expression is unreachable [INFO] [stdout] 32 | / match Uri::try_from(new.long) { [INFO] [stdout] 33 | | Ok(_) => todo!("happy path"), [INFO] [stdout] 34 | | Err(err) => todo!("sad path"), [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/routes/mod.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | todo!("check that editURL.old_short exists"); [INFO] [stdout] | -------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 58 | todo!("check that editURL.short isn't in use"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `$crate::panic` which comes from the expansion of the macro `todo` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `short` [INFO] [stdout] --> src/routes/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let short: u64 = todo!("generate new random u64"); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_short` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/routes/mod.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | Err(err) => todo!("sad path"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> src/routes/mod.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | Err(err) => todo!("sad path"), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `old_short`, `short`, and `long` are never read [INFO] [stdout] --> src/routes/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 49 | pub(crate) struct EditURL { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 50 | old_short: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | short: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 52 | long: Option, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EditURL` has a derived impl for the trait `Debug`, 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 4.23s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: hdrhistogram v6.3.4, nom v4.2.3, nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "41c7d21f3da6391182477502dc9bc43cba42163de04d12d7b7a4709de91baf31", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c7d21f3da6391182477502dc9bc43cba42163de04d12d7b7a4709de91baf31", kill_on_drop: false }` [INFO] [stdout] 41c7d21f3da6391182477502dc9bc43cba42163de04d12d7b7a4709de91baf31