[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] testing brain-lang/brain against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[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 d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded vec_map v0.8.0
[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 atty v0.2.2
[INFO] [stderr]   Downloaded ansi_term v0.9.0
[INFO] [stderr]   Downloaded libc v0.2.22
[INFO] [stderr]   Downloaded unicode-segmentation v1.2.0
[INFO] [stderr]   Downloaded pest v0.4.1
[INFO] [stderr]   Downloaded unicode-width v0.1.4
[INFO] [stderr]   Downloaded clap v2.24.2
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 70d7bd0c0e0b8a6973a9b0a3b0f94e337cc767475cecd49f03574bfe2dd4e702
[INFO] running `Command { std: "docker" "start" "-a" "70d7bd0c0e0b8a6973a9b0a3b0f94e337cc767475cecd49f03574bfe2dd4e702", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "70d7bd0c0e0b8a6973a9b0a3b0f94e337cc767475cecd49f03574bfe2dd4e702", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "70d7bd0c0e0b8a6973a9b0a3b0f94e337cc767475cecd49f03574bfe2dd4e702", kill_on_drop: false }`
[INFO] [stdout] 70d7bd0c0e0b8a6973a9b0a3b0f94e337cc767475cecd49f03574bfe2dd4e702
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 00cdad5592dfc102507a66c5a707c3c7a30c1a31548ee3ea3dcebefa7aa2f322
[INFO] running `Command { std: "docker" "start" "-a" "00cdad5592dfc102507a66c5a707c3c7a30c1a31548ee3ea3dcebefa7aa2f322", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling libc v0.2.22
[INFO] [stderr]    Compiling ansi_term v0.9.0
[INFO] [stderr]    Compiling bitflags v0.8.2
[INFO] [stderr]    Compiling unicode-segmentation v1.2.0
[INFO] [stderr]    Compiling strsim v0.6.0
[INFO] [stderr]    Compiling unicode-width v0.1.4
[INFO] [stderr]    Compiling vec_map v0.8.0
[INFO] [stderr]    Compiling pest v0.4.1
[INFO] [stderr]    Compiling term_size v0.3.0
[INFO] [stderr]    Compiling atty v0.2.2
[INFO] [stderr]    Compiling clap v2.24.2
[INFO] [stderr]    Compiling 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)]` 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)]` 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<Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 |         operations: Rc<dyn Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> 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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `debug_assert!()` 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]    = 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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/codegen/instruction.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn iter(&self) -> ::std::slice::Iter<Instruction> {
[INFO] [stdout]    |                 ^^^^^     ------------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 32.14s
[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" "00cdad5592dfc102507a66c5a707c3c7a30c1a31548ee3ea3dcebefa7aa2f322", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00cdad5592dfc102507a66c5a707c3c7a30c1a31548ee3ea3dcebefa7aa2f322", kill_on_drop: false }`
[INFO] [stdout] 00cdad5592dfc102507a66c5a707c3c7a30c1a31548ee3ea3dcebefa7aa2f322
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e5bca14ecc953c6be365b149fd981ac9ba7570577d70944c7debc4c0ec6c6213
[INFO] running `Command { std: "docker" "start" "-a" "e5bca14ecc953c6be365b149fd981ac9ba7570577d70944c7debc4c0ec6c6213", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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)]` 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)]` 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] [stderr]    Compiling brain v0.1.2 (/opt/rustwide/workdir)
[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<Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 |         operations: Rc<dyn Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> 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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `debug_assert!()` 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]    = 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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/codegen/instruction.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn iter(&self) -> ::std::slice::Iter<Instruction> {
[INFO] [stdout]    |                 ^^^^^     ------------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn iter(&self) -> ::std::slice::Iter<'_, Instruction> {
[INFO] [stdout]    |                                              +++
[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)]` 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)]` 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<Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> 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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 81 |         operations: Rc<dyn Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> OperationsResult>,
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]     --> src/parser/grammar.rs:1185:24
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     fn parser_from(s: &'static str) -> Rdp<StringInput> {
[INFO] [stdout]      |                        ^^^^^^^             ----------- the lifetime gets resolved as `'static`
[INFO] [stdout]      |                        |
[INFO] [stdout]      |                        this lifetime flows to the output
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: one option is to consistently use `'static`
[INFO] [stdout]      |
[INFO] [stdout] 1185 |     fn parser_from(s: &'static str) -> Rdp<StringInput<'static>> {
[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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `debug_assert!()` 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]    = 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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[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<TypeId>,
[INFO] [stdout] 69 | |         array: Option<TypeId>,
[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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stdout]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[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: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stdout]   --> src/codegen/instruction.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn iter(&self) -> ::std::slice::Iter<Instruction> {
[INFO] [stdout]    |                 ^^^^^     ------------------------------- the lifetime gets resolved as `'_`
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 this lifetime flows to the output
[INFO] [stdout]    |
[INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stdout]    |
[INFO] [stdout] 20 |     pub fn iter(&self) -> ::std::slice::Iter<'_, Instruction> {
[INFO] [stdout]    |                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 9.48s
[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" "e5bca14ecc953c6be365b149fd981ac9ba7570577d70944c7debc4c0ec6c6213", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e5bca14ecc953c6be365b149fd981ac9ba7570577d70944c7debc4c0ec6c6213", kill_on_drop: false }`
[INFO] [stdout] e5bca14ecc953c6be365b149fd981ac9ba7570577d70944c7debc4c0ec6c6213
[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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 4ae7c7e211f97a1fdf5508511743848223f55c1bec2bfedfad82465ba60d5e2f
[INFO] running `Command { std: "docker" "start" "-a" "4ae7c7e211f97a1fdf5508511743848223f55c1bec2bfedfad82465ba60d5e2f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: unnecessary parentheses around match arm expression
[INFO] [stderr]    --> src/operations/item_type.rs:117:59
[INFO] [stderr]     |
[INFO] [stderr] 117 |               ItemType::Function {ref args, return_type} => (
[INFO] [stderr]     |  ___________________________________________________________^
[INFO] [stderr] 118 | |                 return_type == expected_return_type &&
[INFO] [stderr]     | |________________^
[INFO] [stderr] ...
[INFO] [stderr] 148 |                   })
[INFO] [stderr]     |  ___________________^
[INFO] [stderr] 149 | |             ),
[INFO] [stderr]     | |_____________^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 117 ~             ItemType::Function {ref args, return_type} => return_type == expected_return_type &&
[INFO] [stderr] 118 |                 // All the args must match an argument in expected_args
[INFO] [stderr] ...
[INFO] [stderr] 146 |                     },
[INFO] [stderr] 147 ~                 }),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]   --> src/operations/primitives.rs:64:1
[INFO] [stderr]    |
[INFO] [stderr] 64 | / /// To add a primitive, simply add a field to the following struct
[INFO] [stderr] 65 | | /// Everything else will be generated for you
[INFO] [stderr]    | |_--------------------------------------------^
[INFO] [stderr]    |   |
[INFO] [stderr]    |   rustdoc does not generate documentation for macro invocations
[INFO] [stderr]    |
[INFO] [stderr]    = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion
[INFO] [stderr]    = note: `#[warn(unused_doc_comments)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/core/primitives/boolean.rs:212:17
[INFO] [stderr]     |
[INFO] [stderr] 212 | /                 /// Thanks to certain properties of booleans, we can evaluate certain things during
[INFO] [stderr] 213 | |                 /// compilation and avoid a lot of extra computation.
[INFO] [stderr]     | |_____________________________________________________________________^
[INFO] [stderr] 214 | /                 (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) |
[INFO] [stderr] 215 | |                 (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => {
[INFO] [stderr] 216 | |                     debug_assert_eq!(const_type, bool_type);
[INFO] [stderr] 217 | |                     debug_assert_eq!(other_type, bool_type);
[INFO] [stderr] ...   |
[INFO] [stderr] 235 | |                 },
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for match arms
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/core/primitives/boolean.rs:359:17
[INFO] [stderr]     |
[INFO] [stderr] 359 | /                 /// Thanks to certain properties of booleans, we can evaluate certain things during
[INFO] [stderr] 360 | |                 /// compilation and avoid a lot of extra computation.
[INFO] [stderr]     | |_____________________________________________________________________^
[INFO] [stderr] 361 | /                 (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) |
[INFO] [stderr] 362 | |                 (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => {
[INFO] [stderr] 363 | |                     debug_assert_eq!(const_type, bool_type);
[INFO] [stderr] 364 | |                     debug_assert_eq!(other_type, bool_type);
[INFO] [stderr] ...   |
[INFO] [stderr] 379 | |                 },
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for match arms
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/core/primitives/boolean.rs:513:17
[INFO] [stderr]     |
[INFO] [stderr] 513 | /                 /// Thanks to certain properties of booleans, we can evaluate certain things during
[INFO] [stderr] 514 | |                 /// compilation and avoid a lot of extra computation.
[INFO] [stderr]     | |_____________________________________________________________________^
[INFO] [stderr] 515 | /                 (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) |
[INFO] [stderr] 516 | |                 (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => {
[INFO] [stderr] 517 | |                     debug_assert_eq!(const_type, bool_type);
[INFO] [stderr] 518 | |                     debug_assert_eq!(other_type, bool_type);
[INFO] [stderr] ...   |
[INFO] [stderr] 548 | |                     }]
[INFO] [stderr] 549 | |                 },
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for match arms
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: unused doc comment
[INFO] [stderr]    --> src/core/primitives/boolean.rs:641:17
[INFO] [stderr]     |
[INFO] [stderr] 641 | /                 /// Thanks to certain properties of booleans, we can evaluate certain things during
[INFO] [stderr] 642 | |                 /// compilation and avoid a lot of extra computation.
[INFO] [stderr]     | |_____________________________________________________________________^
[INFO] [stderr] 643 | /                 (&ScopeItem::Constant {type_id: const_type, ref bytes}, &ScopeItem::TypedBlock {type_id: other_type, memory}) |
[INFO] [stderr] 644 | |                 (&ScopeItem::TypedBlock {type_id: other_type, memory}, &ScopeItem::Constant {type_id: const_type, ref bytes}) => {
[INFO] [stderr] 645 | |                     debug_assert_eq!(const_type, bool_type);
[INFO] [stderr] 646 | |                     debug_assert_eq!(other_type, bool_type);
[INFO] [stderr] ...   |
[INFO] [stderr] 676 | |                     }]
[INFO] [stderr] 677 | |                 },
[INFO] [stderr]     | |_________________- rustdoc does not generate documentation for match arms
[INFO] [stderr]     |
[INFO] [stderr]     = help: use `//` for a plain comment
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/operations/scope.rs:81:24
[INFO] [stderr]    |
[INFO] [stderr] 81 |         operations: Rc<Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> OperationsResult>,
[INFO] [stderr]    |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stderr]    |
[INFO] [stderr] 81 |         operations: Rc<dyn Fn(&mut ScopeStack, FuncArgs, MemoryBlock) -> OperationsResult>,
[INFO] [stderr]    |                        +++
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/operations/primitives.rs:34:71
[INFO] [stderr]    |
[INFO] [stderr] 34 |                               debug_assert!(self.$field_name.is_none(), format!("Redefined `{}` primitive in scope", stringify!($field_name)));
[INFO] [stderr]    |                                                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 66 | / impl_primitives! {
[INFO] [stderr] 67 | |     pub struct Primitives {
[INFO] [stderr] 68 | |         unit: Option<TypeId>,
[INFO] [stderr] 69 | |         array: Option<TypeId>,
[INFO] [stderr] ...  |
[INFO] [stderr] 73 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of `debug_assert!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `debug_assert!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]    = note: `#[warn(non_fmt_panics)]` on by default
[INFO] [stderr]    = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 34 -                             debug_assert!(self.$field_name.is_none(), format!("Redefined `{}` primitive in scope", stringify!($field_name)));
[INFO] [stderr] 34 +                             debug_assert!(self.$field_name.is_none(), "Redefined `{}` primitive in scope", stringify!($field_name));
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/operations/primitives.rs:41:33
[INFO] [stderr]    |
[INFO] [stderr] 41 |                       _ => panic!(format!("Attempt to register unknown primitive: `{}`", name)),
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 66 | / impl_primitives! {
[INFO] [stderr] 67 | |     pub struct Primitives {
[INFO] [stderr] 68 | |         unit: Option<TypeId>,
[INFO] [stderr] 69 | |         array: Option<TypeId>,
[INFO] [stderr] ...  |
[INFO] [stderr] 73 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]    = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 41 -                     _ => panic!(format!("Attempt to register unknown primitive: `{}`", name)),
[INFO] [stderr] 41 +                     _ => panic!("Attempt to register unknown primitive: `{}`", name),
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: panic message is not a string literal
[INFO] [stderr]   --> src/operations/primitives.rs:50:32
[INFO] [stderr]    |
[INFO] [stderr] 50 |                           panic!(format!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name)));
[INFO] [stderr]    |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 66 | / impl_primitives! {
[INFO] [stderr] 67 | |     pub struct Primitives {
[INFO] [stderr] 68 | |         unit: Option<TypeId>,
[INFO] [stderr] 69 | |         array: Option<TypeId>,
[INFO] [stderr] ...  |
[INFO] [stderr] 73 | | }
[INFO] [stderr]    | |_- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html>
[INFO] [stderr]    = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here
[INFO] [stderr]    = note: this warning originates in the macro `impl_primitives` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] help: remove the `format!(..)` macro call
[INFO] [stderr]    |
[INFO] [stderr] 50 -                         panic!(format!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name)));
[INFO] [stderr] 50 +                         panic!("TypeId `{}` is already registered to another primitive: `{}`", type_id, stringify!($field_name));
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/codegen/instruction.rs:20:17
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn iter(&self) -> ::std::slice::Iter<Instruction> {
[INFO] [stderr]    |                 ^^^^^     ------------------------------- the lifetime gets resolved as `'_`
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn iter(&self) -> ::std::slice::Iter<'_, Instruction> {
[INFO] [stderr]    |                                              +++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]     --> src/parser/grammar.rs:1185:24
[INFO] [stderr]      |
[INFO] [stderr] 1185 |     fn parser_from(s: &'static str) -> Rdp<StringInput> {
[INFO] [stderr]      |                        ^^^^^^^             ----------- the lifetime gets resolved as `'static`
[INFO] [stderr]      |                        |
[INFO] [stderr]      |                        this lifetime flows to the output
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: one option is to consistently use `'static`
[INFO] [stderr]      |
[INFO] [stderr] 1185 |     fn parser_from(s: &'static str) -> Rdp<StringInput<'static>> {
[INFO] [stderr]      |                                                       +++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing
[INFO] [stderr]   --> src/codegen/instruction.rs:20:17
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn iter(&self) -> ::std::slice::Iter<Instruction> {
[INFO] [stderr]    |                 ^^^^^     ------------------------------- the lifetime gets resolved as `'_`
[INFO] [stderr]    |                 |
[INFO] [stderr]    |                 this lifetime flows to the output
[INFO] [stderr]    |
[INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths
[INFO] [stderr]    |
[INFO] [stderr] 20 |     pub fn iter(&self) -> ::std::slice::Iter<'_, Instruction> {
[INFO] [stderr]    |                                              +++
[INFO] [stderr] 
[INFO] [stderr] warning: `brain` (lib) generated 11 warnings (run `cargo fix --lib -p brain` to apply 5 suggestions)
[INFO] [stderr] warning: `brain` (lib test) generated 12 warnings (10 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s
[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] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/brain-e61f580f8022889e)
[INFO] [stdout] 
[INFO] [stdout] running 32 tests
[INFO] [stdout] test core::primitives::boolean::tests::defines_primitive ... ok
[INFO] [stdout] test core::primitives::array::tests::defines_primitive ... ok
[INFO] [stdout] test memory::static_allocator::tests::cannot_allocate_default_memory_block ... ok
[INFO] [stdout] test operations::block::tests::nested_scopes ... ignored
[INFO] [stdout] test operations::block::tests::empty_block ... ok
[INFO] [stdout] test operations::declaration::tests::declaration_only ... ok
[INFO] [stdout] test core::primitives::u8::tests::defines_primitive ... ok
[INFO] [stdout] test core::primitives::boolean::tests::constants ... ok
[INFO] [stdout] test operations::module::tests::empty_module ... ok
[INFO] [stdout] test operations::primitives::tests::redefined_primitive - should panic ... FAILED
[INFO] [stdout] test operations::item_type::tests::matches_signature ... ok
[INFO] [stdout] test operations::scope::tests::defines_unit_primitive ... ok
[INFO] [stdout] test operations::scope::tests::multiple_definitions ... ok
[INFO] [stdout] test operations::primitives::tests::can_define_primitives ... ok
[INFO] [stdout] test parser::grammar::tests::leading_whitespace ... ok
[INFO] [stdout] test parser::grammar::tests::functions_field_access ... ok
[INFO] [stdout] test parser::grammar::tests::number ... ok
[INFO] [stdout] test operations::statement::tests::comment ... ok
[INFO] [stdout] test parser::grammar::tests::numeric_literal ... ok
[INFO] [stdout] test parser::grammar::tests::conditionals ... ok
[INFO] [stdout] test parser::ast::tests::concat_identifiers ... ok
[INFO] [stdout] test parser::grammar::tests::string_literal ... ok
[INFO] [stdout] test parser::grammar::tests::binary_operators ... ok
[INFO] [stdout] test parser::grammar::tests::string_literal_escapes ... ok
[INFO] [stdout] test memory::static_allocator::tests::allocating_zero_returns_default ... ok
[INFO] [stdout] test operations::program::tests::empty_program ... ok
[INFO] [stdout] test parser::grammar::tests::empty_program ... ok
[INFO] [stdout] test parser::grammar::tests::field_access ... ok
[INFO] [stdout] test operations::primitives::tests::access_without_registration - should panic ... ok
[INFO] [stdout] test operations::primitives::tests::type_collision - should panic ... ok
[INFO] [stdout] test operations::primitives::tests::unknown_primitive - should panic ... ok
[INFO] [stdout] test operations::primitives::tests::redefined_primitive_same_type_id - should panic ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- operations::primitives::tests::redefined_primitive stdout ----
[INFO] [stdout] note: test did not panic as expected at src/operations/primitives.rs:115:8
[INFO] [stdout] ---- operations::primitives::tests::redefined_primitive_same_type_id stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'operations::primitives::tests::redefined_primitive_same_type_id' panicked at src/operations/primitives.rs:66:1:
[INFO] [stdout] TypeId `0` is already registered to another primitive: `unit`
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5dc660fc0e92 - std::backtrace_rs::backtrace::libunwind::trace::hd39b1f53d3cf9745
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5dc660fc0e92 - std::backtrace_rs::backtrace::trace_unsynchronized::he91d9a75d4e3972b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5dc660fc0e92 - std::sys::backtrace::_print_fmt::hca46938f8c6e22cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:66:9
[INFO] [stdout]    3:     0x5dc660fc0e92 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::ha499add612cccf8e
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:39:26
[INFO] [stdout]    4:     0x5dc660fe60c3 - core::fmt::rt::Argument::fmt::hd21145b75a833b7a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/rt.rs:173:76
[INFO] [stdout]    5:     0x5dc660fe60c3 - core::fmt::write::hb10c956f5235c8a4
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/fmt/mod.rs:1465:25
[INFO] [stdout]    6:     0x5dc660fbe073 - std::io::default_write_fmt::hdb7615052be2ba4d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5dc660fbe073 - std::io::Write::write_fmt::he1bcd251ec6e4153
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/io/mod.rs:1954:13
[INFO] [stdout]    8:     0x5dc660fc0ce2 - std::sys::backtrace::BacktraceLock::print::hb47c770ef659fd10
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:42:9
[INFO] [stdout]    9:     0x5dc660fc240c - std::panicking::default_hook::{{closure}}::hdda8afb9d457a22c
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:300:27
[INFO] [stdout]   10:     0x5dc660fc2262 - std::panicking::default_hook::h7c46b44874fe5c9a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:324:9
[INFO] [stdout]   11:     0x5dc660f8a334 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h178a5fcedee41e2f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   12:     0x5dc660f8a334 - test::test_main_with_exit_callback::{{closure}}::h951a41e0149d6d5d
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5dc660fc2eeb - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::h13602080f5b63276
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1985:9
[INFO] [stdout]   14:     0x5dc660fc2eeb - std::panicking::rust_panic_with_hook::ha6cb99ed099eb1c5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:841:13
[INFO] [stdout]   15:     0x5dc660f43d11 - std::panicking::begin_panic::{{closure}}::h33e716cda9dd9f13
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:770:9
[INFO] [stdout]   16:     0x5dc660f43cc6 - std::sys::backtrace::__rust_end_short_backtrace::he5526916ae5e4984
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:168:18
[INFO] [stdout]   17:     0x5dc660f3a9bd - std::panicking::begin_panic::hab2c3061c21f7a85
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:769:5
[INFO] [stdout]   18:     0x5dc660f3d0a5 - brain::operations::primitives::Primitives::check_collision::hf12bc0732ea1d2f9
[INFO] [stdout]                                at /opt/rustwide/workdir/src/operations/primitives.rs:50:25
[INFO] [stdout]   19:     0x5dc660f3ce7e - brain::operations::primitives::Primitives::register::h0aa08caba8e799f5
[INFO] [stdout]                                at /opt/rustwide/workdir/src/operations/primitives.rs:36:34
[INFO] [stdout]   20:     0x5dc660f430c6 - brain::operations::primitives::tests::redefined_primitive_same_type_id::hb3fe721995550f24
[INFO] [stdout]                                at /opt/rustwide/workdir/src/operations/primitives.rs:110:14
[INFO] [stdout]   21:     0x5dc660f430c6 - brain::operations::primitives::tests::redefined_primitive_same_type_id::{{closure}}::h025bf931e1884917
[INFO] [stdout]                                at /opt/rustwide/workdir/src/operations/primitives.rs:105:42
[INFO] [stdout]   22:     0x5dc660f430c6 - core::ops::function::FnOnce::call_once::hf0c0541585abcf6b
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5dc660f8fabb - core::ops::function::FnOnce::call_once::h2869fb5b0a2b0bdc
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5dc660f8fabb - test::__rust_begin_short_backtrace::h7dd7142bd62fa711
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:648:18
[INFO] [stdout]   25:     0x5dc660f8ecae - test::run_test_in_process::{{closure}}::h43a753f038d36b3f
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:74
[INFO] [stdout]   26:     0x5dc660f8ecae - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h0ca95dd3e12d1e16
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   27:     0x5dc660f8ecae - std::panicking::catch_unwind::do_call::he308587d70ac34ba
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   28:     0x5dc660f8ecae - std::panicking::catch_unwind::h30dcba31973e8fb0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   29:     0x5dc660f8ecae - std::panic::catch_unwind::hfb68364e5621fbee
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   30:     0x5dc660f8ecae - test::run_test_in_process::hcdcc2977903b998a
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:671:27
[INFO] [stdout]   31:     0x5dc660f8ecae - test::run_test::{{closure}}::h544a6550958c5d14
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:592:43
[INFO] [stdout]   32:     0x5dc660f52824 - test::run_test::{{closure}}::hb172e48ebe2b92c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/test/src/lib.rs:622:41
[INFO] [stdout]   33:     0x5dc660f52824 - std::sys::backtrace::__rust_begin_short_backtrace::h7e79d8706638bea0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/backtrace.rs:152:18
[INFO] [stdout]   34:     0x5dc660f561fa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hc4a275f1e71b8ab0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:559:17
[INFO] [stdout]   35:     0x5dc660f561fa - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h01ed0d242df78cfd
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/panic/unwind_safe.rs:272:9
[INFO] [stdout]   36:     0x5dc660f561fa - std::panicking::catch_unwind::do_call::h052f373fb905fee0
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:589:40
[INFO] [stdout]   37:     0x5dc660f561fa - std::panicking::catch_unwind::hb425d20c8ffb09c8
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panicking.rs:552:19
[INFO] [stdout]   38:     0x5dc660f561fa - std::panic::catch_unwind::ha0d5dfbf18fdeda5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/panic.rs:359:14
[INFO] [stdout]   39:     0x5dc660f561fa - std::thread::Builder::spawn_unchecked_::{{closure}}::hbe79182bd37949c7
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/thread/mod.rs:557:30
[INFO] [stdout]   40:     0x5dc660f561fa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hc096c4a06972fde5
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   41:     0x5dc660fc5e47 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h47377e27fb938a26
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   42:     0x5dc660fc5e47 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h72f1fe5d095abf57
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/alloc/src/boxed.rs:1971:9
[INFO] [stdout]   43:     0x5dc660fc5e47 - std::sys::pal::unix::thread::Thread::new::thread_start::h0a4d8e1b9c0d38cf
[INFO] [stdout]                                at /rustc/d98a5da813da67eb189387b8ccfb73cf481275d8/library/std/src/sys/pal/unix/thread.rs:97:17
[INFO] [stdout]   44:     0x78fc9c1aeaa4 - <unknown>
[INFO] [stdout]   45:     0x78fc9c23ba34 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] note: panic did not contain expected string
[INFO] [stdout]       panic message: "TypeId `0` is already registered to another primitive: `unit`"
[INFO] [stdout]  expected substring: "Redefined `unit` primitive in scope"
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     operations::primitives::tests::redefined_primitive
[INFO] [stdout]     operations::primitives::tests::redefined_primitive_same_type_id
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 29 passed; 2 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "4ae7c7e211f97a1fdf5508511743848223f55c1bec2bfedfad82465ba60d5e2f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4ae7c7e211f97a1fdf5508511743848223f55c1bec2bfedfad82465ba60d5e2f", kill_on_drop: false }`
[INFO] [stdout] 4ae7c7e211f97a1fdf5508511743848223f55c1bec2bfedfad82465ba60d5e2f
