[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] testing RageKnify/shrtr against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRageKnify%2Fshrtr" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/RageKnify/shrtr on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-1/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thread_local v1.1.3 [INFO] [stderr] Downloaded sync_wrapper v0.1.1 [INFO] [stderr] Downloaded matchit v0.4.4 [INFO] [stderr] Downloaded hyper v0.14.14 [INFO] [stderr] Downloaded h2 v0.3.7 [INFO] [stderr] Downloaded axum v0.3.2 [INFO] [stderr] Downloaded tokio-macros v1.5.1 [INFO] [stderr] Downloaded tracing-subscriber v0.3.1 [INFO] [stderr] Downloaded serde_json v1.0.69 [INFO] [stderr] Downloaded async-compression v0.3.8 [INFO] [stderr] Downloaded aliasable v0.1.3 [INFO] [stderr] Downloaded handlebars v4.1.4 [INFO] [stderr] Downloaded quick-error v2.0.1 [INFO] [stderr] Downloaded rust_decimal v1.17.0 [INFO] [stderr] Downloaded sea-strum_macros v0.21.2 [INFO] [stderr] Downloaded syn-mid v0.5.3 [INFO] [stderr] Downloaded sea-query-derive v0.2.0 [INFO] [stderr] Downloaded hdrhistogram v6.3.4 [INFO] [stderr] Downloaded Inflector v0.11.4 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] [stderr] Downloaded sea-orm-macros v0.3.2 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] [stderr] Downloaded brotli v3.3.2 [INFO] [stderr] Downloaded ouroboros_macro v0.11.1 [INFO] [stderr] Downloaded ouroboros v0.11.1 [INFO] [stderr] Downloaded bae v0.1.6 [INFO] [stderr] Downloaded sea-strum v0.21.0 [INFO] [stderr] Downloaded iri-string v0.4.0 [INFO] [stderr] Downloaded tower v0.4.10 [INFO] [stderr] Downloaded tower-http v0.1.1 [INFO] [stderr] Downloaded sea-orm v0.3.2 [INFO] [stderr] Downloaded sea-query v0.18.2 [INFO] [stderr] Downloaded syn v1.0.81 [INFO] [stderr] Downloaded stable_deref_trait v1.2.0 [INFO] [stderr] Downloaded tower-layer v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f279c2eb9e2b63172edbce0380156b55fd821f6c78c5750c8b939aa66bf9e103 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f279c2eb9e2b63172edbce0380156b55fd821f6c78c5750c8b939aa66bf9e103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f279c2eb9e2b63172edbce0380156b55fd821f6c78c5750c8b939aa66bf9e103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f279c2eb9e2b63172edbce0380156b55fd821f6c78c5750c8b939aa66bf9e103", kill_on_drop: false }` [INFO] [stdout] f279c2eb9e2b63172edbce0380156b55fd821f6c78c5750c8b939aa66bf9e103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 90ea2f24d9411d9a0ba27fed1dc0a75ec66302d369a978977b493131daf8e5ab [INFO] running `Command { std: "docker" "start" "-a" "90ea2f24d9411d9a0ba27fed1dc0a75ec66302d369a978977b493131daf8e5ab", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling radium v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.69 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling funty v1.1.0 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling aliasable v0.1.3 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling matchit v0.4.4 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling alloc-stdlib v0.2.1 [INFO] [stderr] Compiling brotli-decompressor v2.3.2 [INFO] [stderr] Compiling tracing-subscriber v0.3.1 [INFO] [stderr] Compiling bitvec v0.19.5 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [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 flate2 v1.0.22 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling brotli v3.3.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hdrhistogram v6.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling syn-mid v0.5.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling iri-string v0.4.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling proc-macro-error-attr v0.4.12 [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 sea-strum_macros v0.21.2 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling proc-macro-error v0.4.12 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling bae v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling sea-strum v0.21.0 [INFO] [stderr] Compiling sea-query-derive v0.2.0 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling ouroboros v0.11.1 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling sea-orm-macros v0.3.2 [INFO] [stderr] Compiling serde v1.0.130 [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 rust_decimal v1.17.0 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tower-http v0.1.1 [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 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` (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: field is never read: `old_short` [INFO] [stdout] --> src/routes/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | old_short: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `EditURL` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `short` [INFO] [stdout] --> src/routes/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | short: 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] --> src/routes/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `long` [INFO] [stdout] --> src/routes/mod.rs:52:5 [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] --> src/routes/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 12s [INFO] running `Command { std: "docker" "inspect" "90ea2f24d9411d9a0ba27fed1dc0a75ec66302d369a978977b493131daf8e5ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90ea2f24d9411d9a0ba27fed1dc0a75ec66302d369a978977b493131daf8e5ab", kill_on_drop: false }` [INFO] [stdout] 90ea2f24d9411d9a0ba27fed1dc0a75ec66302d369a978977b493131daf8e5ab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5414ea4ea90110b936c91bc9d6911403edbf4b74bf22494e50252420df30dd6e [INFO] running `Command { std: "docker" "start" "-a" "5414ea4ea90110b936c91bc9d6911403edbf4b74bf22494e50252420df30dd6e", 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` (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: field is never read: `old_short` [INFO] [stdout] --> src/routes/mod.rs:50:5 [INFO] [stdout] | [INFO] [stdout] 50 | old_short: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `EditURL` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/routes/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `short` [INFO] [stdout] --> src/routes/mod.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | short: 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] --> src/routes/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `long` [INFO] [stdout] --> src/routes/mod.rs:52:5 [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] --> src/routes/mod.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.79s [INFO] running `Command { std: "docker" "inspect" "5414ea4ea90110b936c91bc9d6911403edbf4b74bf22494e50252420df30dd6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5414ea4ea90110b936c91bc9d6911403edbf4b74bf22494e50252420df30dd6e", kill_on_drop: false }` [INFO] [stdout] 5414ea4ea90110b936c91bc9d6911403edbf4b74bf22494e50252420df30dd6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c6d33d276565bbc78059d5edaccac07f19f4e9bcc4ef78fd24757b32649de774 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c6d33d276565bbc78059d5edaccac07f19f4e9bcc4ef78fd24757b32649de774", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::time::Duration` [INFO] [stderr] --> src/main.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | use std::time::Duration; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/routes/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 16 | let short: u64 = todo!("generate new random u64"); [INFO] [stderr] | -------------------------------- any code following this expression is unreachable [INFO] [stderr] 17 | / match Uri::try_from(new.long) { [INFO] [stderr] 18 | | Ok(_) => todo!("happy path"), [INFO] [stderr] 19 | | Err(err) => todo!("sad path"), [INFO] [stderr] 20 | | } [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable expression [INFO] [stderr] --> src/routes/mod.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | todo!("check that new.short isn't in use"); [INFO] [stderr] | ------------------------------------------ any code following this expression is unreachable [INFO] [stderr] 32 | / match Uri::try_from(new.long) { [INFO] [stderr] 33 | | Ok(_) => todo!("happy path"), [INFO] [stderr] 34 | | Err(err) => todo!("sad path"), [INFO] [stderr] 35 | | } [INFO] [stderr] | |_____^ unreachable expression [INFO] [stderr] [INFO] [stderr] warning: unreachable statement [INFO] [stderr] --> src/routes/mod.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 57 | todo!("check that editURL.old_short exists"); [INFO] [stderr] | -------------------------------------------- any code following this expression is unreachable [INFO] [stderr] 58 | todo!("check that editURL.short isn't in use"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `$crate::panic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `short` [INFO] [stderr] --> src/routes/mod.rs:16:9 [INFO] [stderr] | [INFO] [stderr] 16 | let short: u64 = todo!("generate new random u64"); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_short` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/routes/mod.rs:19:13 [INFO] [stderr] | [INFO] [stderr] 19 | Err(err) => todo!("sad path"), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `err` [INFO] [stderr] --> src/routes/mod.rs:34:13 [INFO] [stderr] | [INFO] [stderr] 34 | Err(err) => todo!("sad path"), [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stderr] [INFO] [stderr] warning: field is never read: `old_short` [INFO] [stderr] --> src/routes/mod.rs:50:5 [INFO] [stderr] | [INFO] [stderr] 50 | old_short: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `EditURL` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/routes/mod.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `short` [INFO] [stderr] --> src/routes/mod.rs:51:5 [INFO] [stderr] | [INFO] [stderr] 51 | short: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EditURL` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/routes/mod.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `long` [INFO] [stderr] --> src/routes/mod.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 52 | long: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `EditURL` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/routes/mod.rs:48:23 [INFO] [stderr] | [INFO] [stderr] 48 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `shrtr` (bin "shrtr" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/shrtr-0488a8cb3689b63c) [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" "c6d33d276565bbc78059d5edaccac07f19f4e9bcc4ef78fd24757b32649de774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6d33d276565bbc78059d5edaccac07f19f4e9bcc4ef78fd24757b32649de774", kill_on_drop: false }` [INFO] [stdout] c6d33d276565bbc78059d5edaccac07f19f4e9bcc4ef78fd24757b32649de774