[INFO] fetching crate treeflection 0.1.35... [INFO] checking treeflection-0.1.35 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate treeflection 0.1.35 into /workspace/builds/worker-4-tc2/source [INFO] validating manifest of crates.io crate treeflection 0.1.35 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 13 packages to latest compatible versions [INFO] [stderr] Adding itertools v0.9.0 (available: v0.13.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "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-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07f37ab3c0fd6fc3fd9cb1003911108744d11a980e04fbbf8fd7568651a5b73c [INFO] running `Command { std: "docker" "start" "-a" "07f37ab3c0fd6fc3fd9cb1003911108744d11a980e04fbbf8fd7568651a5b73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07f37ab3c0fd6fc3fd9cb1003911108744d11a980e04fbbf8fd7568651a5b73c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07f37ab3c0fd6fc3fd9cb1003911108744d11a980e04fbbf8fd7568651a5b73c", kill_on_drop: false }` [INFO] [stdout] 07f37ab3c0fd6fc3fd9cb1003911108744d11a980e04fbbf8fd7568651a5b73c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 023609f3c64abe54fdcb75080d60962c70109a8da7d2919b138a26beb401f48b [INFO] running `Command { std: "docker" "start" "-a" "023609f3c64abe54fdcb75080d60962c70109a8da7d2919b138a26beb401f48b", kill_on_drop: false }` [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking treeflection v0.1.35 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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)]` 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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 is discouraged [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)]` 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: 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "023609f3c64abe54fdcb75080d60962c70109a8da7d2919b138a26beb401f48b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "023609f3c64abe54fdcb75080d60962c70109a8da7d2919b138a26beb401f48b", kill_on_drop: false }` [INFO] [stdout] 023609f3c64abe54fdcb75080d60962c70109a8da7d2919b138a26beb401f48b