[INFO] cloning repository https://github.com/darksv/compile-time-brainfck-interpreter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/darksv/compile-time-brainfck-interpreter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarksv%2Fcompile-time-brainfck-interpreter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarksv%2Fcompile-time-brainfck-interpreter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8e8a72952557ba636dbac1b79851f744d19b3dc8 [INFO] checking darksv/compile-time-brainfck-interpreter/8e8a72952557ba636dbac1b79851f744d19b3dc8 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarksv%2Fcompile-time-brainfck-interpreter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darksv/compile-time-brainfck-interpreter on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/darksv/compile-time-brainfck-interpreter [INFO] finished tweaking git repo https://github.com/darksv/compile-time-brainfck-interpreter [INFO] tweaked toml for git repo https://github.com/darksv/compile-time-brainfck-interpreter written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/darksv/compile-time-brainfck-interpreter 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b198b90f5c9b02fdbdb22f04891dab1a127a9bf954a524cfa224762ba2db3b9d [INFO] running `Command { std: "docker" "start" "-a" "b198b90f5c9b02fdbdb22f04891dab1a127a9bf954a524cfa224762ba2db3b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b198b90f5c9b02fdbdb22f04891dab1a127a9bf954a524cfa224762ba2db3b9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b198b90f5c9b02fdbdb22f04891dab1a127a9bf954a524cfa224762ba2db3b9d", kill_on_drop: false }` [INFO] [stdout] b198b90f5c9b02fdbdb22f04891dab1a127a9bf954a524cfa224762ba2db3b9d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 00aa147ea44c1ffdc115afbe1447f1743bca0730eba76ddd10550f92481c895d [INFO] running `Command { std: "docker" "start" "-a" "00aa147ea44c1ffdc115afbe1447f1743bca0730eba76ddd10550f92481c895d", kill_on_drop: false }` [INFO] [stderr] Checking ctbi v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_eval_limit)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed the limit entirely [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | #![feature(const_eval_limit)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed the limit entirely [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_eval_limit` in this scope [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | #![const_eval_limit = "0"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `const_eval_limit` in this scope [INFO] [stdout] --> src/main.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | #![const_eval_limit = "0"] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/main.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0-nightly and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(const_mut_refs)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inline_const` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(inline_const)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `inline_const` has been stable since 1.79.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(inline_const)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_methods` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(array_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `array_methods` has been stable since 1.77.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(array_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_read` has been stable since 1.71.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_ptr_read)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_ptr_read` has been stable since 1.71.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | #![feature(const_ptr_read)] [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_slice_from_raw_parts` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_slice_from_raw_parts` has been stable since 1.64.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | #![feature(const_slice_from_raw_parts)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/const_vec.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `Index` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/const_vec.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/const_vec.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `IndexMut` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/const_vec.rs:95:15 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static [Op]` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) const fn run() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static [Op]` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:52:36 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) const fn run() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static str` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) const fn run() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static str` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:52:64 [INFO] [stdout] | [INFO] [stdout] 52 | pub(crate) const fn run() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static [Op]` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | const fn run_ct() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static [Op]` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:60:28 [INFO] [stdout] | [INFO] [stdout] 60 | const fn run_ct() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static str` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | const fn run_ct() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `&'static str` can't be used as a const parameter type [INFO] [stdout] --> src/brainfuck.rs:60:56 [INFO] [stdout] | [INFO] [stdout] 60 | const fn run_ct() -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | ops[start] = Op::LoopStart(end + 1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | ops[start] = Op::LoopStart(end + 1); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/brainfuck.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { std::intrinsics::const_eval_select((), run_ct::, rt) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/brainfuck.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe { std::intrinsics::const_eval_select((), run_ct::, rt) } [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | if memory[ptr] != 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | if memory[ptr] == 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | Op::Print => output_buffer.push(memory[ptr]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | Op::Dec => memory[ptr] = memory[ptr].wrapping_sub(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:98:26 [INFO] [stdout] | [INFO] [stdout] 98 | if memory[ptr] != 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | Op::Inc => memory[ptr] = memory[ptr].wrapping_add(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | Op::Inc => memory[ptr] = memory[ptr].wrapping_add(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Op::Dec => memory[ptr] = memory[ptr].wrapping_sub(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:93:26 [INFO] [stdout] | [INFO] [stdout] 93 | if memory[ptr] == 0 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | memory[ptr] = if input_ptr < input.len() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:83:51 [INFO] [stdout] | [INFO] [stdout] 83 | Op::Print => output_buffer.push(memory[ptr]), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:82:44 [INFO] [stdout] | [INFO] [stdout] 82 | Op::Dec => memory[ptr] = memory[ptr].wrapping_sub(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:81:44 [INFO] [stdout] | [INFO] [stdout] 81 | Op::Inc => memory[ptr] = memory[ptr].wrapping_add(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:81:30 [INFO] [stdout] | [INFO] [stdout] 81 | Op::Inc => memory[ptr] = memory[ptr].wrapping_add(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:82:30 [INFO] [stdout] | [INFO] [stdout] 82 | Op::Dec => memory[ptr] = memory[ptr].wrapping_sub(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const operator in constant functions [INFO] [stdout] --> src/brainfuck.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | memory[ptr] = if input_ptr < input.len() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] help: add `#![feature(effects)]` to the crate attributes to enable [INFO] [stdout] --> src/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 + #![feature(effects)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0557, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0557, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `ctbi` (bin "ctbi") due to 18 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ctbi` (bin "ctbi" test) due to 18 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "00aa147ea44c1ffdc115afbe1447f1743bca0730eba76ddd10550f92481c895d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00aa147ea44c1ffdc115afbe1447f1743bca0730eba76ddd10550f92481c895d", kill_on_drop: false }` [INFO] [stdout] 00aa147ea44c1ffdc115afbe1447f1743bca0730eba76ddd10550f92481c895d