[INFO] cloning repository https://github.com/Inerska/interpreter-bf [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Inerska/interpreter-bf" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInerska%2Finterpreter-bf", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInerska%2Finterpreter-bf'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50e18d63503ee60cdaf2a4b4e2514cc5897d11e9 [INFO] checking Inerska/interpreter-bf against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInerska%2Finterpreter-bf" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Inerska/interpreter-bf on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Inerska/interpreter-bf [INFO] finished tweaking git repo https://github.com/Inerska/interpreter-bf [INFO] tweaked toml for git repo https://github.com/Inerska/interpreter-bf written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/Inerska/interpreter-bf already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f783643ae4df21602dd1c3c0b9f56b5a986b6f8115c76d0174281eb5a9785d6d [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" "f783643ae4df21602dd1c3c0b9f56b5a986b6f8115c76d0174281eb5a9785d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f783643ae4df21602dd1c3c0b9f56b5a986b6f8115c76d0174281eb5a9785d6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f783643ae4df21602dd1c3c0b9f56b5a986b6f8115c76d0174281eb5a9785d6d", kill_on_drop: false }` [INFO] [stdout] f783643ae4df21602dd1c3c0b9f56b5a986b6f8115c76d0174281eb5a9785d6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--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] 66c323c26d25de3fd524f4a3b3e171ea18e72ac207b3860a6e5fd33b99c42085 [INFO] running `Command { std: "docker" "start" "-a" "66c323c26d25de3fd524f4a3b3e171ea18e72ac207b3860a6e5fd33b99c42085", kill_on_drop: false }` [INFO] [stderr] Checking interpreter-Bf v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `parse` in module `parser` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", parser::parse(">+++++>+++>+++>+++++>+++>+++>+++++>++++++>+>++>+++>++++>++++>+++>+++>+++++>+>+>++++>+++++++>+>+++++>+>+... [INFO] [stdout] | ^^^^^ not found in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `*mut char` [INFO] [stdout] --> src/parser.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | while input[iterator] != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `*mut char` [INFO] [stdout] --> src/parser.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | current = input[iterator]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse` in module `parser` [INFO] [stdout] --> src/main.rs:4:28 [INFO] [stdout] | [INFO] [stdout] 4 | println!("{}", parser::parse(">+++++>+++>+++>+++++>+++>+++>+++++>++++++>+>++>+++>++++>++++>+++>+++>+++++>+>+>++++>+++++++>+>+++++>+>+... [INFO] [stdout] | ^^^^^ not found in `parser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `*mut char` [INFO] [stdout] --> src/parser.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | while input[iterator] != 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `*mut char` [INFO] [stdout] --> src/parser.rs:15:23 [INFO] [stdout] | [INFO] [stdout] 15 | current = input[iterator]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] 18 | Some(OperatorCode::RightShift) => ptr += 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] 18 | Some(OperatorCode::RightShift) => ptr += 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] 18 | Some(OperatorCode::RightShift) => ptr += 1, [INFO] [stdout] 19 | Some(OperatorCode::LeftShift) => ptr -= 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] ... [INFO] [stdout] 20 | Some(OperatorCode::Plus) => *ptr += 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] ... [INFO] [stdout] 21 | Some(OperatorCode::Minus) => *ptr -= 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `*mut char` [INFO] [stdout] --> src/parser.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | Some(OperatorCode::RightShift) => ptr += 1, [INFO] [stdout] | ---^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `*mut char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `-=` cannot be applied to type `*mut char` [INFO] [stdout] --> src/parser.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | Some(OperatorCode::LeftShift) => ptr -= 1, [INFO] [stdout] | ---^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `-=` on type `*mut char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `char` [INFO] [stdout] --> src/parser.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | Some(OperatorCode::Plus) => *ptr += 1, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `-=` cannot be applied to type `char` [INFO] [stdout] --> src/parser.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | Some(OperatorCode::Minus) => *ptr -= 1, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `-=` on type `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] 18 | Some(OperatorCode::RightShift) => ptr += 1, [INFO] [stdout] 19 | Some(OperatorCode::LeftShift) => ptr -= 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] ... [INFO] [stdout] 20 | Some(OperatorCode::Plus) => *ptr += 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/parser.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 17 | match OperatorCode::from(current) { [INFO] [stdout] | --------------------------- this expression has type `std::result::Result` [INFO] [stdout] ... [INFO] [stdout] 21 | Some(OperatorCode::Minus) => *ptr -= 1, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::result::Result`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result` [INFO] [stdout] found enum `Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `*mut char` [INFO] [stdout] --> src/parser.rs:18:51 [INFO] [stdout] | [INFO] [stdout] 18 | Some(OperatorCode::RightShift) => ptr += 1, [INFO] [stdout] | ---^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `*mut char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `-=` cannot be applied to type `*mut char` [INFO] [stdout] --> src/parser.rs:19:50 [INFO] [stdout] | [INFO] [stdout] 19 | Some(OperatorCode::LeftShift) => ptr -= 1, [INFO] [stdout] | ---^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `-=` on type `*mut char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `+=` cannot be applied to type `char` [INFO] [stdout] --> src/parser.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | Some(OperatorCode::Plus) => *ptr += 1, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `+=` on type `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0368]: binary assignment operation `-=` cannot be applied to type `char` [INFO] [stdout] --> src/parser.rs:21:46 [INFO] [stdout] | [INFO] [stdout] 21 | Some(OperatorCode::Minus) => *ptr -= 1, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | cannot use `-=` on type `char` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `interpreter-Bf` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0368, E0425, E0608. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "66c323c26d25de3fd524f4a3b3e171ea18e72ac207b3860a6e5fd33b99c42085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66c323c26d25de3fd524f4a3b3e171ea18e72ac207b3860a6e5fd33b99c42085", kill_on_drop: false }` [INFO] [stdout] 66c323c26d25de3fd524f4a3b3e171ea18e72ac207b3860a6e5fd33b99c42085