[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 beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrain-lang%2Fbrain" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brain-lang/brain on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-12/source/Cargo.toml [INFO] crate git repo https://github.com/brain-lang/brain already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0011e2aaf9ac335e554110687a8cbdd2728b1f8072e4751c3ab27c7ff4acc8a0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0011e2aaf9ac335e554110687a8cbdd2728b1f8072e4751c3ab27c7ff4acc8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0011e2aaf9ac335e554110687a8cbdd2728b1f8072e4751c3ab27c7ff4acc8a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0011e2aaf9ac335e554110687a8cbdd2728b1f8072e4751c3ab27c7ff4acc8a0", kill_on_drop: false }` [INFO] [stdout] 0011e2aaf9ac335e554110687a8cbdd2728b1f8072e4751c3ab27c7ff4acc8a0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5dd6c318a3e076ffe2807a88eb4d22ad4e105840e843702d405a06e2af6f49c2 [INFO] running `Command { std: "docker" "start" "-a" "5dd6c318a3e076ffe2807a88eb4d22ad4e105840e843702d405a06e2af6f49c2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.22 [INFO] [stderr] Compiling unicode-segmentation v1.2.0 [INFO] [stderr] Compiling ansi_term v0.9.0 [INFO] [stderr] Compiling bitflags v0.8.2 [INFO] [stderr] Compiling vec_map v0.8.0 [INFO] [stderr] Compiling unicode-width v0.1.4 [INFO] [stderr] Compiling strsim v0.6.0 [INFO] [stderr] Compiling pest v0.4.1 [INFO] [stderr] Compiling atty v0.2.2 [INFO] [stderr] Compiling term_size v0.3.0 [INFO] [stderr] Compiling clap v2.24.2 [INFO] [stderr] Compiling brain v0.1.2 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] 234 | | } [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] 378 | | } [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - operations: Rc OperationsResult>, [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] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 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] 72 | | } [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: 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] 72 | | } [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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.31s [INFO] running `Command { std: "docker" "inspect" "5dd6c318a3e076ffe2807a88eb4d22ad4e105840e843702d405a06e2af6f49c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5dd6c318a3e076ffe2807a88eb4d22ad4e105840e843702d405a06e2af6f49c2", kill_on_drop: false }` [INFO] [stdout] 5dd6c318a3e076ffe2807a88eb4d22ad4e105840e843702d405a06e2af6f49c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48b75ae1a160ee473e42f8711c635091dd379e0fc6e7d99a5f464f11d17f3221 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "48b75ae1a160ee473e42f8711c635091dd379e0fc6e7d99a5f464f11d17f3221", kill_on_drop: false }` [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] 234 | | } [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] 378 | | } [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - operations: Rc OperationsResult>, [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] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 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] 72 | | } [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: 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] 72 | | } [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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling brain v0.1.2 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] 234 | | } [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] 378 | | } [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] = note: `#[warn(bare_trait_objects)]` on by default [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 81 - operations: Rc OperationsResult>, [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] 72 | | } [INFO] [stdout] 73 | | } [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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: 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] 72 | | } [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: 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] 72 | | } [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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.59s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/brain-84609d02fb198e07) [INFO] [stderr] Executable unittests src/bin/brain.rs (/opt/rustwide/target/debug/deps/brain-959451a1d4ddd453) [INFO] running `Command { std: "docker" "inspect" "48b75ae1a160ee473e42f8711c635091dd379e0fc6e7d99a5f464f11d17f3221", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b75ae1a160ee473e42f8711c635091dd379e0fc6e7d99a5f464f11d17f3221", kill_on_drop: false }` [INFO] [stdout] 48b75ae1a160ee473e42f8711c635091dd379e0fc6e7d99a5f464f11d17f3221 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2eee1deffff2d787a41342843e19d6fd3080c64675b316ea9cd7a5981148496d [INFO] running `Command { std: "docker" "start" "-a" "2eee1deffff2d787a41342843e19d6fd3080c64675b316ea9cd7a5981148496d", kill_on_drop: false }` [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] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [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] 234 | | } [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] 378 | | } [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 OperationsResult>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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 [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 81 - operations: Rc OperationsResult>, [INFO] [stderr] 81 + operations: Rc 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, [INFO] [stderr] 69 | | array: Option, [INFO] [stderr] ... | [INFO] [stderr] 72 | | } [INFO] [stderr] 73 | | } [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [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 [INFO] [stderr] = note: the debug_assert!() 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] 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, [INFO] [stderr] 69 | | array: Option, [INFO] [stderr] ... | [INFO] [stderr] 72 | | } [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 [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, [INFO] [stderr] 69 | | array: Option, [INFO] [stderr] ... | [INFO] [stderr] 72 | | } [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 [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: `brain` (lib) generated 9 warnings [INFO] [stderr] warning: `brain` (lib test) generated 9 warnings (9 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/brain-84609d02fb198e07) [INFO] [stdout] [INFO] [stdout] running 32 tests [INFO] [stdout] test core::primitives::array::tests::defines_primitive ... ok [INFO] [stdout] test operations::block::tests::nested_scopes ... ignored [INFO] [stdout] test operations::block::tests::empty_block ... ok [INFO] [stdout] test operations::item_type::tests::matches_signature ... ok [INFO] [stdout] test operations::module::tests::empty_module ... ok [INFO] [stdout] test operations::primitives::tests::can_define_primitives ... ok [INFO] [stdout] test operations::declaration::tests::declaration_only ... ok [INFO] [stdout] test operations::statement::tests::comment ... ok [INFO] [stdout] test parser::ast::tests::concat_identifiers ... ok [INFO] [stdout] test core::primitives::boolean::tests::constants ... ok [INFO] [stdout] test operations::scope::tests::multiple_definitions ... ok [INFO] [stdout] test memory::static_allocator::tests::cannot_allocate_default_memory_block ... ok [INFO] [stdout] test operations::program::tests::empty_program ... ok [INFO] [stdout] test operations::scope::tests::defines_unit_primitive ... ok [INFO] [stdout] test memory::static_allocator::tests::allocating_zero_returns_default ... ok [INFO] [stdout] test core::primitives::boolean::tests::defines_primitive ... ok [INFO] [stdout] test parser::grammar::tests::number ... ok [INFO] [stdout] test parser::grammar::tests::string_literal ... ok [INFO] [stdout] test parser::grammar::tests::numeric_literal ... ok [INFO] [stdout] test parser::grammar::tests::empty_program ... ok [INFO] [stdout] test parser::grammar::tests::string_literal_escapes ... ok [INFO] [stdout] test parser::grammar::tests::field_access ... ok [INFO] [stdout] test parser::grammar::tests::functions_field_access ... ok [INFO] [stdout] test parser::grammar::tests::leading_whitespace ... ok [INFO] [stdout] test core::primitives::u8::tests::defines_primitive ... ok [INFO] [stdout] test parser::grammar::tests::conditionals ... ok [INFO] [stdout] test parser::grammar::tests::binary_operators ... ok [INFO] [stdout] test operations::primitives::tests::redefined_primitive - should panic ... ok [INFO] [stdout] test operations::primitives::tests::redefined_primitive_same_type_id - should panic ... ok [INFO] [stdout] test operations::primitives::tests::unknown_primitive - should panic ... ok [INFO] [stdout] test operations::primitives::tests::type_collision - should panic ... ok [INFO] [stdout] test operations::primitives::tests::access_without_registration - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/brain.rs (/opt/rustwide/target/debug/deps/brain-959451a1d4ddd453) [INFO] [stderr] Doc-tests brain [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2eee1deffff2d787a41342843e19d6fd3080c64675b316ea9cd7a5981148496d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2eee1deffff2d787a41342843e19d6fd3080c64675b316ea9cd7a5981148496d", kill_on_drop: false }` [INFO] [stdout] 2eee1deffff2d787a41342843e19d6fd3080c64675b316ea9cd7a5981148496d