[INFO] cloning repository https://github.com/brain-lang/brain [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brain-lang/brain" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrain-lang%2Fbrain", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrain-lang%2Fbrain'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 234eccd8f5a71818704fe79d32c5c3eb73bce5d4 [INFO] checking brain-lang/brain/234eccd8f5a71818704fe79d32c5c3eb73bce5d4 against master#4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 for pr-154585 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrain-lang%2Fbrain" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/brain-lang/brain [INFO] finished tweaking git repo https://github.com/brain-lang/brain [INFO] tweaked toml for git repo https://github.com/brain-lang/brain written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/brain-lang/brain on toolchain 4cf5f9580233c36f6bc8db76e282ba8a1c1ea491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/brain-lang/brain already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest v0.4.1 [INFO] [stderr] Downloaded ansi_term v0.9.0 [INFO] [stderr] Downloaded atty v0.2.2 [INFO] [stderr] Downloaded bitflags v0.8.2 [INFO] [stderr] Downloaded strsim v0.6.0 [INFO] [stderr] Downloaded term_size v0.3.0 [INFO] [stderr] Downloaded unicode-segmentation v1.2.0 [INFO] [stderr] Downloaded clap v2.24.2 [INFO] [stderr] Downloaded libc v0.2.22 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0a9725896af6a5fca8cd42334fe01e59991b0f3907e7066e66fc7362897a9967 [INFO] running `Command { std: "docker" "start" "-a" "0a9725896af6a5fca8cd42334fe01e59991b0f3907e7066e66fc7362897a9967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0a9725896af6a5fca8cd42334fe01e59991b0f3907e7066e66fc7362897a9967", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0a9725896af6a5fca8cd42334fe01e59991b0f3907e7066e66fc7362897a9967", kill_on_drop: false }` [INFO] [stdout] 0a9725896af6a5fca8cd42334fe01e59991b0f3907e7066e66fc7362897a9967 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+4cf5f9580233c36f6bc8db76e282ba8a1c1ea491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5bc62107d16f31f1e4e2ef2cdacd320cca5e2f90fe75e47be0af4a77328fdbb2 [INFO] running `Command { std: "docker" "start" "-a" "5bc62107d16f31f1e4e2ef2cdacd320cca5e2f90fe75e47be0af4a77328fdbb2", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Checking libc v0.2.22 [INFO] [stderr] Checking unicode-segmentation v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.4 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking ansi_term v0.9.0 [INFO] [stderr] Checking vec_map v0.8.0 [INFO] [stderr] Checking strsim v0.6.0 [INFO] [stderr] Checking pest v0.4.1 [INFO] [stderr] Checking term_size v0.3.0 [INFO] [stderr] Checking atty v0.2.2 [INFO] [stderr] Checking clap v2.24.2 [INFO] [stderr] Checking brain v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/operations/item_type.rs:117:59 [INFO] [stdout] | [INFO] [stdout] 117 | ItemType::Function {ref args, return_type} => ( [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 118 | | return_type == expected_return_type && [INFO] [stdout] | |________________^ [INFO] [stdout] ... [INFO] [stdout] 148 | }) [INFO] [stdout] | ___________________^ [INFO] [stdout] 149 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 ~ ItemType::Function {ref args, return_type} => return_type == expected_return_type && [INFO] [stdout] 118 | // All the args must match an argument in expected_args [INFO] [stdout] ... [INFO] [stdout] 146 | }, [INFO] [stdout] 147 ~ }) , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/operations/primitives.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / /// To add a primitive, simply add a field to the following struct [INFO] [stdout] 65 | | /// Everything else will be generated for you [INFO] [stdout] | |_--------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 213 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 214 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 215 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 216 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 217 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 235 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 360 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 361 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 362 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 363 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 364 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 379 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 514 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 515 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 516 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 517 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 518 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 548 | | }] [INFO] [stdout] 549 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 642 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 643 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 644 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 645 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 646 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 676 | | }] [INFO] [stdout] 677 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/operations/item_type.rs:117:59 [INFO] [stdout] | [INFO] [stdout] 117 | ItemType::Function {ref args, return_type} => ( [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 118 | | return_type == expected_return_type && [INFO] [stdout] | |________________^ [INFO] [stdout] ... [INFO] [stdout] 148 | }) [INFO] [stdout] | ___________________^ [INFO] [stdout] 149 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 117 ~ ItemType::Function {ref args, return_type} => return_type == expected_return_type && [INFO] [stdout] 118 | // All the args must match an argument in expected_args [INFO] [stdout] ... [INFO] [stdout] 146 | }, [INFO] [stdout] 147 ~ }) , [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/operations/primitives.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | / /// To add a primitive, simply add a field to the following struct [INFO] [stdout] 65 | | /// Everything else will be generated for you [INFO] [stdout] | |_--------------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 213 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 214 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 215 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 216 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 217 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 235 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:359:17 [INFO] [stdout] | [INFO] [stdout] 359 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 360 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 361 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 362 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 363 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 364 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 379 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:513:17 [INFO] [stdout] | [INFO] [stdout] 513 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 514 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 515 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 516 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 517 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 518 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 548 | | }] [INFO] [stdout] 549 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/core/primitives/boolean.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | / /// Thanks to certain properties of booleans, we can evaluate certain things during [INFO] [stdout] 642 | | /// compilation and avoid a lot of extra computation. [INFO] [stdout] | |_____________________________________________________________________^ [INFO] [stdout] 643 | / (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) | [INFO] [stdout] 644 | | (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => { [INFO] [stdout] 645 | | debug_assert_eq!(const_type, bool_type); [INFO] [stdout] 646 | | debug_assert_eq!(other_type, bool_type); [INFO] [stdout] ... | [INFO] [stdout] 676 | | }] [INFO] [stdout] 677 | | }, [INFO] [stdout] | |_________________- rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations/scope.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | operations: Rc OperationsResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | operations: Rc OperationsResult>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/operations/scope.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | operations: Rc OperationsResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 | operations: Rc OperationsResult>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations/primitives.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | debug_assert!(self.$field_name.is_none(), format!("Redefined `{}` primitive in scope", stringify!($field_name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / impl_primitives! { [INFO] [stdout] 67 | | pub struct Primitives { [INFO] [stdout] 68 | | unit: Option, [INFO] [stdout] 69 | | array: Option, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 34 - debug_assert!(self.$field_name.is_none(), format!("Redefined `{}` primitive in scope", stringify!($field_name))); [INFO] [stdout] 34 + debug_assert!(self.$field_name.is_none(), "Redefined `{}` primitive in scope", stringify!($field_name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations/primitives.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("Attempt to register unknown primitive: `{}`", name)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / impl_primitives! { [INFO] [stdout] 67 | | pub struct Primitives { [INFO] [stdout] 68 | | unit: Option, [INFO] [stdout] 69 | | array: Option, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [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: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(format!("Attempt to register unknown primitive: `{}`", name)), [INFO] [stdout] 41 + _ => panic!("Attempt to register unknown primitive: `{}`", name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations/primitives.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(format!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / impl_primitives! { [INFO] [stdout] 67 | | pub struct Primitives { [INFO] [stdout] 68 | | unit: Option, [INFO] [stdout] 69 | | array: Option, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [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: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 - panic!(format!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name))); [INFO] [stdout] 50 + panic!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen/instruction.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn iter(&self) -> ::std::slice::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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | pub fn iter(&self) -> ::std::slice::Iter<'_, Instruction> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/parser/grammar.rs:1185:44 [INFO] [stdout] | [INFO] [stdout] 1185 | fn parser_from(s: &'static str) -> Rdp { [INFO] [stdout] | ------- ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is named 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 1185 | fn parser_from(s: &'static str) -> Rdp> { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations/primitives.rs:34:71 [INFO] [stdout] | [INFO] [stdout] 34 | debug_assert!(self.$field_name.is_none(), format!("Redefined `{}` primitive in scope", stringify!($field_name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / impl_primitives! { [INFO] [stdout] 67 | | pub struct Primitives { [INFO] [stdout] 68 | | unit: Option, [INFO] [stdout] 69 | | array: Option, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 34 - debug_assert!(self.$field_name.is_none(), format!("Redefined `{}` primitive in scope", stringify!($field_name))); [INFO] [stdout] 34 + debug_assert!(self.$field_name.is_none(), "Redefined `{}` primitive in scope", stringify!($field_name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations/primitives.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | _ => panic!(format!("Attempt to register unknown primitive: `{}`", name)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / impl_primitives! { [INFO] [stdout] 67 | | pub struct Primitives { [INFO] [stdout] 68 | | unit: Option, [INFO] [stdout] 69 | | array: Option, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [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: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 41 - _ => panic!(format!("Attempt to register unknown primitive: `{}`", name)), [INFO] [stdout] 41 + _ => panic!("Attempt to register unknown primitive: `{}`", name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/operations/primitives.rs:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | panic!(format!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | / impl_primitives! { [INFO] [stdout] 67 | | pub struct Primitives { [INFO] [stdout] 68 | | unit: Option, [INFO] [stdout] 69 | | array: Option, [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [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: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 50 - panic!(format!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name))); [INFO] [stdout] 50 + panic!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/codegen/instruction.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn iter(&self) -> ::std::slice::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] 20 | pub fn iter(&self) -> ::std::slice::Iter<'_, Instruction> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.8.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "5bc62107d16f31f1e4e2ef2cdacd320cca5e2f90fe75e47be0af4a77328fdbb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bc62107d16f31f1e4e2ef2cdacd320cca5e2f90fe75e47be0af4a77328fdbb2", kill_on_drop: false }` [INFO] [stdout] 5bc62107d16f31f1e4e2ef2cdacd320cca5e2f90fe75e47be0af4a77328fdbb2