[INFO] fetching crate treeflection 0.1.35... [INFO] building treeflection-0.1.35 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-8 [INFO] extracting crate treeflection 0.1.35 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate treeflection 0.1.35 [INFO] finished tweaking crates.io crate treeflection 0.1.35 [INFO] tweaked toml for crates.io crate treeflection 0.1.35 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate treeflection 0.1.35 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 14 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.9.0 (available: v0.14.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba3e255a8d476ff93c41a1de65c2287afb3c60d15a6b894221a561be24d67c8b [INFO] running `Command { std: "docker" "start" "-a" "ba3e255a8d476ff93c41a1de65c2287afb3c60d15a6b894221a561be24d67c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba3e255a8d476ff93c41a1de65c2287afb3c60d15a6b894221a561be24d67c8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3e255a8d476ff93c41a1de65c2287afb3c60d15a6b894221a561be24d67c8b", kill_on_drop: false }` [INFO] [stdout] ba3e255a8d476ff93c41a1de65c2287afb3c60d15a6b894221a561be24d67c8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d89714c29b53e140f372e9e173f3d4be9edcfa3a02436ceace1a609b3621b9f7 [INFO] running `Command { std: "docker" "start" "-a" "d89714c29b53e140f372e9e173f3d4be9edcfa3a02436ceace1a609b3621b9f7", kill_on_drop: false }` [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling treeflection v0.1.35 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:372:38 [INFO] [stdout] | [INFO] [stdout] 372 | let paste = unsafe { STRING_COPY.clone() }; [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/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 723 | int_node!(i64, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 724 | int_node!(u64, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 725 | int_node!(i32, "A number from –2,147,483,648 to 2,147,483,647"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 726 | int_node!(u32, "A number from 0 to 4,294,967,295"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 727 | int_node!(i16, "A number from –32,768 to –32,767"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 728 | int_node!(u16, "A number from 0 to 65,535"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | int_node!(i8, "A number from -128 to 127"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 730 | int_node!(u8, "A number from 0 to 255"); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 731 | int_node!(isize, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 732 | int_node!(usize, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:637:49 [INFO] [stdout] | [INFO] [stdout] 637 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 735 | float_node!(f32, "A number with a decimal point"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `float_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:637:49 [INFO] [stdout] | [INFO] [stdout] 637 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 736 | float_node!(f64, "A higher precision number with a decimal point"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `float_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/context_vec.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] 105 + panic!("Attempted to set context {} on a ContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/context_vec.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] 117 + panic!("Attempted to set context {} on a ContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/keyed_context_vec.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 125 - panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] 125 + panic!("Attempted to set context {} on a KeyedContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/keyed_context_vec.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 137 - panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] 137 + panic!("Attempted to set context {} on a KeyedContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/keyed_context_vec.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn key_value_iter(&self) -> Zip, Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 278 | pub fn key_value_iter(&self) -> Zip, Iter<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/keyed_context_vec.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn key_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn key_iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.95s [INFO] running `Command { std: "docker" "inspect" "d89714c29b53e140f372e9e173f3d4be9edcfa3a02436ceace1a609b3621b9f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d89714c29b53e140f372e9e173f3d4be9edcfa3a02436ceace1a609b3621b9f7", kill_on_drop: false }` [INFO] [stdout] d89714c29b53e140f372e9e173f3d4be9edcfa3a02436ceace1a609b3621b9f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 15f350c4426c1692be3e06750b525b99136fbd0ca91b17c481a883265b12e9f9 [INFO] running `Command { std: "docker" "start" "-a" "15f350c4426c1692be3e06750b525b99136fbd0ca91b17c481a883265b12e9f9", kill_on_drop: false }` [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:372:38 [INFO] [stdout] | [INFO] [stdout] 372 | let paste = unsafe { STRING_COPY.clone() }; [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/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 723 | int_node!(i64, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 724 | int_node!(u64, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 725 | int_node!(i32, "A number from –2,147,483,648 to 2,147,483,647"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 726 | int_node!(u32, "A number from 0 to 4,294,967,295"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 727 | int_node!(i16, "A number from –32,768 to –32,767"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 728 | int_node!(u16, "A number from 0 to 65,535"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | int_node!(i8, "A number from -128 to 127"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 730 | int_node!(u8, "A number from 0 to 255"); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 731 | int_node!(isize, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 732 | int_node!(usize, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:637:49 [INFO] [stdout] | [INFO] [stdout] 637 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 735 | float_node!(f32, "A number with a decimal point"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `float_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:637:49 [INFO] [stdout] | [INFO] [stdout] 637 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 736 | float_node!(f64, "A higher precision number with a decimal point"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `float_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/context_vec.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] 105 + panic!("Attempted to set context {} on a ContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/context_vec.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] 117 + panic!("Attempted to set context {} on a ContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/keyed_context_vec.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 125 - panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] 125 + panic!("Attempted to set context {} on a KeyedContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/keyed_context_vec.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 137 - panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] 137 + panic!("Attempted to set context {} on a KeyedContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/keyed_context_vec.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn key_value_iter(&self) -> Zip, Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 278 | pub fn key_value_iter(&self) -> Zip, Iter<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/keyed_context_vec.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn key_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn key_iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling treeflection v0.1.35 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:372:38 [INFO] [stdout] | [INFO] [stdout] 372 | let paste = unsafe { STRING_COPY.clone() }; [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/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 723 | int_node!(i64, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stdout] | --------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 724 | int_node!(u64, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 725 | int_node!(i32, "A number from –2,147,483,648 to 2,147,483,647"); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 726 | int_node!(u32, "A number from 0 to 4,294,967,295"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 727 | int_node!(i16, "A number from –32,768 to –32,767"); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 728 | int_node!(u16, "A number from 0 to 65,535"); [INFO] [stdout] | ------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 729 | int_node!(i8, "A number from -128 to 127"); [INFO] [stdout] | ------------------------------------------ in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 730 | int_node!(u8, "A number from 0 to 255"); [INFO] [stdout] | --------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 731 | int_node!(isize, "A number from –9,223,372,036,854,775,808 to 9,223,372,036,854,775,807"); [INFO] [stdout] | ----------------------------------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:508:49 [INFO] [stdout] | [INFO] [stdout] 508 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 732 | int_node!(usize, "A number from 0 to 18,446,744,073,709,551,615"); [INFO] [stdout] | ----------------------------------------------------------------- in this macro invocation [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: this warning originates in the macro `int_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:637:49 [INFO] [stdout] | [INFO] [stdout] 637 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 735 | float_node!(f32, "A number with a decimal point"); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [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: this warning originates in the macro `float_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/node.rs:637:49 [INFO] [stdout] | [INFO] [stdout] 637 | let num_copy = unsafe { NUM_COPY.clone() }; [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] ... [INFO] [stdout] 736 | float_node!(f64, "A higher precision number with a decimal point"); [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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: this warning originates in the macro `float_node` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/context_vec.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 105 - panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] 105 + panic!("Attempted to set context {} on a ContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/context_vec.rs:117:24 [INFO] [stdout] | [INFO] [stdout] 117 | panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 117 - panic!(format!("Attempted to set context {} on a ContextVec of length {}", value, length)); [INFO] [stdout] 117 + panic!("Attempted to set context {} on a ContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/keyed_context_vec.rs:125:20 [INFO] [stdout] | [INFO] [stdout] 125 | panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 125 - panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] 125 + panic!("Attempted to set context {} on a KeyedContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/keyed_context_vec.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 137 - panic!(format!("Attempted to set context {} on a KeyedContextVec of length {}", value, length)); [INFO] [stdout] 137 + panic!("Attempted to set context {} on a KeyedContextVec of length {}", value, length); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/keyed_context_vec.rs:278:27 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn key_value_iter(&self) -> Zip, Iter> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 278 | pub fn key_value_iter(&self) -> Zip, Iter<'_, T>> { [INFO] [stdout] | +++ +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/keyed_context_vec.rs:283:21 [INFO] [stdout] | [INFO] [stdout] 283 | pub fn key_iter(&self) -> Iter { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 283 | pub fn key_iter(&self) -> Iter<'_, String> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.56s [INFO] running `Command { std: "docker" "inspect" "15f350c4426c1692be3e06750b525b99136fbd0ca91b17c481a883265b12e9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15f350c4426c1692be3e06750b525b99136fbd0ca91b17c481a883265b12e9f9", kill_on_drop: false }` [INFO] [stdout] 15f350c4426c1692be3e06750b525b99136fbd0ca91b17c481a883265b12e9f9