[INFO] cloning repository https://github.com/Michielnuyts/snippetbox-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Michielnuyts/snippetbox-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichielnuyts%2Fsnippetbox-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichielnuyts%2Fsnippetbox-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b08b164651818c2c7da455e160ba735bdba1f704 [INFO] checking Michielnuyts/snippetbox-rust against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMichielnuyts%2Fsnippetbox-rust" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Michielnuyts/snippetbox-rust on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Michielnuyts/snippetbox-rust [INFO] finished tweaking git repo https://github.com/Michielnuyts/snippetbox-rust [INFO] tweaked toml for git repo https://github.com/Michielnuyts/snippetbox-rust written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Michielnuyts/snippetbox-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" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sqlx-rt v0.6.0 [INFO] [stderr] Downloaded sqlx-macros v0.6.0 [INFO] [stderr] Downloaded sqlx-core v0.6.0 [INFO] [stderr] Downloaded sqlx v0.6.0 [INFO] [stderr] Downloaded fern v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 021d16b8ff7240b49ca8794dd3ccb1273f21233b29e4f1de79f238afba865c35 [INFO] running `Command { std: "docker" "start" "-a" "021d16b8ff7240b49ca8794dd3ccb1273f21233b29e4f1de79f238afba865c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "021d16b8ff7240b49ca8794dd3ccb1273f21233b29e4f1de79f238afba865c35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "021d16b8ff7240b49ca8794dd3ccb1273f21233b29e4f1de79f238afba865c35", kill_on_drop: false }` [INFO] [stdout] 021d16b8ff7240b49ca8794dd3ccb1273f21233b29e4f1de79f238afba865c35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d85d00fdb6b5c0f82c0c0f96e2873b63c31668230ac6cfb7b69a9e85a4523e4 [INFO] running `Command { std: "docker" "start" "-a" "8d85d00fdb6b5c0f82c0c0f96e2873b63c31668230ac6cfb7b69a9e85a4523e4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking smallvec v1.8.1 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling openssl-sys v0.9.74 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Compiling universal-hash v0.4.1 [INFO] [stderr] Compiling cipher v0.3.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling ref-cast v1.0.7 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling polyval v0.5.3 [INFO] [stderr] Compiling unicode-normalization v0.1.21 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling time v0.3.11 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling ref-cast-impl v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling crc-catalog v2.1.0 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling crc v3.0.0 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling atoi v1.0.0 [INFO] [stderr] Compiling sqlformat v0.1.8 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling dirs v4.0.0 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling sqlx-rt v0.6.0 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling futures-intrusive v0.4.0 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Compiling hashlink v0.8.0 [INFO] [stderr] Compiling md-5 v0.10.1 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling event-listener v2.5.2 [INFO] [stderr] Compiling whoami v1.2.1 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking ubyte v0.10.2 [INFO] [stderr] Checking sqlx-core v0.6.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking fern v0.6.1 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Compiling sqlx-macros v0.6.0 [INFO] [stderr] Checking sqlx v0.6.0 [INFO] [stderr] Checking snippetbox-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/models/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn insert(&self, title: String, content: String) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `title` [INFO] [stdout] --> src/models/mod.rs:19:29 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn insert(&self, title: String, content: String) -> Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_title` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/models/mod.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn insert(&self, title: String, content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `content` [INFO] [stdout] --> src/models/mod.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn insert(&self, title: String, content: String) -> Result { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_content` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snippet` is never constructed [INFO] [stdout] --> src/models/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Snippet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Snippet` is never constructed [INFO] [stdout] --> src/models/mod.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct Snippet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/models/mod.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SnippetModel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | pool: Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `pool` is never read [INFO] [stdout] --> src/models/mod.rs:12:2 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SnippetModel { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 12 | pool: Pool, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers/mod.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | / app.snippets [INFO] [stdout] 17 | | .insert(String::from("Hey"), String::from("Ok")) [INFO] [stdout] 18 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = app.snippets [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/handlers/mod.rs:16:2 [INFO] [stdout] | [INFO] [stdout] 16 | / app.snippets [INFO] [stdout] 17 | | .insert(String::from("Hey"), String::from("Ok")) [INFO] [stdout] 18 | | .await; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 16 | let _ = app.snippets [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.72s [INFO] running `Command { std: "docker" "inspect" "8d85d00fdb6b5c0f82c0c0f96e2873b63c31668230ac6cfb7b69a9e85a4523e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d85d00fdb6b5c0f82c0c0f96e2873b63c31668230ac6cfb7b69a9e85a4523e4", kill_on_drop: false }` [INFO] [stdout] 8d85d00fdb6b5c0f82c0c0f96e2873b63c31668230ac6cfb7b69a9e85a4523e4