[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] checking dupu222/rust-cross-android against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdupu222%2Frust-cross-android" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dupu222/rust-cross-android on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-0-tc2/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] warning: /workspace/builds/worker-0-tc2/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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eccb8bcf9e7e93ef787c85161180ca7c258f188bed83d3ed05f2f1fcbbf9b16e [INFO] running `Command { std: "docker" "start" "-a" "eccb8bcf9e7e93ef787c85161180ca7c258f188bed83d3ed05f2f1fcbbf9b16e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eccb8bcf9e7e93ef787c85161180ca7c258f188bed83d3ed05f2f1fcbbf9b16e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eccb8bcf9e7e93ef787c85161180ca7c258f188bed83d3ed05f2f1fcbbf9b16e", kill_on_drop: false }` [INFO] [stdout] eccb8bcf9e7e93ef787c85161180ca7c258f188bed83d3ed05f2f1fcbbf9b16e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e96dac82e962beead6d4dc261812a2382abff26b55684bb64561ae23cfd9302 [INFO] running `Command { std: "docker" "start" "-a" "5e96dac82e962beead6d4dc261812a2382abff26b55684bb64561ae23cfd9302", 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 libc v0.2.126 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Checking sharded-slab v0.1.4 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking thread_local v1.1.4 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Compiling cross v0.2.4 (/opt/rustwide/workdir) [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking const-sha1 v0.2.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-subscriber v0.3.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking supports-color v1.3.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking globset v0.4.9 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking ignore v0.4.18 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Checking serde_ignored v0.1.3 [INFO] [stderr] Checking serde_yaml v0.8.25 [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: `docsrs`, `feature`, and `test` and 31 more [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: value assigned to `stderr` is never read [INFO] [stdout] --> src/errors.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | stderr: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stdout` is never read [INFO] [stdout] --> src/errors.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | stdout: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | source: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:247:53 [INFO] [stdout] | [INFO] [stdout] 247 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 248 | | Ok(s.into()) [INFO] [stdout] 249 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | Ok(s.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 69 | | Ok(CrossTargetDockerfileConfig { [INFO] [stdout] 70 | | file: s.to_owned(), [INFO] [stdout] 71 | | context: None, [INFO] [stdout] 72 | | build_args: None, [INFO] [stdout] 73 | | }) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / Ok(CrossTargetDockerfileConfig { [INFO] [stdout] 70 | | file: s.to_owned(), [INFO] [stdout] 71 | | context: None, [INFO] [stdout] 72 | | build_args: None, [INFO] [stdout] 73 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 111 | | Ok(s.into()) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(s.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/custom.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 40 | | Ok(PreBuild::Single { [INFO] [stdout] 41 | | line: s.to_owned(), [INFO] [stdout] 42 | | env: false, [INFO] [stdout] 43 | | }) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/custom.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / Ok(PreBuild::Single { [INFO] [stdout] 41 | | line: s.to_owned(), [INFO] [stdout] 42 | | env: false, [INFO] [stdout] 43 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/image.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 95 | | Ok(s.into()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/image.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(s.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] error: could not compile `cross` (lib) due to 10 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: value assigned to `stderr` is never read [INFO] [stdout] --> src/errors.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | stderr: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `stdout` is never read [INFO] [stdout] --> src/errors.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | stdout: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `source` is never read [INFO] [stdout] --> src/errors.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | source: Box, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:247:53 [INFO] [stdout] | [INFO] [stdout] 247 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 248 | | Ok(s.into()) [INFO] [stdout] 249 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | Ok(s.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:68:53 [INFO] [stdout] | [INFO] [stdout] 68 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 69 | | Ok(CrossTargetDockerfileConfig { [INFO] [stdout] 70 | | file: s.to_owned(), [INFO] [stdout] 71 | | context: None, [INFO] [stdout] 72 | | build_args: None, [INFO] [stdout] 73 | | }) [INFO] [stdout] 74 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | / Ok(CrossTargetDockerfileConfig { [INFO] [stdout] 70 | | file: s.to_owned(), [INFO] [stdout] 71 | | context: None, [INFO] [stdout] 72 | | build_args: None, [INFO] [stdout] 73 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:110:53 [INFO] [stdout] | [INFO] [stdout] 110 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 111 | | Ok(s.into()) [INFO] [stdout] 112 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | Ok(s.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pre_build: Some(PreBuild::Lines(vec![p!("echo 'Hello World!'")])), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | pre_build: Some(PreBuild::Lines(vec![p!("echo 'Hello World!'")])), [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 653 | passthrough: Some(vec![p!("VAR1"), p!("VAR2")]), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | volumes: Some(vec![p!("VOL1_ARG"), p!("VOL2_ARG")]), [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 678 | version: Some(p!("2.17")), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 678 | version: Some(p!("2.17")), [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | file: p!("Dockerfile.test"), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 734 | file: p!("Dockerfile.test"), [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 738 | pre_build: Some(PreBuild::Lines(vec![p!("echo 'Hello'")])), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 738 | pre_build: Some(PreBuild::Lines(vec![p!("echo 'Hello'")])), [INFO] [stdout] | ------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 742 | volumes: Some(vec![p!("VOL")]), [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 742 | volumes: Some(vec![p!("VOL")]), [INFO] [stdout] | --------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 970 | assert_eq!(build.default_target, Some(p!("aarch64-unknown-linux-gnu"))); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 970 | assert_eq!(build.default_target, Some(p!("aarch64-unknown-linux-gnu"))); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | assert_eq!(build.env.passthrough, Some(vec![p!("VAR3"), p!("VAR4")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | assert_eq!(build.env.passthrough, Some(vec![p!("VAR3"), p!("VAR4")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | assert_eq!(build.env.passthrough, Some(vec![p!("VAR3"), p!("VAR4")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 973 | assert_eq!(build.env.passthrough, Some(vec![p!("VAR3"), p!("VAR4")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, image::PossibleImage> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | assert_eq!(aarch64.image, Some(p!("test-image1"))); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 980 | assert_eq!(aarch64.image, Some(p!("test-image1"))); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 983 | assert_eq!(aarch64.env.passthrough, Some(vec![p!("VAR1")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 983 | assert_eq!(aarch64.env.passthrough, Some(vec![p!("VAR1")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 984 | assert_eq!(aarch64.env.volumes, Some(vec![p!("VOL1_ARG")])); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 984 | assert_eq!(aarch64.env.volumes, Some(vec![p!("VOL1_ARG")])); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, image::PossibleImage> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 989 | assert_eq!(target2.image, Some(p!("test-image2-precedence"))); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 989 | assert_eq!(target2.image, Some(p!("test-image2-precedence"))); [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 992 | assert_eq!(target2.env.passthrough, Some(vec![p!("VAR2_PRECEDENCE")])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 992 | assert_eq!(target2.env.passthrough, Some(vec![p!("VAR2_PRECEDENCE")])); [INFO] [stdout] | --------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 993 | assert_eq!(target2.env.volumes, Some(vec![p!("VOL2_ARG_PRECEDENCE")])); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 993 | assert_eq!(target2.env.volumes, Some(vec![p!("VOL2_ARG_PRECEDENCE")])); [INFO] [stdout] | ------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, image::PossibleImage> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 998 | assert_eq!(target3.image, Some(p!("test-image3"))); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 998 | assert_eq!(target3.image, Some(p!("test-image3"))); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1001 | assert_eq!(target3.env.passthrough, Some(vec![p!("VAR3")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1001 | assert_eq!(target3.env.passthrough, Some(vec![p!("VAR3")])); [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, std::string::String> [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1002 | assert_eq!(target3.env.volumes, Some(vec![p!("VOL3_ARG")])); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/cross_toml.rs:591:13 [INFO] [stdout] | [INFO] [stdout] 591 | $x.parse()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 1002 | assert_eq!(target3.env.volumes, Some(vec![p!("VOL3_ARG")])); [INFO] [stdout] | -------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `p` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/custom.rs:39:53 [INFO] [stdout] | [INFO] [stdout] 39 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 40 | | Ok(PreBuild::Single { [INFO] [stdout] 41 | | line: s.to_owned(), [INFO] [stdout] 42 | | env: false, [INFO] [stdout] 43 | | }) [INFO] [stdout] 44 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/custom.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | / Ok(PreBuild::Single { [INFO] [stdout] 41 | | line: s.to_owned(), [INFO] [stdout] 42 | | env: false, [INFO] [stdout] 43 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/image.rs:94:53 [INFO] [stdout] | [INFO] [stdout] 94 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 95 | | Ok(s.into()) [INFO] [stdout] 96 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/docker/image.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | Ok(s.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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 [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] error: could not compile `cross` (lib test) due to 60 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5e96dac82e962beead6d4dc261812a2382abff26b55684bb64561ae23cfd9302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e96dac82e962beead6d4dc261812a2382abff26b55684bb64561ae23cfd9302", kill_on_drop: false }` [INFO] [stdout] 5e96dac82e962beead6d4dc261812a2382abff26b55684bb64561ae23cfd9302