[INFO] cloning repository https://github.com/lloitre/aggr-block [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lloitre/aggr-block" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flloitre%2Faggr-block", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flloitre%2Faggr-block'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6005371f1ab048cd0e42debd99b3d0437733e088 [INFO] building lloitre/aggr-block against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flloitre%2Faggr-block" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lloitre/aggr-block [INFO] finished tweaking git repo https://github.com/lloitre/aggr-block [INFO] tweaked toml for git repo https://github.com/lloitre/aggr-block written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lloitre/aggr-block on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lloitre/aggr-block 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cccea8e548bf6524765a5bf03a1da8d596081d7b2ba68b5b93f5ce0e519e16f5 [INFO] running `Command { std: "docker" "start" "-a" "cccea8e548bf6524765a5bf03a1da8d596081d7b2ba68b5b93f5ce0e519e16f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cccea8e548bf6524765a5bf03a1da8d596081d7b2ba68b5b93f5ce0e519e16f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cccea8e548bf6524765a5bf03a1da8d596081d7b2ba68b5b93f5ce0e519e16f5", kill_on_drop: false }` [INFO] [stdout] cccea8e548bf6524765a5bf03a1da8d596081d7b2ba68b5b93f5ce0e519e16f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6820dcbc843672050845657888f3f0afe44fbfe7af688818d4ca64b08a637d6e [INFO] running `Command { std: "docker" "start" "-a" "6820dcbc843672050845657888f3f0afe44fbfe7af688818d4ca64b08a637d6e", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.16 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustls v0.20.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling socket2 v0.5.8 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling quote v1.0.39 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling time v0.3.39 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rustls-native-certs v0.6.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling pem v1.1.1 [INFO] [stderr] Compiling syn v2.0.99 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling yasna v0.5.2 [INFO] [stderr] Compiling ring v0.17.12 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling rcgen v0.9.3 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling webpki v0.22.4 [INFO] [stderr] Compiling tokio-rustls v0.23.4 [INFO] [stderr] Compiling hyper-rustls v0.23.2 [INFO] [stderr] Compiling aggressive_adblock v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::Server` [INFO] [stdout] --> src/proxy.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use hyper::{Body, Client, Request, Response, Server, Method}; [INFO] [stdout] | ^^^^^^ no `Server` in the root [INFO] [stdout] | [INFO] [stdout] = help: consider importing this variant instead: [INFO] [stdout] rustls::Connection::Server [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/hyper-0.14.32/src/lib.rs:111:28 [INFO] [stdout] | [INFO] [stdout] 107 | #![feature = "server"] [INFO] [stdout] | ------------------ the item is gated behind the `server` feature [INFO] [stdout] ... [INFO] [stdout] 111 | pub use crate::server::Server; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `regex::Regex` [INFO] [stdout] --> src/youtube.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use regex::Regex; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0373]: async block may outlive the current function, but it borrows `cfg.blocklist_paths`, which is owned by the current function [INFO] [stdout] --> src/main.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | tokio::spawn(async { [INFO] [stdout] | ^^^^^ may outlive borrowed value `cfg.blocklist_paths` [INFO] [stdout] ... [INFO] [stdout] 22 | adblocker::filters::load_rules(&cfg.blocklist_paths); [INFO] [stdout] | ------------------- `cfg.blocklist_paths` is borrowed here [INFO] [stdout] | [INFO] [stdout] = note: async blocks are not executed immediately and must either take a reference or ownership of outside variables they use [INFO] [stdout] help: to force the async block to take ownership of `cfg.blocklist_paths` (and any other referenced variables), use the `move` keyword [INFO] [stdout] | [INFO] [stdout] 19 | tokio::spawn(async move { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0505]: cannot move out of `cfg` because it is borrowed [INFO] [stdout] --> src/main.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 19 | tokio::spawn(async { [INFO] [stdout] | - ----- borrow of `cfg.blocklist_paths` occurs here [INFO] [stdout] | _____| [INFO] [stdout] | | [INFO] [stdout] 20 | | loop { [INFO] [stdout] 21 | | println!("Updating blocklists..."); [INFO] [stdout] 22 | | adblocker::filters::load_rules(&cfg.blocklist_paths); [INFO] [stdout] | | ------------------- borrow occurs due to use in coroutine [INFO] [stdout] ... | [INFO] [stdout] 25 | | }); [INFO] [stdout] | |______- argument requires that `cfg.blocklist_paths` is borrowed for `'static` [INFO] [stdout] ... [INFO] [stdout] 28 | proxy::start_proxy(cfg).await?; [INFO] [stdout] | ^^^ move out of `cfg` occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0373, E0432, E0505. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0373`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aggressive_adblock` (bin "aggressive_adblock") due to 3 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6820dcbc843672050845657888f3f0afe44fbfe7af688818d4ca64b08a637d6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6820dcbc843672050845657888f3f0afe44fbfe7af688818d4ca64b08a637d6e", kill_on_drop: false }` [INFO] [stdout] 6820dcbc843672050845657888f3f0afe44fbfe7af688818d4ca64b08a637d6e