[INFO] fetching crate dev-tunnels 0.1.0...
[INFO] checking dev-tunnels-0.1.0 against e977a0b5ab976a591981e7263bd67a71a4f79308 for pr-158914
[INFO] extracting crate dev-tunnels 0.1.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate dev-tunnels 0.1.0
[INFO] finished tweaking crates.io crate dev-tunnels 0.1.0
[INFO] tweaked toml for crates.io crate dev-tunnels 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate dev-tunnels 0.1.0 on toolchain e977a0b5ab976a591981e7263bd67a71a4f79308
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate dev-tunnels 0.1.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" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:1fa6594d87c8fa7b311925a7a77a16f539833322d9dfba4ce891f211db2f90b1" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9
[INFO] running `Command { std: "docker" "start" "fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9" "/opt/rustwide/cargo-home/bin/cargo" "+e977a0b5ab976a591981e7263bd67a71a4f79308" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.67
[INFO] [stderr]    Compiling unicode-ident v1.0.0
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]    Compiling syn v1.0.96
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]     Checking once_cell v1.13.1
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking bytes v1.1.0
[INFO] [stderr]    Compiling tokio v1.20.4
[INFO] [stderr]     Checking itoa v1.0.2
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]     Checking tracing-core v0.1.27
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling serde v1.0.137
[INFO] [stderr]    Compiling openssl v0.10.76
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking hashbrown v0.14.3
[INFO] [stderr]     Checking matches v0.1.9
[INFO] [stderr]     Checking tinyvec_macros v0.1.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking futures-sink v0.3.28
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]     Checking bitflags v2.4.1
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]     Checking tinyvec v1.6.0
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]     Checking percent-encoding v2.1.0
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking openssl-probe v0.1.5
[INFO] [stderr]     Checking slab v0.4.6
[INFO] [stderr]     Checking tracing v0.1.35
[INFO] [stderr]     Checking form_urlencoded v1.0.1
[INFO] [stderr]     Checking http v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking httpdate v1.0.2
[INFO] [stderr]    Compiling quote v1.0.33
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]     Checking unicode-bidi v0.3.8
[INFO] [stderr]     Checking tower-service v0.3.1
[INFO] [stderr]    Compiling serde_json v1.0.81
[INFO] [stderr]     Checking ryu v1.0.10
[INFO] [stderr]    Compiling async-trait v0.1.56
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling syn v2.0.37
[INFO] [stderr]     Checking mime v0.3.16
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking ipnet v2.5.0
[INFO] [stderr]     Checking base64 v0.13.0
[INFO] [stderr]     Checking aho-corasick v0.7.20
[INFO] [stderr]     Checking mio v0.8.11
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking unicode-normalization v0.1.19
[INFO] [stderr]     Checking http-body v0.4.5
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling openssl-sys v0.9.112
[INFO] [stderr]     Checking getrandom v0.2.7
[INFO] [stderr]     Checking indexmap v2.1.0
[INFO] [stderr]     Checking os_info v3.7.0
[INFO] [stderr]     Checking regex-syntax v0.6.28
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]     Checking regex v1.7.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking tokio-util v0.7.3
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking hyper v0.14.19
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.11
[INFO] [stderr]     Checking dev-tunnels v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0492]: interior mutable shared borrows of temporaries that have their lifetime extended until the end of the program are not allowed
[INFO] [stdout]   --> src/management/tunnel_request_options.rs:55:55
[INFO] [stdout]    |
[INFO] [stdout] 55 |   pub const NO_REQUEST_OPTIONS: &TunnelRequestOptions = &TunnelRequestOptions {
[INFO] [stdout]    |  _______________________________________________________^
[INFO] [stdout] 56 | |     authorization: None,
[INFO] [stdout] 57 | |     headers: Vec::new(),
[INFO] [stdout] 58 | |     include_ports: false,
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |     limit: 0,
[INFO] [stdout] 65 | | };
[INFO] [stdout]    | |_^ this borrow of an interior mutable value refers to such a temporary
[INFO] [stdout]    |
[INFO] [stdout]    = note: temporaries in constants and statics can have their lifetime extended until the end of the program
[INFO] [stdout]    = note: to avoid accidentally creating global mutable state, such temporaries must be immutable
[INFO] [stdout]    = help: if you really want global mutable state, try replacing the temporary by an interior mutable `static` or a `static mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0492]: interior mutable shared borrows of temporaries that have their lifetime extended until the end of the program are not allowed
[INFO] [stdout]   --> src/management/tunnel_request_options.rs:55:55
[INFO] [stdout]    |
[INFO] [stdout] 55 |   pub const NO_REQUEST_OPTIONS: &TunnelRequestOptions = &TunnelRequestOptions {
[INFO] [stdout]    |  _______________________________________________________^
[INFO] [stdout] 56 | |     authorization: None,
[INFO] [stdout] 57 | |     headers: Vec::new(),
[INFO] [stdout] 58 | |     include_ports: false,
[INFO] [stdout] ...  |
[INFO] [stdout] 64 | |     limit: 0,
[INFO] [stdout] 65 | | };
[INFO] [stdout]    | |_^ this borrow of an interior mutable value refers to such a temporary
[INFO] [stdout]    |
[INFO] [stdout]    = note: temporaries in constants and statics can have their lifetime extended until the end of the program
[INFO] [stdout]    = note: to avoid accidentally creating global mutable state, such temporaries must be immutable
[INFO] [stdout]    = help: if you really want global mutable state, try replacing the temporary by an interior mutable `static` or a `static mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0492`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dev-tunnels` (lib) due to 1 previous error
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/management/http_client.rs:854:13
[INFO] [stdout]     |
[INFO] [stdout] 854 |         let mut builder = super::new_tunnel_management_for_custom_domain(
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0492`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dev-tunnels` (lib test) due to 1 previous error; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9", kill_on_drop: false }`
[INFO] [stdout] fcf2161294b442a71d3043cabd207c2156caa5996be29a13048dad487d1a7de9
