[INFO] cloning repository https://github.com/faxal/bfi [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/faxal/bfi" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaxal%2Fbfi", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaxal%2Fbfi'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a6518deee841bbc8c5fb92eab0756a3e2c1f506e [INFO] testing faxal/bfi against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffaxal%2Fbfi" "/workspace/builds/worker-18/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-18/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/faxal/bfi on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/faxal/bfi [INFO] finished tweaking git repo https://github.com/faxal/bfi [INFO] tweaked toml for git repo https://github.com/faxal/bfi written to /workspace/builds/worker-18/source/Cargo.toml [INFO] crate git repo https://github.com/faxal/bfi already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: path `/workspace/builds/worker-18/source/src/bfi.rs` was erroneously implicitly accepted for binary `bfi`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05e292efb1b8068c2589828587c69e2fa2f563dcabc93fc1922aca3cf8d2c051 [INFO] running `Command { std: "docker" "start" "-a" "05e292efb1b8068c2589828587c69e2fa2f563dcabc93fc1922aca3cf8d2c051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05e292efb1b8068c2589828587c69e2fa2f563dcabc93fc1922aca3cf8d2c051", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e292efb1b8068c2589828587c69e2fa2f563dcabc93fc1922aca3cf8d2c051", kill_on_drop: false }` [INFO] [stdout] 05e292efb1b8068c2589828587c69e2fa2f563dcabc93fc1922aca3cf8d2c051 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c83a76e6beae5d6a947ed29b08092b54ed96c21b8c14b2461997f99a6af686e [INFO] running `Command { std: "docker" "start" "-a" "2c83a76e6beae5d6a947ed29b08092b54ed96c21b8c14b2461997f99a6af686e", kill_on_drop: false }` [INFO] [stderr] warning: path `/opt/rustwide/workdir/src/bfi.rs` was erroneously implicitly accepted for binary `bfi`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling BFI v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/brainfuck/mod.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | let mut depth = 0i; [INFO] [stdout] | ^^ invalid suffix `i` [INFO] [stdout] | [INFO] [stdout] = help: the suffix must be one of the numeric types (`u32`, `isize`, `f32`, etc.) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `collections` [INFO] [stdout] --> src/brainfuck/mod.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate collections; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::File` [INFO] [stdout] --> src/bfi.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{File, stdin}; [INFO] [stdout] | ^^^^ no `File` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::io::Reader` [INFO] [stdout] --> src/brainfuck/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::Reader; [INFO] [stdout] | ^^^^^^^^^------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `Read` [INFO] [stdout] | no `Reader` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/brainfuck/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | memptr: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/brainfuck/mod.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | codeptr: uint, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/brainfuck/mod.rs:12:20 [INFO] [stdout] | [INFO] [stdout] 8 | struct Memory { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 12 | cache: HashMap [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/brainfuck/mod.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 8 | struct Memory { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 12 | cache: HashMap [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/brainfuck/mod.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | length: uint [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/brainfuck/mod.rs:51:40 [INFO] [stdout] | [INFO] [stdout] 51 | if state.memptr as uint > state.mem.len()-1{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/brainfuck/mod.rs:55:45 [INFO] [stdout] | [INFO] [stdout] 55 | '<' => if !(state.memptr as uint <= 0) { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `args` in module `os` [INFO] [stdout] --> src/bfi.rs:9:20 [INFO] [stdout] | [INFO] [stdout] 9 | let args = os::args(); [INFO] [stdout] | ^^^^ not found in `os` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::env::args; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Reader` in this scope [INFO] [stdout] --> src/bfi.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let mut reader : Box = if *file == "-" { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Path` [INFO] [stdout] --> src/bfi.rs:21:25 [INFO] [stdout] | [INFO] [stdout] 21 | box File::open(&Path::new(file)) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use std::path::Path; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/brainfuck/mod.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | let code = box reader.read_to_end().ok().unwrap_or(Vec::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/brainfuck/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | mem: box vec![0], [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/bfi.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | box stdin() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: box expression syntax is experimental; you can call `Box::new` instead [INFO] [stdout] --> src/bfi.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | box File::open(&Path::new(file)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #49733 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 18 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0463, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `BFI` due to 19 previous errors [INFO] running `Command { std: "docker" "inspect" "2c83a76e6beae5d6a947ed29b08092b54ed96c21b8c14b2461997f99a6af686e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c83a76e6beae5d6a947ed29b08092b54ed96c21b8c14b2461997f99a6af686e", kill_on_drop: false }` [INFO] [stdout] 2c83a76e6beae5d6a947ed29b08092b54ed96c21b8c14b2461997f99a6af686e