[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 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarksv%2Fcompile-time-brainfck-interpreter" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darksv/compile-time-brainfck-interpreter on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-3-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 041f8eaaa786e3348e25641f2a0f3ff41f6c9360274c55402f267bc0ca641f56 [INFO] running `Command { std: "docker" "start" "-a" "041f8eaaa786e3348e25641f2a0f3ff41f6c9360274c55402f267bc0ca641f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "041f8eaaa786e3348e25641f2a0f3ff41f6c9360274c55402f267bc0ca641f56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "041f8eaaa786e3348e25641f2a0f3ff41f6c9360274c55402f267bc0ca641f56", kill_on_drop: false }` [INFO] [stdout] 041f8eaaa786e3348e25641f2a0f3ff41f6c9360274c55402f267bc0ca641f56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6d43d3e4c76c0937c8d76322084330e8714ce48534d25731e0f56d7e16c8e7d [INFO] running `Command { std: "docker" "start" "-a" "b6d43d3e4c76c0937c8d76322084330e8714ce48534d25731e0f56d7e16c8e7d", 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] 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] = note: `Op` must implement `ConstParamTy`, but it does not [INFO] [stdout] = note: `[Op]` must implement `ConstParamTy`, but it does not [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] = note: `Op` must implement `ConstParamTy`, but it does not [INFO] [stdout] = note: `[Op]` must implement `ConstParamTy`, but it does not [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] = note: `Op` must implement `ConstParamTy`, but it does not [INFO] [stdout] = note: `[Op]` must implement `ConstParamTy`, but it does not [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] = note: `Op` must implement `ConstParamTy`, but it does not [INFO] [stdout] = note: `[Op]` must implement `ConstParamTy`, but it does not [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:95:1 [INFO] [stdout] | [INFO] [stdout] 95 | impl const ops::IndexMut for ConstVec { [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: impl defined here, but it is not `const` [INFO] [stdout] --> src/const_vec.rs:86:1 [INFO] [stdout] | [INFO] [stdout] 86 | impl const ops::Index for ConstVec { [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 13 previous errors [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 13 previous errors [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 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `ctbi` (bin "ctbi" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "b6d43d3e4c76c0937c8d76322084330e8714ce48534d25731e0f56d7e16c8e7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d43d3e4c76c0937c8d76322084330e8714ce48534d25731e0f56d7e16c8e7d", kill_on_drop: false }` [INFO] [stdout] b6d43d3e4c76c0937c8d76322084330e8714ce48534d25731e0f56d7e16c8e7d [INFO] checking darksv/compile-time-brainfck-interpreter against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdarksv%2Fcompile-time-brainfck-interpreter" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/darksv/compile-time-brainfck-interpreter on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-3-tc2/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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ab706044fa73d91442faf10636c58095149795de251fd748fffbc31f9dbce67 [INFO] running `Command { std: "docker" "start" "-a" "0ab706044fa73d91442faf10636c58095149795de251fd748fffbc31f9dbce67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ab706044fa73d91442faf10636c58095149795de251fd748fffbc31f9dbce67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ab706044fa73d91442faf10636c58095149795de251fd748fffbc31f9dbce67", kill_on_drop: false }` [INFO] [stdout] 0ab706044fa73d91442faf10636c58095149795de251fd748fffbc31f9dbce67 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f4242bca5606fe318bdaaf1f0192c0c09482d59a3a545619d15cac261788a711 [INFO] running `Command { std: "docker" "start" "-a" "f4242bca5606fe318bdaaf1f0192c0c09482d59a3a545619d15cac261788a711", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "f4242bca5606fe318bdaaf1f0192c0c09482d59a3a545619d15cac261788a711", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f4242bca5606fe318bdaaf1f0192c0c09482d59a3a545619d15cac261788a711", kill_on_drop: false }` [INFO] [stdout] f4242bca5606fe318bdaaf1f0192c0c09482d59a3a545619d15cac261788a711