[INFO] fetching crate genkit 0.3.1... [INFO] checking genkit-0.3.1 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] extracting crate genkit 0.3.1 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate genkit 0.3.1 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 genkit 0.3.1 [INFO] finished tweaking crates.io crate genkit 0.3.1 [INFO] tweaked toml for crates.io crate genkit 0.3.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate crates.io crate genkit 0.3.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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d449068a3efcd1edf1717ef500528e61c98142dbd668fdc9294df8a0673251b6 [INFO] running `Command { std: "docker" "start" "-a" "d449068a3efcd1edf1717ef500528e61c98142dbd668fdc9294df8a0673251b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d449068a3efcd1edf1717ef500528e61c98142dbd668fdc9294df8a0673251b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d449068a3efcd1edf1717ef500528e61c98142dbd668fdc9294df8a0673251b6", kill_on_drop: false }` [INFO] [stdout] d449068a3efcd1edf1717ef500528e61c98142dbd668fdc9294df8a0673251b6 [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a7701e199da6449db4826b25687115803bed2a7793022f97784569195fe8962 [INFO] running `Command { std: "docker" "start" "-a" "2a7701e199da6449db4826b25687115803bed2a7793022f97784569195fe8962", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling unicode-ident v1.0.9 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Compiling serde v1.0.164 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking smallvec v1.10.0 [INFO] [stderr] Compiling backtrace v0.3.67 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking object v0.30.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking itoa v1.0.6 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling tokio v1.28.2 [INFO] [stderr] Compiling parking_lot_core v0.9.8 [INFO] [stderr] Checking miniz_oxide v0.6.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking petgraph v0.6.3 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking lock_api v0.4.10 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking phf v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.22 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking walkdir v2.3.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking nibble_vec v0.1.0 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking regex-syntax v0.7.2 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Checking time-core v0.1.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking equivalent v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.99 [INFO] [stderr] Checking endian-type v0.1.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking radix_trie v0.2.1 [INFO] [stderr] Checking line-wrap v0.1.1 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking quick-xml v0.28.2 [INFO] [stderr] Compiling pulldown-cmark v0.9.3 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking thread-id v4.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking addr2line v0.19.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking inotify-sys v0.1.5 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking filetime v0.2.21 [INFO] [stderr] Checking inotify v0.9.6 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.68 [INFO] [stderr] Checking winnow v0.4.7 [INFO] [stderr] Checking cpufeatures v0.2.8 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking ryu v1.0.13 [INFO] [stderr] Compiling phf_generator v0.10.0 [INFO] [stderr] Checking unicode-segmentation v1.10.1 [INFO] [stderr] Compiling anyhow v1.0.71 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling phf_codegen v0.10.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking notify v6.0.1 [INFO] [stderr] Checking bstr v1.5.0 [INFO] [stderr] Checking sha1 v0.10.5 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking either v1.8.1 [INFO] [stderr] Checking unicode-blocks v0.1.6 [INFO] [stderr] Checking futures-io v0.3.28 [INFO] [stderr] Checking http-range-header v0.3.0 [INFO] [stderr] Checking bitflags v2.3.2 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Compiling markup5ever v0.11.0 [INFO] [stderr] Checking words-count v0.1.5 [INFO] [stderr] Checking futures v0.3.28 [INFO] [stderr] Checking regex v1.8.4 [INFO] [stderr] Checking notify-debouncer-mini v0.3.0 [INFO] [stderr] Checking dyn-clone v1.0.11 [INFO] [stderr] Checking opener v0.6.1 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking is-terminal v0.4.7 [INFO] [stderr] Checking fd-lock v3.0.12 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking clap_builder v4.3.8 [INFO] [stderr] Checking fancy-regex v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.164 [INFO] [stderr] Compiling tokio-macros v2.1.0 [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] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling test-case-core v3.1.0 [INFO] [stderr] Checking rustyline v9.1.2 [INFO] [stderr] Compiling html5ever v0.26.0 [INFO] [stderr] Compiling test-case-macros v3.1.0 [INFO] [stderr] Checking pin-project v1.1.0 [INFO] [stderr] Checking thiserror v1.0.40 [INFO] [stderr] Checking clap v4.3.8 [INFO] [stderr] Checking test-case v3.1.0 [INFO] [stderr] Checking promptly v0.3.1 [INFO] [stderr] Checking hyper v0.14.26 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tower-http v0.4.1 [INFO] [stderr] Checking string_cache v0.8.7 [INFO] [stderr] Checking time v0.3.22 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking minijinja v1.0.3 [INFO] [stderr] Checking dashmap v5.4.0 [INFO] [stderr] Checking toml_edit v0.19.11 [INFO] [stderr] Checking xml5ever v0.17.0 [INFO] [stderr] Checking toml v0.7.5 [INFO] [stderr] Checking markup5ever_rcdom v0.2.0 [INFO] [stderr] Checking plist v1.4.3 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking fastwebsockets v0.4.2 [INFO] [stderr] Checking syntect v5.0.0 [INFO] [stderr] Checking genkit v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/data.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 214 | let url = url.to_owned(); [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 218 | match helpers::fetch_url(&url).await { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | borrow of `url` occurs here [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 227 | list.insert(url, info.clone()); [INFO] [stdout] | ^^^ move out of `url` occurs here [INFO] [stdout] ... [INFO] [stdout] 233 | }); [INFO] [stdout] | - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 218 ~ let x = match helpers::fetch_url(&url).await { [INFO] [stdout] 219 | Ok(html) => { [INFO] [stdout] ... [INFO] [stdout] 231 | Err(err) => tx.send(Some(PreviewEvent::Failed(err.to_string()))), [INFO] [stdout] 232 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `url` because it is borrowed [INFO] [stdout] --> src/data.rs:227:37 [INFO] [stdout] | [INFO] [stdout] 214 | let url = url.to_owned(); [INFO] [stdout] | --- binding `url` declared here [INFO] [stdout] ... [INFO] [stdout] 218 | match helpers::fetch_url(&url).await { [INFO] [stdout] | ------------------------------ [INFO] [stdout] | | | [INFO] [stdout] | | borrow of `url` occurs here [INFO] [stdout] | a temporary with access to the borrow is created here ... [INFO] [stdout] ... [INFO] [stdout] 227 | list.insert(url, info.clone()); [INFO] [stdout] | ^^^ move out of `url` occurs here [INFO] [stdout] ... [INFO] [stdout] 233 | }); [INFO] [stdout] | - ... and the borrow might be used here, when that temporary is dropped and runs the destructor for type `std::result::Result` [INFO] [stdout] | [INFO] [stdout] = note: the temporary is part of an expression at the end of a block; [INFO] [stdout] consider forcing this temporary to be dropped sooner, before the block's local variables are dropped [INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block [INFO] [stdout] | [INFO] [stdout] 218 ~ let x = match helpers::fetch_url(&url).await { [INFO] [stdout] 219 | Ok(html) => { [INFO] [stdout] ... [INFO] [stdout] 231 | Err(err) => tx.send(Some(PreviewEvent::Failed(err.to_string()))), [INFO] [stdout] 232 ~ }; x [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genkit` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0505`. [INFO] [stdout] [INFO] [stderr] error: could not compile `genkit` (lib test) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "2a7701e199da6449db4826b25687115803bed2a7793022f97784569195fe8962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7701e199da6449db4826b25687115803bed2a7793022f97784569195fe8962", kill_on_drop: false }` [INFO] [stdout] 2a7701e199da6449db4826b25687115803bed2a7793022f97784569195fe8962