[INFO] cloning repository https://github.com/dupu222/rust-cross-android [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dupu222/rust-cross-android" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdupu222%2Frust-cross-android", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdupu222%2Frust-cross-android'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0939cf51c8043fbf7c0bd803eac0a94d756f4b4a [INFO] testing dupu222/rust-cross-android against 1.85.0 for beta-1.86-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdupu222%2Frust-cross-android" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dupu222/rust-cross-android on toolchain 1.85.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.85.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/dupu222/rust-cross-android [INFO] finished tweaking git repo https://github.com/dupu222/rust-cross-android [INFO] tweaked toml for git repo https://github.com/dupu222/rust-cross-android written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dupu222/rust-cross-android 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.85.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/xtask/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_ignored v0.1.3 [INFO] [stderr] Downloaded serde_yaml v0.8.25 [INFO] [stderr] Downloaded supports-color v1.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 320e2b78328c16b5b8ce16e8311d5770d16432ec4018e15d57eae2fe796b8212 [INFO] running `Command { std: "docker" "start" "-a" "320e2b78328c16b5b8ce16e8311d5770d16432ec4018e15d57eae2fe796b8212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "320e2b78328c16b5b8ce16e8311d5770d16432ec4018e15d57eae2fe796b8212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "320e2b78328c16b5b8ce16e8311d5770d16432ec4018e15d57eae2fe796b8212", kill_on_drop: false }` [INFO] [stdout] 320e2b78328c16b5b8ce16e8311d5770d16432ec4018e15d57eae2fe796b8212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] da749f22ba7d4b5929dcbe091ca7644548405398b5e4b2b0baa4de250c742565 [INFO] running `Command { std: "docker" "start" "-a" "da749f22ba7d4b5929dcbe091ca7644548405398b5e4b2b0baa4de250c742565", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/xtask/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling hashbrown v0.12.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling cross v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling nix v0.24.1 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling clap v3.2.8 [INFO] [stderr] Compiling serde_ignored v0.1.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/docker/remote.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) { [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/docker/remote.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | CONTAINER_EXISTS.store(true, Ordering::Relaxed); [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/docker/remote.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = &mut CONTAINER { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = &raw mut CONTAINER { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/docker/remote.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) } [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/errors.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() { [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/temp.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | FILES.clear(); [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/temp.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | DIRS.clear(); [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/temp.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | FILES.push(file); [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/temp.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(FILES.last_mut().expect("file list should not be empty")) [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/temp.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | FILES.pop() [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/temp.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | DIRS.push(dir); [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/temp.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(DIRS.last().expect("should not be empty").path()) [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/temp.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | DIRS.pop() [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 38.22s [INFO] running `Command { std: "docker" "inspect" "da749f22ba7d4b5929dcbe091ca7644548405398b5e4b2b0baa4de250c742565", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "da749f22ba7d4b5929dcbe091ca7644548405398b5e4b2b0baa4de250c742565", kill_on_drop: false }` [INFO] [stdout] da749f22ba7d4b5929dcbe091ca7644548405398b5e4b2b0baa4de250c742565 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36c25d65b6653b18855a5c354330dc093329092b2c89d564b122f444ad8fb105 [INFO] running `Command { std: "docker" "start" "-a" "36c25d65b6653b18855a5c354330dc093329092b2c89d564b122f444ad8fb105", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/xtask/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling globset v0.4.9 [INFO] [stderr] Compiling ignore v0.4.18 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling color-eyre v0.6.2 [INFO] [stderr] Compiling cross v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `cross_sandboxed` [INFO] [stdout] --> src/docker/shared.rs:1132:20 [INFO] [stdout] | [INFO] [stdout] 1132 | #[cfg_attr(cross_sandboxed, ignore)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cross_sandboxed)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cross_sandboxed)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/docker/remote.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) { [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/docker/remote.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | CONTAINER_EXISTS.store(true, Ordering::Relaxed); [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/docker/remote.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = &mut CONTAINER { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = &raw mut CONTAINER { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/docker/remote.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) } [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/errors.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() { [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/temp.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | FILES.clear(); [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/temp.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | DIRS.clear(); [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/temp.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | FILES.push(file); [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/temp.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(FILES.last_mut().expect("file list should not be empty")) [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/temp.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | FILES.pop() [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/temp.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | DIRS.push(dir); [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/temp.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(DIRS.last().expect("should not be empty").path()) [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/temp.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | DIRS.pop() [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/docker/remote.rs:46:16 [INFO] [stdout] | [INFO] [stdout] 46 | if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) { [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/docker/remote.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | CONTAINER_EXISTS.store(true, Ordering::Relaxed); [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/docker/remote.rs:137:34 [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = &mut CONTAINER { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 137 | if let Some(container) = &raw mut CONTAINER { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/docker/remote.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) } [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/errors.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() { [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/temp.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:22:36 [INFO] [stdout] | [INFO] [stdout] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | FILES.clear(); [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/temp.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | DIRS.clear(); [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/temp.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | FILES.push(file); [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/temp.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | Ok(FILES.last_mut().expect("file list should not be empty")) [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/temp.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | FILES.pop() [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/temp.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 90 | DIRS.push(dir); [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 shared reference to mutable static is discouraged [INFO] [stdout] --> src/temp.rs:91:8 [INFO] [stdout] | [INFO] [stdout] 91 | Ok(DIRS.last().expect("should not be empty").path()) [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/temp.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | DIRS.pop() [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 21.87s [INFO] running `Command { std: "docker" "inspect" "36c25d65b6653b18855a5c354330dc093329092b2c89d564b122f444ad8fb105", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36c25d65b6653b18855a5c354330dc093329092b2c89d564b122f444ad8fb105", kill_on_drop: false }` [INFO] [stdout] 36c25d65b6653b18855a5c354330dc093329092b2c89d564b122f444ad8fb105 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+1.85.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 339dc79a9b434e99092bbadd7158fb3260ad19da6bc12aafd31bbbe972819e6d [INFO] running `Command { std: "docker" "start" "-a" "339dc79a9b434e99092bbadd7158fb3260ad19da6bc12aafd31bbbe972819e6d", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] warning: /opt/rustwide/workdir/xtask/Cargo.toml: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/docker/remote.rs:46:16 [INFO] [stderr] | [INFO] [stderr] 46 | if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) { [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/docker/remote.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | CONTAINER_EXISTS.store(true, Ordering::Relaxed); [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/docker/remote.rs:137:34 [INFO] [stderr] | [INFO] [stderr] 137 | if let Some(container) = &mut CONTAINER { [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] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 137 | if let Some(container) = &raw mut CONTAINER { [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static is discouraged [INFO] [stderr] --> src/docker/remote.rs:154:14 [INFO] [stderr] | [INFO] [stderr] 154 | unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) } [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/errors.rs:27:9 [INFO] [stderr] | [INFO] [stderr] 27 | if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() { [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/temp.rs:22:15 [INFO] [stderr] | [INFO] [stderr] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:22:36 [INFO] [stderr] | [INFO] [stderr] 22 | unsafe { !FILES.is_empty() || !DIRS.is_empty() } [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/temp.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | FILES.clear(); [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/temp.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | DIRS.clear(); [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/temp.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | FILES.push(file); [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/temp.rs:42:8 [INFO] [stderr] | [INFO] [stderr] 42 | Ok(FILES.last_mut().expect("file list should not be empty")) [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/temp.rs:48:5 [INFO] [stderr] | [INFO] [stderr] 48 | FILES.pop() [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/temp.rs:90:5 [INFO] [stderr] | [INFO] [stderr] 90 | DIRS.push(dir); [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 shared reference to mutable static is discouraged [INFO] [stderr] --> src/temp.rs:91:8 [INFO] [stderr] | [INFO] [stderr] 91 | Ok(DIRS.last().expect("should not be empty").path()) [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/temp.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 97 | DIRS.pop() [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: unexpected `cfg` condition name: `cross_sandboxed` [INFO] [stderr] --> src/docker/shared.rs:1132:20 [INFO] [stderr] | [INFO] [stderr] 1132 | #[cfg_attr(cross_sandboxed, ignore)] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(cross_sandboxed)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(cross_sandboxed)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `cross` (lib) generated 15 warnings [INFO] [stderr] warning: `cross` (lib test) generated 16 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cross-e531a00ea689d14e) [INFO] [stdout] [INFO] [stdout] running 46 tests [INFO] [stdout] test config::tests::test_config::env_and_toml_build_xargo_then_use_env ... ok [INFO] [stdout] test config::tests::test_config::env_and_toml_default_target_then_use_env ... ok [INFO] [stdout] test config::tests::test_config::env_target_and_toml_build_pre_build_then_use_env ... ok [INFO] [stdout] test cli::tests::is_verbose_test ... ok [INFO] [stdout] test config::tests::test_environment::target_build_var_name ... ok [INFO] [stdout] test cross_toml::tests::parse_build_toml ... ok [INFO] [stdout] test config::tests::test_config::env_target_then_toml_target_then_env_build_then_toml_build ... ok [INFO] [stdout] test config::tests::test_config::no_env_and_no_toml_default_target_then_none ... ok [INFO] [stdout] test config::tests::test_config::no_env_but_toml_default_target_then_use_toml ... ok [INFO] [stdout] test config::tests::test_config::toml_build_passthrough ... ok [INFO] [stdout] test config::tests::test_config::env_target_and_toml_target_xargo_target_then_use_env ... ok [INFO] [stdout] test config::tests::test_config::toml_build_passthrough_then_use_target_passthrough_both ... ok [INFO] [stdout] test config::tests::test_config::toml_target_passthrough ... ok [INFO] [stdout] test config::tests::test_config::volumes_use_env_over_toml ... ok [INFO] [stdout] test config::tests::test_config::volumes_use_toml_when_no_env ... ok [INFO] [stdout] test config::tests::test_environment::build_and_target_set_returns_tuple ... ok [INFO] [stdout] test config::tests::test_environment::collect_passthrough ... ok [INFO] [stdout] test config::tests::test_environment::parse_error_in_env ... ok [INFO] [stdout] test config::tests::test_config::env_target_and_toml_build_xargo_then_use_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_empty_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_target_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_from_empty_cargo_toml ... ok [INFO] [stdout] test cross_toml::tests::pre_build_script ... ok [INFO] [stdout] test cross_toml::tests::parse_from_cargo_toml ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_adjust_multiple_paths ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_default_finder_returns_original ... ok [INFO] [stdout] test docker::custom::tests::docker_tag_name_test ... ok [INFO] [stdout] test docker::shared::tests::test_docker_userns ... ok [INFO] [stdout] test file::tests::as_posix_relative ... ok [INFO] [stdout] test docker::image::tests::os_from_target ... ok [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_missing_user_moutns ... ok [INFO] [stderr] [cross] warning: using older rustc `1.0.0 (11111111 2022-01-01)` for the target. Current active rustc on the host is `rustc 1.2.0 (22222222 2022-02-02)`. [INFO] [stdout] test rustc::tests::hash_from_rustc ... ok [INFO] [stderr] > Update with `rustup update --force-non-host xxxx-x86_64-unknown-linux-gnu` [INFO] [stdout] test cross_toml::tests::parse_mixed_toml ... ok [INFO] [stderr] [cross] warning: using newer rustc `1.2.0 (22222222 2022-02-02)` for the target. Current active rustc on the host is `rustc 1.0.0 (11111111 2022-01-01)`. [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_empty_user_mounts ... ok [INFO] [stderr] > Update with `rustup update` [INFO] [stdout] test docker::shared::tests::mount_finder::test_longest_destination_path_wins ... ok [INFO] [stderr] [cross] warning: using rustc `1.0.0-nightly (22222222 2022-01-01)` for the target. Current active rustc on the host is `rustc 1.0.0-nightly (11111111 2022-01-01)`. [INFO] [stdout] test file::tests::pretty_path_linux ... ok [INFO] [stderr] [cross] warning: using older rustc `1.0.0-nightly (11111111 2022-01-01)` for the target. Current active rustc on the host is `rustc 1.0.0-nightly (22222222 2022-02-02)`. [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_container_root ... ok [INFO] [stderr] > Update with `rustup update --force-non-host xxxx-x86_64-unknown-linux-gnu` [INFO] [stderr] [cross] warning: using newer rustc `1.0.0-nightly (22222222 2022-02-02)` for the target. Current active rustc on the host is `rustc 1.0.0-nightly (11111111 2022-01-01)`. [INFO] [stderr] > Update with `rustup update` [INFO] [stdout] test docker::image::tests::architecture_from_target ... ok [INFO] [stdout] test docker::shared::tests::test_docker_user_id ... ok [INFO] [stdout] test tests::target_mismatch ... ok [INFO] [stdout] test rustc::tests::bisect ... ok [INFO] [stdout] test tests::check_newlines ... ok [INFO] [stdout] test tests::toml::toml_check ... ok [INFO] [stdout] test docker::shared::tests::directories::test_docker_in_docker ... ok [INFO] [stdout] test docker::shared::tests::directories::test_host ... ok [INFO] [stdout] test cross_toml::tests::merge ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 46 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.91s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/cross.rs (/opt/rustwide/target/debug/deps/cross-d4590369cfb8d854) [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/cross-util.rs (/opt/rustwide/target/debug/deps/cross_util-27841528bf240284) [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] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test commands::images::tests::parse_rustembedded_target ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cross [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" "339dc79a9b434e99092bbadd7158fb3260ad19da6bc12aafd31bbbe972819e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "339dc79a9b434e99092bbadd7158fb3260ad19da6bc12aafd31bbbe972819e6d", kill_on_drop: false }` [INFO] [stdout] 339dc79a9b434e99092bbadd7158fb3260ad19da6bc12aafd31bbbe972819e6d