[INFO] fetching crate web_proxy 0.1.0... [INFO] testing web_proxy-0.1.0 against 1.91.0 for beta-1.92-2 [INFO] extracting crate web_proxy 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate web_proxy 0.1.0 [INFO] finished tweaking crates.io crate web_proxy 0.1.0 [INFO] tweaked toml for crates.io crate web_proxy 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate web_proxy 0.1.0 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate web_proxy 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded http-body v1.0.0-rc.2 [INFO] [stderr] Downloaded http-body-util v0.1.0-rc.2 [INFO] [stderr] Downloaded clap v4.2.4 [INFO] [stderr] Downloaded clap_builder v4.2.4 [INFO] [stderr] Downloaded hyper v1.0.0-rc.3 [INFO] [stderr] Downloaded rustix v0.37.13 [INFO] [stderr] Downloaded libc v0.2.141 [INFO] [stderr] Downloaded linux-raw-sys v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f2f26c891092762a36b4fd68a1b1b90d320ee3630f35dd3048dd9f7fd742363 [INFO] running `Command { std: "docker" "start" "-a" "5f2f26c891092762a36b4fd68a1b1b90d320ee3630f35dd3048dd9f7fd742363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f2f26c891092762a36b4fd68a1b1b90d320ee3630f35dd3048dd9f7fd742363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f2f26c891092762a36b4fd68a1b1b90d320ee3630f35dd3048dd9f7fd742363", kill_on_drop: false }` [INFO] [stdout] 5f2f26c891092762a36b4fd68a1b1b90d320ee3630f35dd3048dd9f7fd742363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7a991ae48b51a98b5ae9a829d86989dfafe8df88e10d15a6cdba356cf13f5940 [INFO] running `Command { std: "docker" "start" "-a" "7a991ae48b51a98b5ae9a829d86989dfafe8df88e10d15a6cdba356cf13f5940", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling proc-macro2 v1.0.56 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling quote v1.0.26 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling bytes v1.4.0 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.7 [INFO] [stderr] Compiling rustix v0.37.13 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling tokio v1.27.0 [INFO] [stderr] Compiling linux-raw-sys v0.3.3 [INFO] [stderr] Compiling itoa v1.0.6 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.8 [INFO] [stderr] Compiling tracing-core v0.1.30 [INFO] [stderr] Compiling anstyle-parse v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling futures-sink v0.3.28 [INFO] [stderr] Compiling anstyle v1.0.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling clap_lex v0.4.1 [INFO] [stderr] Compiling percent-encoding v2.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.1.0 [INFO] [stderr] Compiling tracing v0.1.37 [INFO] [stderr] Compiling idna v0.3.0 [INFO] [stderr] Compiling syn v2.0.15 [INFO] [stderr] Compiling http-body v1.0.0-rc.2 [INFO] [stderr] Compiling url v2.3.1 [INFO] [stderr] Compiling mio v0.8.6 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.1 [INFO] [stderr] Compiling socket2 v0.4.9 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http-body-util v0.1.0-rc.2 [INFO] [stderr] Compiling is-terminal v0.4.7 [INFO] [stderr] Compiling anstream v0.3.0 [INFO] [stderr] Compiling clap_builder v4.2.4 [INFO] [stderr] Compiling tokio-macros v2.0.0 [INFO] [stderr] Compiling clap v4.2.4 [INFO] [stderr] Compiling tokio-util v0.7.7 [INFO] [stderr] Compiling h2 v0.3.18 [INFO] [stderr] Compiling hyper v1.0.0-rc.3 [INFO] [stderr] Compiling web_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | println!("代理地址--- {:#?}",unsafe {HOST_ADDR.as_str()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(static_mut_refs)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | println!("目标地址--- {:#?}",unsafe {TARGET_ADDR.as_str()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | HOST_ADDR.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | .header("Access-Control-Allow-Headers", unsafe { ALLOW_HEADER.as_str() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | TARGET_ADDR.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:118:126 [INFO] [stdout] | [INFO] [stdout] 118 | ...wrap(), HeaderValue::from_str(unsafe { ALLOW_HEADER.as_str() }).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.54s [INFO] running `Command { std: "docker" "inspect" "7a991ae48b51a98b5ae9a829d86989dfafe8df88e10d15a6cdba356cf13f5940", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a991ae48b51a98b5ae9a829d86989dfafe8df88e10d15a6cdba356cf13f5940", kill_on_drop: false }` [INFO] [stdout] 7a991ae48b51a98b5ae9a829d86989dfafe8df88e10d15a6cdba356cf13f5940 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d414fe062ad8cfe3269000cb257026b8fac39b07cafd87dc002e4e8c1eb26c32 [INFO] running `Command { std: "docker" "start" "-a" "d414fe062ad8cfe3269000cb257026b8fac39b07cafd87dc002e4e8c1eb26c32", kill_on_drop: false }` [INFO] [stderr] Compiling web_proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | println!("代理地址--- {:#?}",unsafe {HOST_ADDR.as_str()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/main.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(static_mut_refs)]` implied by `#[warn(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:43:39 [INFO] [stdout] | [INFO] [stdout] 43 | println!("目标地址--- {:#?}",unsafe {TARGET_ADDR.as_str()}); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | HOST_ADDR.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:80:62 [INFO] [stdout] | [INFO] [stdout] 80 | .header("Access-Control-Allow-Headers", unsafe { ALLOW_HEADER.as_str() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:88:13 [INFO] [stdout] | [INFO] [stdout] 88 | TARGET_ADDR.as_str() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:118:126 [INFO] [stdout] | [INFO] [stdout] 118 | ...wrap(), HeaderValue::from_str(unsafe { ALLOW_HEADER.as_str() }).unwrap()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "d414fe062ad8cfe3269000cb257026b8fac39b07cafd87dc002e4e8c1eb26c32", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d414fe062ad8cfe3269000cb257026b8fac39b07cafd87dc002e4e8c1eb26c32", kill_on_drop: false }` [INFO] [stdout] d414fe062ad8cfe3269000cb257026b8fac39b07cafd87dc002e4e8c1eb26c32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f64c557097d12426c86fd2c3f8e24f241d24b96188b2dfdde382943f174761b4 [INFO] running `Command { std: "docker" "start" "-a" "f64c557097d12426c86fd2c3f8e24f241d24b96188b2dfdde382943f174761b4", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:42:39 [INFO] [stderr] | [INFO] [stderr] 42 | println!("代理地址--- {:#?}",unsafe {HOST_ADDR.as_str()}); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/main.rs:1:9 [INFO] [stderr] | [INFO] [stderr] 1 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[warn(static_mut_refs)]` implied by `#[warn(warnings)]` [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:43:39 [INFO] [stderr] | [INFO] [stderr] 43 | println!("目标地址--- {:#?}",unsafe {TARGET_ADDR.as_str()}); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:48:9 [INFO] [stderr] | [INFO] [stderr] 48 | HOST_ADDR.as_str() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:80:62 [INFO] [stderr] | [INFO] [stderr] 80 | .header("Access-Control-Allow-Headers", unsafe { ALLOW_HEADER.as_str() }) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:88:13 [INFO] [stderr] | [INFO] [stderr] 88 | TARGET_ADDR.as_str() [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:118:126 [INFO] [stderr] | [INFO] [stderr] 118 | ...wrap(), HeaderValue::from_str(unsafe { ALLOW_HEADER.as_str() }).unwrap()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `web_proxy` (bin "web_proxy" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/web_proxy-8eeb4ebebfa031d2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f64c557097d12426c86fd2c3f8e24f241d24b96188b2dfdde382943f174761b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f64c557097d12426c86fd2c3f8e24f241d24b96188b2dfdde382943f174761b4", kill_on_drop: false }` [INFO] [stdout] f64c557097d12426c86fd2c3f8e24f241d24b96188b2dfdde382943f174761b4