[INFO] fetching crate git-cinnabar 0.6.2... [INFO] checking git-cinnabar-0.6.2 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate git-cinnabar 0.6.2 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate git-cinnabar 0.6.2 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] started tweaking crates.io crate git-cinnabar 0.6.2 [INFO] finished tweaking crates.io crate git-cinnabar 0.6.2 [INFO] tweaked toml for crates.io crate git-cinnabar 0.6.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate crates.io crate git-cinnabar 0.6.2 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shared_child v1.0.0 [INFO] [stderr] Downloaded target v2.0.0 [INFO] [stderr] Downloaded cstr v0.2.10 [INFO] [stderr] Downloaded git-version-macro v0.3.5 [INFO] [stderr] Downloaded make-cmd v0.1.0 [INFO] [stderr] Downloaded git-version v0.3.5 [INFO] [stderr] Downloaded semver v1.0.17 [INFO] [stderr] Downloaded all_asserts v2.3.1 [INFO] [stderr] Downloaded clap_derive v4.0.21 [INFO] [stderr] Downloaded os_str_bytes v6.5.1 [INFO] [stderr] Downloaded unicode-ident v1.0.10 [INFO] [stderr] Downloaded serde v1.0.167 [INFO] [stderr] Downloaded getset v0.1.2 [INFO] [stderr] Downloaded clap v4.0.26 [INFO] [stderr] Downloaded bstr v1.6.0 [INFO] [stderr] Downloaded regex-automata v0.3.2 [INFO] [stderr] Downloaded regex-syntax v0.7.3 [INFO] [stderr] Downloaded zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Downloaded zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Downloaded libz-sys v1.1.9 [INFO] [stderr] Downloaded curl-sys v0.4.63+curl-8.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fccb73d425eeca071e5cd160b21027e2d1742db078eb261f9efad168187a4aca [INFO] running `Command { std: "docker" "start" "-a" "fccb73d425eeca071e5cd160b21027e2d1742db078eb261f9efad168187a4aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fccb73d425eeca071e5cd160b21027e2d1742db078eb261f9efad168187a4aca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fccb73d425eeca071e5cd160b21027e2d1742db078eb261f9efad168187a4aca", kill_on_drop: false }` [INFO] [stdout] fccb73d425eeca071e5cd160b21027e2d1742db078eb261f9efad168187a4aca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeb6fd1bf32ef0f33cd2b77156ea5505f72953f12be282766aeeac729d2b88d3 [INFO] running `Command { std: "docker" "start" "-a" "eeb6fd1bf32ef0f33cd2b77156ea5505f72953f12be282766aeeac729d2b88d3", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.63 [INFO] [stderr] Compiling unicode-ident v1.0.10 [INFO] [stderr] Compiling quote v1.0.29 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling zstd-safe v6.0.5+zstd.1.5.4 [INFO] [stderr] Compiling either v1.8.1 [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Checking typenum v1.16.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling semver v1.0.17 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Compiling target v2.0.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling make-cmd v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking os_str_bytes v6.5.1 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking gimli v0.27.3 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking regex-syntax v0.7.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Checking object v0.31.1 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking clap_lex v0.3.0 [INFO] [stderr] Compiling cc v1.0.79 [INFO] [stderr] Checking form_urlencoded v1.2.0 [INFO] [stderr] Checking crc32fast v1.3.2 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-automata v0.3.2 [INFO] [stderr] Compiling cstr v0.2.10 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking bstr v1.6.0 [INFO] [stderr] Checking shared_child v1.0.0 [INFO] [stderr] Compiling libz-sys v1.1.9 [INFO] [stderr] Compiling zstd-sys v2.0.8+zstd.1.5.5 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling curl-sys v0.4.63+curl-8.1.2 [INFO] [stderr] Compiling backtrace v0.3.68 [INFO] [stderr] Compiling git-cinnabar v0.6.2 (/opt/rustwide/workdir) [INFO] [stderr] Checking addr2line v0.20.0 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Checking flate2 v1.0.26 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Checking log v0.4.19 [INFO] [stderr] Checking tee v0.1.0 [INFO] [stderr] Checking all_asserts v2.3.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling git-version-macro v0.3.5 [INFO] [stderr] Compiling clap_derive v4.0.21 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Checking git-version v0.3.5 [INFO] [stderr] Checking zstd v0.12.3+zstd.1.5.2 [INFO] [stderr] Checking clap v4.0.26 [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/store.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::{repeat, IntoIterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `oid_type` is imported redundantly [INFO] [stdout] --> src/store.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::{oid_type, set_metadata_to, MetadataFlags}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/oid.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / macro_rules! oid_type { [INFO] [stdout] 31 | | ($name:ident($base_type:ident)) => { [INFO] [stdout] 32 | | #[repr(transparent)] [INFO] [stdout] 33 | | #[derive(Clone, Deref, Display, Eq, Hash, Ord, PartialEq, PartialOrd)] [INFO] [stdout] ... | [INFO] [stdout] 130 | | }; [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- the item `oid_type` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/hg_connect_http.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `args` is imported redundantly [INFO] [stdout] --> src/hg_connect_http.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::args; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hg_connect.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / macro_rules! args { [INFO] [stdout] 43 | | ($($n:ident : $v:expr,)* $(*: $a:expr)?) => { [INFO] [stdout] 44 | | HgArgs { [INFO] [stdout] 45 | | args: $crate::args!(@args $($n:$v),*), [INFO] [stdout] ... | [INFO] [stdout] 54 | | (@extra $a:expr) => { Some($a) }; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- the item `args` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `args` is imported redundantly [INFO] [stdout] --> src/hg_connect_stdio.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::args; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hg_connect.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / macro_rules! args { [INFO] [stdout] 43 | | ($($n:ident : $v:expr,)* $(*: $a:expr)?) => { [INFO] [stdout] 44 | | HgArgs { [INFO] [stdout] 45 | | args: $crate::args!(@args $($n:$v),*), [INFO] [stdout] ... | [INFO] [stdout] 54 | | (@extra $a:expr) => { Some($a) }; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- the item `args` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `IntoIterator` is imported redundantly [INFO] [stdout] --> src/store.rs:11:25 [INFO] [stdout] | [INFO] [stdout] 11 | use std::iter::{repeat, IntoIterator}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:148:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `IntoIterator` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `oid_type` is imported redundantly [INFO] [stdout] --> src/store.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | use crate::{oid_type, set_metadata_to, MetadataFlags}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/oid.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | / macro_rules! oid_type { [INFO] [stdout] 31 | | ($name:ident($base_type:ident)) => { [INFO] [stdout] 32 | | #[repr(transparent)] [INFO] [stdout] 33 | | #[derive(Clone, Deref, Display, Eq, Hash, Ord, PartialEq, PartialOrd)] [INFO] [stdout] ... | [INFO] [stdout] 130 | | }; [INFO] [stdout] 131 | | } [INFO] [stdout] | |_- the item `oid_type` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `ToOwned` is imported redundantly [INFO] [stdout] --> src/hg_connect_http.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::borrow::ToOwned; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/385fa9d845dd326c6bbfd58c22244215e431948a/library/std/src/prelude/mod.rs:144:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `ToOwned` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `args` is imported redundantly [INFO] [stdout] --> src/hg_connect_http.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::args; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hg_connect.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / macro_rules! args { [INFO] [stdout] 43 | | ($($n:ident : $v:expr,)* $(*: $a:expr)?) => { [INFO] [stdout] 44 | | HgArgs { [INFO] [stdout] 45 | | args: $crate::args!(@args $($n:$v),*), [INFO] [stdout] ... | [INFO] [stdout] 54 | | (@extra $a:expr) => { Some($a) }; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- the item `args` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `args` is imported redundantly [INFO] [stdout] --> src/hg_connect_stdio.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use crate::args; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/hg_connect.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | / macro_rules! args { [INFO] [stdout] 43 | | ($($n:ident : $v:expr,)* $(*: $a:expr)?) => { [INFO] [stdout] 44 | | HgArgs { [INFO] [stdout] 45 | | args: $crate::args!(@args $($n:$v),*), [INFO] [stdout] ... | [INFO] [stdout] 54 | | (@extra $a:expr) => { Some($a) }; [INFO] [stdout] 55 | | } [INFO] [stdout] | |_- the item `args` is already defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hg_connect_http.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | unsafe { credential_fill(&mut http_auth) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | unsafe { credential_fill(addr_of_mut!(http_auth)) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/hg_connect_http.rs:336:46 [INFO] [stdout] | [INFO] [stdout] 336 | unsafe { credential_fill(&mut http_auth) }; [INFO] [stdout] | ^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 336 | unsafe { credential_fill(addr_of_mut!(http_auth)) }; [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:2661:18 [INFO] [stdout] | [INFO] [stdout] 2661 | unsafe { &mut hg2git }.for_each(|h, _| { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 2661 | unsafe { addr_of_mut!(hg2git) }.for_each(|h, _| { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:2686:18 [INFO] [stdout] | [INFO] [stdout] 2686 | unsafe { &mut git2hg }.for_each(|g, _| { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 2686 | unsafe { addr_of_mut!(git2hg) }.for_each(|g, _| { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:2661:18 [INFO] [stdout] | [INFO] [stdout] 2661 | unsafe { &mut hg2git }.for_each(|h, _| { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 2661 | unsafe { addr_of_mut!(hg2git) }.for_each(|h, _| { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/main.rs:2686:18 [INFO] [stdout] | [INFO] [stdout] 2686 | unsafe { &mut git2hg }.for_each(|g, _| { [INFO] [stdout] | ^^^^^^^^^^^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 2686 | unsafe { addr_of_mut!(git2hg) }.for_each(|g, _| { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hg_connect.rs:714:25 [INFO] [stdout] | [INFO] [stdout] 714 | if let Some((_, mut data)) = dag.get_mut(&*c) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hg_connect.rs:721:25 [INFO] [stdout] | [INFO] [stdout] 721 | if let Some((_, mut data)) = dag.get_mut(&*c) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hg_connect.rs:727:25 [INFO] [stdout] | [INFO] [stdout] 727 | if let Some((_, mut data)) = dag.get_mut(c) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hg_connect.rs:714:25 [INFO] [stdout] | [INFO] [stdout] 714 | if let Some((_, mut data)) = dag.get_mut(&*c) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hg_connect.rs:721:25 [INFO] [stdout] | [INFO] [stdout] 721 | if let Some((_, mut data)) = dag.get_mut(&*c) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hg_connect.rs:727:25 [INFO] [stdout] | [INFO] [stdout] 727 | if let Some((_, mut data)) = dag.get_mut(c) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_all_to_string` is never used [INFO] [stdout] --> src/util.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub trait ReadExt: Read { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 69 | fn read_all_to_string(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_mut_ptr` is never used [INFO] [stdout] --> src/util.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 244 | pub trait OptionMutExt: OptionExt { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] 245 | fn as_mut_ptr(&mut self) -> *mut T; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `hg_connection_stdio` is never constructed [INFO] [stdout] --> src/libcinnabar.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct hg_connection_stdio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `hg_connection_stdio` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/version_check.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | Tagged(Version, CommitId), [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | Tagged(Version, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/version_check.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | Commit(CommitId), [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | Commit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_all_to_string` is never used [INFO] [stdout] --> src/util.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub trait ReadExt: Read { [INFO] [stdout] | ------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 69 | fn read_all_to_string(&mut self) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `hg_connection_stdio` is never constructed [INFO] [stdout] --> src/libcinnabar.rs:183:12 [INFO] [stdout] | [INFO] [stdout] 183 | pub struct hg_connection_stdio { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `hg_connection_stdio` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/version_check.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | Tagged(Version, CommitId), [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 63 | Tagged(Version, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/version_check.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | Commit(CommitId), [INFO] [stdout] | ------ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 64 | Commit(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.12s [INFO] running `Command { std: "docker" "inspect" "eeb6fd1bf32ef0f33cd2b77156ea5505f72953f12be282766aeeac729d2b88d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeb6fd1bf32ef0f33cd2b77156ea5505f72953f12be282766aeeac729d2b88d3", kill_on_drop: false }` [INFO] [stdout] eeb6fd1bf32ef0f33cd2b77156ea5505f72953f12be282766aeeac729d2b88d3