[INFO] fetching crate covet 1.3.0... [INFO] checking covet-1.3.0 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate covet 1.3.0 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate covet 1.3.0 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate covet 1.3.0 [INFO] finished tweaking crates.io crate covet 1.3.0 [INFO] tweaked toml for crates.io crate covet 1.3.0 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate crates.io crate covet 1.3.0 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b511f31f68bcab99fda3925e8746df85c7136ab681ae22717cc70d65d7eac09 [INFO] running `Command { std: "docker" "start" "-a" "2b511f31f68bcab99fda3925e8746df85c7136ab681ae22717cc70d65d7eac09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b511f31f68bcab99fda3925e8746df85c7136ab681ae22717cc70d65d7eac09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b511f31f68bcab99fda3925e8746df85c7136ab681ae22717cc70d65d7eac09", kill_on_drop: false }` [INFO] [stdout] 2b511f31f68bcab99fda3925e8746df85c7136ab681ae22717cc70d65d7eac09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fd57a561c932f374dcfbe9c5d9885a19bf6aa21f1997b8769b8b4a11b259bf53 [INFO] running `Command { std: "docker" "start" "-a" "fd57a561c932f374dcfbe9c5d9885a19bf6aa21f1997b8769b8b4a11b259bf53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Checking bytes v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Compiling openssl v0.10.54 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Checking cpufeatures v0.2.7 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Compiling openssl-sys v0.9.88 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling serde_json v1.0.96 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling time-core v0.1.1 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Compiling thiserror v1.0.40 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling time-macros v0.2.9 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking headers v0.3.8 [INFO] [stderr] Checking xml-rs v0.8.14 [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Checking xmltree v0.10.3 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling futures-macro v0.3.28 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling covet v1.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking warp v0.3.5 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/scanner.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / self.scanner [INFO] [stdout] 178 | | .download_stream(&self.binary_url.unwrap()) [INFO] [stdout] | | ------------------------ temporary value created here [INFO] [stdout] 179 | | .await [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0515]: cannot return value referencing temporary value [INFO] [stdout] --> src/scanner.rs:177:9 [INFO] [stdout] | [INFO] [stdout] 177 | / self.scanner [INFO] [stdout] 178 | | .download_stream(&self.binary_url.unwrap()) [INFO] [stdout] | | ------------------------ temporary value created here [INFO] [stdout] 179 | | .await [INFO] [stdout] | |__________________^ returns a value referencing data owned by the current function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `scanner` does not live long enough [INFO] [stdout] --> src/web.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 94 | scanner: Arc, [INFO] [stdout] | ------- binding `scanner` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | let stream = match scan_to_stream(&scanner, format, color, source, resolution, quality).await { [INFO] [stdout] | ---------------^^^^^^^^--------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `scanner` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | } [INFO] [stdout] | - `scanner` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0597]: `scanner` does not live long enough [INFO] [stdout] --> src/web.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 94 | scanner: Arc, [INFO] [stdout] | ------- binding `scanner` declared here [INFO] [stdout] ... [INFO] [stdout] 106 | let stream = match scan_to_stream(&scanner, format, color, source, resolution, quality).await { [INFO] [stdout] | ---------------^^^^^^^^--------------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | borrowed value does not live long enough [INFO] [stdout] | argument requires that `scanner` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 118 | } [INFO] [stdout] | - `scanner` dropped here while still borrowed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `covet` (bin "covet") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0515, E0597. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0515`. [INFO] [stdout] [INFO] [stderr] error: could not compile `covet` (bin "covet" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "fd57a561c932f374dcfbe9c5d9885a19bf6aa21f1997b8769b8b4a11b259bf53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fd57a561c932f374dcfbe9c5d9885a19bf6aa21f1997b8769b8b4a11b259bf53", kill_on_drop: false }` [INFO] [stdout] fd57a561c932f374dcfbe9c5d9885a19bf6aa21f1997b8769b8b4a11b259bf53