[INFO] cloning repository https://github.com/sharaalfa/shortener_url_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sharaalfa/shortener_url_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharaalfa%2Fshortener_url_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharaalfa%2Fshortener_url_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] e299ae2f43a83db69110000ccf1e8c0b34caf8ce
[INFO] checking sharaalfa/shortener_url_rust against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsharaalfa%2Fshortener_url_rust" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/sharaalfa/shortener_url_rust
[INFO] finished tweaking git repo https://github.com/sharaalfa/shortener_url_rust
[INFO] tweaked toml for git repo https://github.com/sharaalfa/shortener_url_rust written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/sharaalfa/shortener_url_rust on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/sharaalfa/shortener_url_rust 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69
[INFO] running `Command { std: "docker" "start" "9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking shortener_url_rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: enum `ShortenerError` is never used
[INFO] [stdout]  --> src/playground.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ShortenerError {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Slug` is never constructed
[INFO] [stdout]   --> src/playground.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Slug(pub String);
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Url` is never constructed
[INFO] [stdout]   --> src/playground.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Url(pub String);
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShortLink` is never constructed
[INFO] [stdout]   --> src/playground.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ShortLink {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stats` is never constructed
[INFO] [stdout]   --> src/playground.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Stats {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/playground.rs:55:6
[INFO] [stdout]    |
[INFO] [stdout] 55 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UrlShortenerService` is never constructed
[INFO] [stdout]   --> src/playground.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct UrlShortenerService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `generate_slug` are never used
[INFO] [stdout]   --> src/playground.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl UrlShortenerService {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout] 68 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn generate_slug(&self) -> Slug {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/playground.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CommandHandler` is never used
[INFO] [stdout]   --> src/playground.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub trait CommandHandler {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `QueryHandler` is never used
[INFO] [stdout]   --> src/playground.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub trait QueryHandler {
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ShortenerError` is never used
[INFO] [stdout]  --> src/playground.rs:5:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub enum ShortenerError {
[INFO] [stdout]   |          ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Slug` is never constructed
[INFO] [stdout]   --> src/playground.rs:12:12
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub struct Slug(pub String);
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Url` is never constructed
[INFO] [stdout]   --> src/playground.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct Url(pub String);
[INFO] [stdout]    |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ShortLink` is never constructed
[INFO] [stdout]   --> src/playground.rs:18:12
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub struct ShortLink {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Stats` is never constructed
[INFO] [stdout]   --> src/playground.rs:24:12
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub struct Stats {
[INFO] [stdout]    |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Event` is never used
[INFO] [stdout]   --> src/playground.rs:55:6
[INFO] [stdout]    |
[INFO] [stdout] 55 | enum Event {
[INFO] [stdout]    |      ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `UrlShortenerService` is never constructed
[INFO] [stdout]   --> src/playground.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct UrlShortenerService {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new` and `generate_slug` are never used
[INFO] [stdout]   --> src/playground.rs:68:12
[INFO] [stdout]    |
[INFO] [stdout] 67 | impl UrlShortenerService {
[INFO] [stdout]    | ------------------------ associated items in this implementation
[INFO] [stdout] 68 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 75 |     fn generate_slug(&self) -> Slug {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `main` is never used
[INFO] [stdout]    --> src/playground.rs:127:4
[INFO] [stdout]     |
[INFO] [stdout] 127 | fn main() {
[INFO] [stdout]     |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `CommandHandler` is never used
[INFO] [stdout]   --> src/playground.rs:32:15
[INFO] [stdout]    |
[INFO] [stdout] 32 |     pub trait CommandHandler {
[INFO] [stdout]    |               ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `QueryHandler` is never used
[INFO] [stdout]   --> src/playground.rs:49:15
[INFO] [stdout]    |
[INFO] [stdout] 49 |     pub trait QueryHandler {
[INFO] [stdout]    |               ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.16s
[INFO] running `Command { std: "docker" "inspect" "9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69", kill_on_drop: false }`
[INFO] [stdout] 9f88305cf7f506e5fc039c9225a6583ef6bdf4138e7c220d9978113fbbac9c69
