[INFO] cloning repository https://github.com/ezekielathome/accelerator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ezekielathome/accelerator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fezekielathome%2Faccelerator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fezekielathome%2Faccelerator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 531de09b8a6289fabb6784fe8ec18dbc3084ff0e [INFO] testing ezekielathome/accelerator against master#9e136a30a965bf4e63f03095c57df7257bf96fd6 for pr-134530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fezekielathome%2Faccelerator" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ezekielathome/accelerator on toolchain 9e136a30a965bf4e63f03095c57df7257bf96fd6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-7-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/ezekielathome/accelerator [INFO] finished tweaking git repo https://github.com/ezekielathome/accelerator [INFO] tweaked toml for git repo https://github.com/ezekielathome/accelerator written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ezekielathome/accelerator 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" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gmod v17.0.0 [INFO] [stderr] Downloaded null_fn v0.1.1 [INFO] [stderr] Downloaded vtables_derive v0.1.0 [INFO] [stderr] Downloaded rglua-macros v0.2.0 [INFO] [stderr] Downloaded fn_has_this v0.1.1 [INFO] [stderr] Downloaded cfg_table v1.0.0 [INFO] [stderr] Downloaded syn_squash v0.1.0 [INFO] [stderr] Downloaded vtables v0.1.0 [INFO] [stderr] Downloaded fn_type_alias v0.1.0 [INFO] [stderr] Downloaded base64 v0.21.6 [INFO] [stderr] Downloaded fn_abi v2.0.1 [INFO] [stderr] Downloaded gmod-macros v2.0.1 [INFO] [stderr] Downloaded rglua v2.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6af2ae304a12ae4bbb6fc70da238d9996a85b930e229888e36dd34bf7a512b27 [INFO] running `Command { std: "docker" "start" "-a" "6af2ae304a12ae4bbb6fc70da238d9996a85b930e229888e36dd34bf7a512b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6af2ae304a12ae4bbb6fc70da238d9996a85b930e229888e36dd34bf7a512b27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6af2ae304a12ae4bbb6fc70da238d9996a85b930e229888e36dd34bf7a512b27", kill_on_drop: false }` [INFO] [stdout] 6af2ae304a12ae4bbb6fc70da238d9996a85b930e229888e36dd34bf7a512b27 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64fe9f88da1de7ddf7578d8ef2de14a87a42652c70b219dda6af4065f04e0df8 [INFO] running `Command { std: "docker" "start" "-a" "64fe9f88da1de7ddf7578d8ef2de14a87a42652c70b219dda6af4065f04e0df8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling winnow v0.5.33 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde v1.0.195 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling syn_squash v0.1.0 [INFO] [stderr] Compiling unicode-bidi v0.3.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling rustls v0.21.10 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling slice-pool2 v0.4.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling vtables v0.1.0 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mmap-fixed-fixed v0.1.3 [INFO] [stderr] Compiling region v3.0.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cstr v0.2.11 [INFO] [stderr] Compiling webpki-roots v0.25.3 [INFO] [stderr] Compiling base64 v0.21.6 [INFO] [stderr] Compiling cfg_table v1.0.0 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling ring v0.17.7 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling retour v0.3.1 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_spanned v0.6.5 [INFO] [stderr] Compiling toml_edit v0.21.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling ctor v0.2.6 [INFO] [stderr] Compiling skidscan-macros v0.1.2 [INFO] [stderr] Compiling rglua-macros v0.2.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling fn_has_this v0.1.1 [INFO] [stderr] Compiling fn_abi v2.0.1 [INFO] [stderr] Compiling gmod-macros v2.0.1 [INFO] [stderr] Compiling null_fn v0.1.1 [INFO] [stderr] Compiling vtables_derive v0.1.0 [INFO] [stderr] Compiling fn_type_alias v0.1.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling skidscan v2.0.1 [INFO] [stderr] Compiling gmod v17.0.0 [INFO] [stderr] Compiling toml v0.8.8 [INFO] [stderr] Compiling rglua v2.1.0 [INFO] [stderr] Compiling ureq v2.9.1 [INFO] [stderr] Compiling accelerator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let binding = STATE.as_ref().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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let res: i64 = GET_DOWNLOAD_QUEUE_SIZE_DETOUR.as_ref().unwrap().call(); [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 is discouraged [INFO] [stdout] --> src/detour.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let binding = STATE.as_ref().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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | return QUEUE_DOWNLOAD_DETOUR [INFO] [stdout] | ________________^ [INFO] [stdout] 88 | | .as_ref() [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 is discouraged [INFO] [stdout] --> src/detour.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | let binding = STATE.as_ref().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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | return DOWNLOAD_UPDATE_DETOUR.as_ref().unwrap().call(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | GET_DOWNLOAD_QUEUE_SIZE_DETOUR.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | QUEUE_DOWNLOAD_DETOUR.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | DOWNLOAD_UPDATE_DETOUR.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | STATE.take(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.87s [INFO] running `Command { std: "docker" "inspect" "64fe9f88da1de7ddf7578d8ef2de14a87a42652c70b219dda6af4065f04e0df8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64fe9f88da1de7ddf7578d8ef2de14a87a42652c70b219dda6af4065f04e0df8", kill_on_drop: false }` [INFO] [stdout] 64fe9f88da1de7ddf7578d8ef2de14a87a42652c70b219dda6af4065f04e0df8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cd20977d55dbc15b397a7cd9ed424a93434831db759a555bc1022e400c11844f [INFO] running `Command { std: "docker" "start" "-a" "cd20977d55dbc15b397a7cd9ed424a93434831db759a555bc1022e400c11844f", kill_on_drop: false }` [INFO] [stderr] Compiling accelerator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | let binding = STATE.as_ref().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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:47:20 [INFO] [stdout] | [INFO] [stdout] 47 | let res: i64 = GET_DOWNLOAD_QUEUE_SIZE_DETOUR.as_ref().unwrap().call(); [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 is discouraged [INFO] [stdout] --> src/detour.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | let binding = STATE.as_ref().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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | return QUEUE_DOWNLOAD_DETOUR [INFO] [stdout] | ________________^ [INFO] [stdout] 88 | | .as_ref() [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 is discouraged [INFO] [stdout] --> src/detour.rs:134:19 [INFO] [stdout] | [INFO] [stdout] 134 | let binding = STATE.as_ref().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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | return DOWNLOAD_UPDATE_DETOUR.as_ref().unwrap().call(); [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 mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | GET_DOWNLOAD_QUEUE_SIZE_DETOUR.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | QUEUE_DOWNLOAD_DETOUR.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | DOWNLOAD_UPDATE_DETOUR.take(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/detour.rs:231:5 [INFO] [stdout] | [INFO] [stdout] 231 | STATE.take(); [INFO] [stdout] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.27s [INFO] running `Command { std: "docker" "inspect" "cd20977d55dbc15b397a7cd9ed424a93434831db759a555bc1022e400c11844f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd20977d55dbc15b397a7cd9ed424a93434831db759a555bc1022e400c11844f", kill_on_drop: false }` [INFO] [stdout] cd20977d55dbc15b397a7cd9ed424a93434831db759a555bc1022e400c11844f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9e136a30a965bf4e63f03095c57df7257bf96fd6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a5fd0633ba9a77fbb386522a6895a6545231dfa73c63850c7c91069c408635a [INFO] running `Command { std: "docker" "start" "-a" "8a5fd0633ba9a77fbb386522a6895a6545231dfa73c63850c7c91069c408635a", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:45:19 [INFO] [stderr] | [INFO] [stderr] 45 | let binding = STATE.as_ref().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] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:47:20 [INFO] [stderr] | [INFO] [stderr] 47 | let res: i64 = GET_DOWNLOAD_QUEUE_SIZE_DETOUR.as_ref().unwrap().call(); [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 is discouraged [INFO] [stderr] --> src/detour.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | let binding = STATE.as_ref().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: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:87:16 [INFO] [stderr] | [INFO] [stderr] 87 | return QUEUE_DOWNLOAD_DETOUR [INFO] [stderr] | ________________^ [INFO] [stderr] 88 | | .as_ref() [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 is discouraged [INFO] [stderr] --> src/detour.rs:134:19 [INFO] [stderr] | [INFO] [stderr] 134 | let binding = STATE.as_ref().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: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:155:12 [INFO] [stderr] | [INFO] [stderr] 155 | return DOWNLOAD_UPDATE_DETOUR.as_ref().unwrap().call(); [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 mutable reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:227:5 [INFO] [stderr] | [INFO] [stderr] 227 | GET_DOWNLOAD_QUEUE_SIZE_DETOUR.take(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:228:5 [INFO] [stderr] | [INFO] [stderr] 228 | QUEUE_DOWNLOAD_DETOUR.take(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:229:5 [INFO] [stderr] | [INFO] [stderr] 229 | DOWNLOAD_UPDATE_DETOUR.take(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/detour.rs:231:5 [INFO] [stderr] | [INFO] [stderr] 231 | STATE.take(); [INFO] [stderr] | ^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stderr] [INFO] [stderr] warning: `accelerator` (lib test) generated 10 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/accelerator-31fed94855ecf91e) [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" "8a5fd0633ba9a77fbb386522a6895a6545231dfa73c63850c7c91069c408635a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a5fd0633ba9a77fbb386522a6895a6545231dfa73c63850c7c91069c408635a", kill_on_drop: false }` [INFO] [stdout] 8a5fd0633ba9a77fbb386522a6895a6545231dfa73c63850c7c91069c408635a