[INFO] fetching crate gert 0.2.1... [INFO] checking gert-0.2.1 against try#024378d9203a4009ed73d6db2681b88a8d74ce7a for pr-112160 [INFO] extracting crate gert 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate gert 0.2.1 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] removed /workspace/builds/worker-3-tc2/source/.cargo/config [INFO] started tweaking crates.io crate gert 0.2.1 [INFO] finished tweaking crates.io crate gert 0.2.1 [INFO] tweaked toml for crates.io crate gert 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate gert 0.2.1 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 19dd7c57b0ccd776a7ff9958925616744f0cc9f0ef18f9721ddca137646384db [INFO] running `Command { std: "docker" "start" "-a" "19dd7c57b0ccd776a7ff9958925616744f0cc9f0ef18f9721ddca137646384db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19dd7c57b0ccd776a7ff9958925616744f0cc9f0ef18f9721ddca137646384db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19dd7c57b0ccd776a7ff9958925616744f0cc9f0ef18f9721ddca137646384db", kill_on_drop: false }` [INFO] [stdout] 19dd7c57b0ccd776a7ff9958925616744f0cc9f0ef18f9721ddca137646384db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 157546f5ff9ef298656943ca02fcba8ec61671a2cb9812e6febbc80f1586385f [INFO] running `Command { std: "docker" "start" "-a" "157546f5ff9ef298656943ca02fcba8ec61671a2cb9812e6febbc80f1586385f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.137 [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.5 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Checking itoa v1.0.4 [INFO] [stderr] Compiling futures-core v0.3.25 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Compiling futures-task v0.3.25 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Compiling tokio v1.21.2 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-io v0.3.25 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling openssl v0.10.42 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking num_cpus v1.14.0 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling jobserver v0.1.25 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling time-macros v0.2.5 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Compiling cookie v0.16.1 [INFO] [stderr] Compiling cc v1.0.74 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.87 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Checking base64ct v1.5.3 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking miniz_oxide v0.5.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking password-hash v0.4.2 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling anyhow v1.0.66 [INFO] [stderr] Compiling thiserror v1.0.37 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking time v0.3.16 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Compiling openssl-sys v0.9.77 [INFO] [stderr] Compiling zstd-sys v2.0.1+zstd.1.5.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking which v4.3.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bzip2 v0.4.3 [INFO] [stderr] Compiling futures-macro v0.3.25 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.37 [INFO] [stderr] Checking futures-executor v0.3.25 [INFO] [stderr] Checking futures v0.3.25 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.15 [INFO] [stderr] Checking hyper v0.14.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.16.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.12 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Checking zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Checking zip v0.6.3 [INFO] [stderr] Checking gert v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&std::option::Option` instead of borrowing the inner type [INFO] [stdout] --> src/download.rs:523:69 [INFO] [stdout] | [INFO] [stdout] 523 | let video_url = parsed.files.get(MP4_EXTENSION).unwrap().url.borrow().to_owned().unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | processed += response.borrow().data.dist; [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` 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 `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | if response.borrow().data.after.as_ref().is_none() { [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:102:55 [INFO] [stdout] | [INFO] [stdout] 102 | debug!("Processing till: {}", response.borrow().data.after.as_ref().unwrap()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | after = response.borrow().data.after.clone(); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `.borrow()` on a double reference, which returns `&std::option::Option` instead of borrowing the inner type [INFO] [stdout] --> src/download.rs:523:69 [INFO] [stdout] | [INFO] [stdout] 523 | let video_url = parsed.files.get(MP4_EXTENSION).unwrap().url.borrow().to_owned().unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(suspicious_double_ref_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gert` (bin "gert") due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:93:34 [INFO] [stdout] | [INFO] [stdout] 93 | processed += response.borrow().data.dist; [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` 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 `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:97:24 [INFO] [stdout] | [INFO] [stdout] 97 | if response.borrow().data.after.as_ref().is_none() { [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:102:55 [INFO] [stdout] | [INFO] [stdout] 102 | debug!("Processing till: {}", response.borrow().data.after.as_ref().unwrap()); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: call to `.borrow()` on a reference in this situation does nothing [INFO] [stdout] --> src/user.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | after = response.borrow().data.after.clone(); [INFO] [stdout] | ^^^^^^^^^ unnecessary method call [INFO] [stdout] | [INFO] [stdout] = note: the type `Listing` does not implement `Borrow`, so calling `borrow` on `&Listing` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gert` (bin "gert" test) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "157546f5ff9ef298656943ca02fcba8ec61671a2cb9812e6febbc80f1586385f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "157546f5ff9ef298656943ca02fcba8ec61671a2cb9812e6febbc80f1586385f", kill_on_drop: false }` [INFO] [stdout] 157546f5ff9ef298656943ca02fcba8ec61671a2cb9812e6febbc80f1586385f