[INFO] cloning repository https://github.com/LempekPL/rust-redirect [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LempekPL/rust-redirect" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLempekPL%2Frust-redirect", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLempekPL%2Frust-redirect'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 28ce9b8b067227d0351a787c5b1bda28ce7736dc [INFO] checking LempekPL/rust-redirect against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLempekPL%2Frust-redirect" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LempekPL/rust-redirect on toolchain 024378d9203a4009ed73d6db2681b88a8d74ce7a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LempekPL/rust-redirect [INFO] finished tweaking git repo https://github.com/LempekPL/rust-redirect [INFO] tweaked toml for git repo https://github.com/LempekPL/rust-redirect written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LempekPL/rust-redirect 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" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d5f69a12af6dc23b035fec2b50cd2a0c46407c48f439b573906f146e96369c39 [INFO] running `Command { std: "docker" "start" "-a" "d5f69a12af6dc23b035fec2b50cd2a0c46407c48f439b573906f146e96369c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d5f69a12af6dc23b035fec2b50cd2a0c46407c48f439b573906f146e96369c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d5f69a12af6dc23b035fec2b50cd2a0c46407c48f439b573906f146e96369c39", kill_on_drop: false }` [INFO] [stdout] d5f69a12af6dc23b035fec2b50cd2a0c46407c48f439b573906f146e96369c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+024378d9203a4009ed73d6db2681b88a8d74ce7a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58868a8f52f64a47306f70d55a67e2c2570e5beee83a66e95c773b06b93979da [INFO] running `Command { std: "docker" "start" "-a" "58868a8f52f64a47306f70d55a67e2c2570e5beee83a66e95c773b06b93979da", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.2 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling serde_derive v1.0.143 [INFO] [stderr] Compiling serde v1.0.143 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.9.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling yansi v0.5.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking cpufeatures v0.2.2 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling ref-cast v1.0.8 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking crypto-common v0.1.5 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking universal-hash v0.4.1 [INFO] [stderr] Checking cipher v0.3.0 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling async-trait v0.1.57 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking polyval v0.5.3 [INFO] [stderr] Compiling aead v0.4.3 [INFO] [stderr] Compiling aes v0.7.5 [INFO] [stderr] Compiling ghash v0.4.4 [INFO] [stderr] Compiling ctr v0.8.0 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling uncased v0.9.7 [INFO] [stderr] Compiling num_threads v0.1.6 [INFO] [stderr] Compiling serde_json v1.0.83 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aes-gcm v0.9.4 [INFO] [stderr] Compiling hkdf v0.12.3 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling sha2 v0.10.2 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling atomic v0.5.1 [INFO] [stderr] Compiling figment v0.10.6 [INFO] [stderr] Compiling multer v2.0.3 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Compiling state v0.5.3 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking cipher v0.4.3 [INFO] [stderr] Checking rustc_version v0.2.3 [INFO] [stderr] Checking ahash v0.7.6 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Compiling rocket v0.5.0-rc.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking spin v0.9.4 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking stringprep v0.1.2 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking md-5 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.10.1 [INFO] [stderr] Checking blowfish v0.9.1 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rustls-pemfile v0.3.0 [INFO] [stderr] Checking os_info v3.5.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking bcrypt v0.13.0 [INFO] [stderr] Checking webpki-roots v0.22.4 [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling devise_core v0.3.1 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling pear_codegen v0.2.3 [INFO] [stderr] Compiling ref-cast-impl v1.0.8 [INFO] [stderr] Compiling thiserror-impl v1.0.32 [INFO] [stderr] Compiling devise_codegen v0.3.1 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Compiling devise v0.3.1 [INFO] [stderr] Compiling pear v0.2.3 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking thiserror v1.0.32 [INFO] [stderr] Compiling rocket_http v0.5.0-rc.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Compiling rocket_codegen v0.5.0-rc.2 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking tokio-rustls v0.23.4 [INFO] [stderr] Checking tokio-stream v0.1.9 [INFO] [stderr] Checking serde_bytes v0.11.7 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking uuid v1.1.2 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking ubyte v0.10.2 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking bson v2.4.0 [INFO] [stderr] Checking mongodb v2.3.0 [INFO] [stderr] Checking rust-redirect v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/api/v1.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | #[get("/", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/api/v1.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[get("/", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/api/v1.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 67 | #[get("/", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/api/v1.rs:67:3 [INFO] [stdout] | [INFO] [stdout] 67 | #[get("/", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/api/v1.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | #[get("/", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/api/v1.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 253 | #[get("/", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `data` used with non-payload-supporting method [INFO] [stdout] --> src/api/v1.rs:253:12 [INFO] [stdout] | [INFO] [stdout] 253 | #[get("/", data = "")] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: 'GET' does not typically support payloads [INFO] [stdout] --> src/api/v1.rs:253:3 [INFO] [stdout] | [INFO] [stdout] 253 | #[get("/", data = "")] [INFO] [stdout] | ^^^ [INFO] [stdout] = note: this warning originates in the attribute macro `get` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api/v1.rs:497:31 [INFO] [stdout] | [INFO] [stdout] 497 | Ok(doc! { "name": name.clone() }) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api/v1.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | Ok(doc! { "name": name.clone(), "owner": auth._id }) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api/v1.rs:497:31 [INFO] [stdout] | [INFO] [stdout] 497 | Ok(doc! { "name": name.clone() }) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[deny(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/api/v1.rs:499:31 [INFO] [stdout] | [INFO] [stdout] 499 | Ok(doc! { "name": name.clone(), "owner": auth._id }) [INFO] [stdout] | ^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-redirect` (bin "rust-redirect") due to 3 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-redirect` (bin "rust-redirect" test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "58868a8f52f64a47306f70d55a67e2c2570e5beee83a66e95c773b06b93979da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58868a8f52f64a47306f70d55a67e2c2570e5beee83a66e95c773b06b93979da", kill_on_drop: false }` [INFO] [stdout] 58868a8f52f64a47306f70d55a67e2c2570e5beee83a66e95c773b06b93979da