[INFO] fetching crate cargo-wasi-src 0.1.28... [INFO] checking cargo-wasi-src-0.1.28 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate cargo-wasi-src 0.1.28 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate cargo-wasi-src 0.1.28 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 cargo-wasi-src 0.1.28 [INFO] finished tweaking crates.io crate cargo-wasi-src 0.1.28 [INFO] tweaked toml for crates.io crate cargo-wasi-src 0.1.28 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate cargo-wasi-src 0.1.28 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 473eed80432b4c70c458ded2cc018a534aad587f14436bf05ca53f13ffd89c8f [INFO] running `Command { std: "docker" "start" "-a" "473eed80432b4c70c458ded2cc018a534aad587f14436bf05ca53f13ffd89c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "473eed80432b4c70c458ded2cc018a534aad587f14436bf05ca53f13ffd89c8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "473eed80432b4c70c458ded2cc018a534aad587f14436bf05ca53f13ffd89c8f", kill_on_drop: false }` [INFO] [stdout] 473eed80432b4c70c458ded2cc018a534aad587f14436bf05ca53f13ffd89c8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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] 88493fd8f8af07e640bef4d064e12fffa5e5dfa8ba0e9309da8a875aaeb0b3e3 [INFO] running `Command { std: "docker" "start" "-a" "88493fd8f8af07e640bef4d064e12fffa5e5dfa8ba0e9309da8a875aaeb0b3e3", 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] Compiling cc v1.0.79 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling rustls v0.21.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking ucd-trie v0.1.5 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking predicates-core v1.0.6 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking encoding_rs v0.8.32 [INFO] [stderr] Checking wasmparser v0.77.1 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking rustls-pemfile v1.0.2 [INFO] [stderr] Compiling cargo-wasi-src v0.1.28 (/opt/rustwide/workdir) [INFO] [stderr] Checking ipnet v2.7.2 [INFO] [stderr] Checking id-arena v2.2.1 [INFO] [stderr] Compiling syn v2.0.18 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.0.2 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking termtree v0.4.1 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking predicates-tree v1.0.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking wasmparser v0.78.2 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking dirs v3.0.2 [INFO] [stderr] Checking which v4.4.0 [INFO] [stderr] Checking tar v0.4.38 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking predicates v2.1.5 [INFO] [stderr] Checking assert_cmd v1.0.8 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Compiling walrus-macro v0.19.0 [INFO] [stderr] Checking predicates v1.0.8 [INFO] [stderr] Checking rustls-webpki v0.100.1 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking walrus v0.19.0 [INFO] [stderr] Checking webpki-roots v0.22.6 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling thiserror-impl v1.0.40 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking h2 v0.3.19 [INFO] [stderr] Checking pest v2.6.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking semver-parser v0.10.2 [INFO] [stderr] Checking semver v0.11.0 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking hyper-rustls v0.24.0 [INFO] [stderr] Checking serde_json v1.0.96 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | let _lock = utils::flock(&config.cache().root().join("rustup-lock")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 299 | }) [INFO] [stdout] | - borrow might be used here, when `_lock` is dropped and runs the destructor for type `Result` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 291 ~ let binding = config.cache().root().join("rustup-lock"); [INFO] [stdout] 292 ~ let _lock = utils::flock(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:291:35 [INFO] [stdout] | [INFO] [stdout] 291 | let _lock = utils::flock(&config.cache().root().join("rustup-lock")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 299 | }) [INFO] [stdout] | - borrow might be used here, when `_lock` is dropped and runs the destructor for type `Result` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 291 ~ let binding = config.cache().root().join("rustup-lock"); [INFO] [stdout] 292 ~ let _lock = utils::flock(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:752:32 [INFO] [stdout] | [INFO] [stdout] 752 | let _flock = utils::flock(&config.cache().root().join("downloading")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 796 | } [INFO] [stdout] | - borrow might be used here, when `_flock` is dropped and runs the destructor for type `Result` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 752 ~ let binding = config.cache().root().join("downloading"); [INFO] [stdout] 753 ~ let _flock = utils::flock(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/lib.rs:752:32 [INFO] [stdout] | [INFO] [stdout] 752 | let _flock = utils::flock(&config.cache().root().join("downloading")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ - temporary value is freed at the end of this statement [INFO] [stdout] | | [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] ... [INFO] [stdout] 796 | } [INFO] [stdout] | - borrow might be used here, when `_flock` is dropped and runs the destructor for type `Result` [INFO] [stdout] | [INFO] [stdout] help: consider using a `let` binding to create a longer lived value [INFO] [stdout] | [INFO] [stdout] 752 ~ let binding = config.cache().root().join("downloading"); [INFO] [stdout] 753 ~ let _flock = utils::flock(&binding); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-wasi-src` (lib test) 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] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cargo-wasi-src` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "88493fd8f8af07e640bef4d064e12fffa5e5dfa8ba0e9309da8a875aaeb0b3e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "88493fd8f8af07e640bef4d064e12fffa5e5dfa8ba0e9309da8a875aaeb0b3e3", kill_on_drop: false }` [INFO] [stdout] 88493fd8f8af07e640bef4d064e12fffa5e5dfa8ba0e9309da8a875aaeb0b3e3