[INFO] cloning repository https://github.com/cmr/tree-generator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cmr/tree-generator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Ftree-generator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcmr%2Ftree-generator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a3c72b028d073ce78078befedc3e9a0c6e9d28df [INFO] testing cmr/tree-generator 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%2Fcmr%2Ftree-generator" "/workspace/builds/worker-75/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cmr/tree-generator 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/cmr/tree-generator [INFO] finished tweaking git repo https://github.com/cmr/tree-generator [INFO] tweaked toml for git repo https://github.com/cmr/tree-generator written to /workspace/builds/worker-75/source/Cargo.toml [INFO] crate git repo https://github.com/cmr/tree-generator 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-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 481e22c2e7c24bd58ae5dd1a80dc694e1cd62432db41bd50e769c4802df992ee [INFO] running `Command { std: "docker" "start" "-a" "481e22c2e7c24bd58ae5dd1a80dc694e1cd62432db41bd50e769c4802df992ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "481e22c2e7c24bd58ae5dd1a80dc694e1cd62432db41bd50e769c4802df992ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "481e22c2e7c24bd58ae5dd1a80dc694e1cd62432db41bd50e769c4802df992ee", kill_on_drop: false }` [INFO] [stdout] 481e22c2e7c24bd58ae5dd1a80dc694e1cd62432db41bd50e769c4802df992ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea785ecdc5a8915d65814d8549b3bd1069a40121b5084e2a9d82ae1e75701adb [INFO] running `Command { std: "docker" "start" "-a" "ea785ecdc5a8915d65814d8549b3bd1069a40121b5084e2a9d82ae1e75701adb", kill_on_drop: false }` [INFO] [stderr] Compiling treegen v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | for _ in range(0i, padding) { [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: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:11:24 [INFO] [stdout] | [INFO] [stdout] 11 | for _ in range(0i, width - (padding * 2)) { [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: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:17:26 [INFO] [stdout] | [INFO] [stdout] 17 | for padding in range(0i, (width - 3) / 2) { [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: invalid suffix `i` for number literal [INFO] [stdout] --> src/main.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | for _ in range(0i, 3) { [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[E0425]: cannot find function `args` in module `std::os` [INFO] [stdout] --> src/main.rs:2:25 [INFO] [stdout] | [INFO] [stdout] 2 | let args = std::os::args(); [INFO] [stdout] | ^^^^ not found in `std::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 `int` in this scope [INFO] [stdout] --> src/main.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | let width: int = from_str(args[1].as_slice().trim()).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | | [INFO] [stdout] | not found in this scope [INFO] [stdout] | help: perhaps you intended to use this type: `i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_str` in this scope [INFO] [stdout] --> src/main.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | let width: int = from_str(args[1].as_slice().trim()).unwrap(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range_inclusive` in module `std::iter` [INFO] [stdout] --> src/main.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | for padding in std::iter::range_inclusive(0, (width - 1) / 2).rev() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `std::iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | for _ in range(0i, padding) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | for _ in range(0i, width - (padding * 2)) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | for padding in range(0i, (width - 3) / 2) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | for _ in range(0i, 3) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use std::slice::range; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treegen` due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "ea785ecdc5a8915d65814d8549b3bd1069a40121b5084e2a9d82ae1e75701adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea785ecdc5a8915d65814d8549b3bd1069a40121b5084e2a9d82ae1e75701adb", kill_on_drop: false }` [INFO] [stdout] ea785ecdc5a8915d65814d8549b3bd1069a40121b5084e2a9d82ae1e75701adb