[INFO] cloning repository https://github.com/mreboland/rustStructs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mreboland/rustStructs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustStructs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustStructs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f59837770c0262185eca3af48fa90ac146e48a20 [INFO] testing mreboland/rustStructs against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmreboland%2FrustStructs" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mreboland/rustStructs 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/mreboland/rustStructs [INFO] finished tweaking git repo https://github.com/mreboland/rustStructs [INFO] tweaked toml for git repo https://github.com/mreboland/rustStructs written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/mreboland/rustStructs 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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] ad0e5f5b18ccf17559b1ea19e271551b6a07558a8cce58d799451c1ed8c3f8b5 [INFO] running `Command { std: "docker" "start" "-a" "ad0e5f5b18ccf17559b1ea19e271551b6a07558a8cce58d799451c1ed8c3f8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad0e5f5b18ccf17559b1ea19e271551b6a07558a8cce58d799451c1ed8c3f8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad0e5f5b18ccf17559b1ea19e271551b6a07558a8cce58d799451c1ed8c3f8b5", kill_on_drop: false }` [INFO] [stdout] ad0e5f5b18ccf17559b1ea19e271551b6a07558a8cce58d799451c1ed8c3f8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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] f1731aaa51b0741059258c75ab822414c95d526c801153e5c461696c8db2adf5 [INFO] running `Command { std: "docker" "start" "-a" "f1731aaa51b0741059258c75ab822414c95d526c801153e5c461696c8db2adf5", kill_on_drop: false }` [INFO] [stdout] error[E0743]: C-variadic type `...` may not be nested inside another type [INFO] [stdout] --> src/main.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | pixels: ..., [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling structs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0743]: C-variadic type `...` may not be nested inside another type [INFO] [stdout] --> src/main.rs:58:15 [INFO] [stdout] | [INFO] [stdout] 58 | size: ... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `structs` due to 17 previous errors; 1 warning emitted [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/main.rs:101:6 [INFO] [stdout] | [INFO] [stdout] 101 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 102 | [INFO] [stdout] 103 | let (hokey1, hokey2) = chop(hokey); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:127:55 [INFO] [stdout] | [INFO] [stdout] 127 | fn Bounds(elem0: usize, elem1: usize) -> Bounds { ... } [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 127 | fn Bounds(elem0: usize, elem1: usize) -> Bounds { .. } [INFO] [stdout] | ~~ [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 127 | fn Bounds(elem0: usize, elem1: usize) -> Bounds { ..= } [INFO] [stdout] | ~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:127:55 [INFO] [stdout] | [INFO] [stdout] 127 | fn Bounds(elem0: usize, elem1: usize) -> Bounds { ... } [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected type, found `{` [INFO] [stdout] --> src/main.rs:264:25 [INFO] [stdout] | [INFO] [stdout] 263 | impl Queue { [INFO] [stdout] | - while parsing this item list starting here [INFO] [stdout] 264 | pub fn new() -> { [INFO] [stdout] | ^ expected type [INFO] [stdout] ... [INFO] [stdout] 267 | } [INFO] [stdout] | - the item list ends here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `q` [INFO] [stdout] --> src/main.rs:270:29 [INFO] [stdout] | [INFO] [stdout] 270 | let mut q = Queue::new() [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 271 | [INFO] [stdout] 272 | q.push('*'); [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `...` [INFO] [stdout] --> src/main.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | ... [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: use `..` for an exclusive range [INFO] [stdout] | [INFO] [stdout] 273 | .. [INFO] [stdout] | [INFO] [stdout] help: or `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] 273 | ..= [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0586]: inclusive range with no end [INFO] [stdout] --> src/main.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | ... [INFO] [stdout] | ^^^ help: use `..` instead [INFO] [stdout] | [INFO] [stdout] = note: inclusive ranges must be bounded at the end (`..=b` or `a..=b`) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `;` or `}`, found keyword `pub` [INFO] [stdout] --> src/main.rs:286:5 [INFO] [stdout] | [INFO] [stdout] 273 | ... [INFO] [stdout] | - expected one of `;` or `}` [INFO] [stdout] ... [INFO] [stdout] 286 | pub struct Queue { [INFO] [stdout] | ^^^ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `GrayscaleMap` is defined multiple times [INFO] [stdout] --> src/main.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct GrayscaleMap { [INFO] [stdout] | ------------------- previous definition of the type `GrayscaleMap` here [INFO] [stdout] ... [INFO] [stdout] 49 | pub struct GrayscaleMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `GrayscaleMap` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `GrayscaleMap` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `GrayscaleMap` is defined multiple times [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct GrayscaleMap { [INFO] [stdout] | ------------------- previous definition of the type `GrayscaleMap` here [INFO] [stdout] ... [INFO] [stdout] 56 | pub struct GrayscaleMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ `GrayscaleMap` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `GrayscaleMap` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Bounds` is defined multiple times [INFO] [stdout] --> src/main.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct Bounds(usize, usize); [INFO] [stdout] | ---------------------------- previous definition of the type `Bounds` here [INFO] [stdout] ... [INFO] [stdout] 124 | pub struct Bounds(pub usize, pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Bounds` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Bounds` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Bounds` is defined multiple times [INFO] [stdout] --> src/main.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 115 | struct Bounds(usize, usize); [INFO] [stdout] | ---------------------------- previous definition of the value `Bounds` here [INFO] [stdout] ... [INFO] [stdout] 127 | fn Bounds(elem0: usize, elem1: usize) -> Bounds { ... } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Bounds` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Bounds` must be defined only once in the value namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `GrayscaleMap` is defined multiple times [INFO] [stdout] --> src/main.rs:155:5 [INFO] [stdout] | [INFO] [stdout] 20 | struct GrayscaleMap { [INFO] [stdout] | ------------------- previous definition of the type `GrayscaleMap` here [INFO] [stdout] ... [INFO] [stdout] 155 | struct GrayscaleMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ `GrayscaleMap` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `GrayscaleMap` must be defined only once in the type namespace of this block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `borrow::BorrowMut` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{borrow::BorrowMut, u32}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `Queue` in the current scope [INFO] [stdout] --> src/main.rs:270:24 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct Queue { [INFO] [stdout] | ---------------- function or associated item `new` not found for this [INFO] [stdout] ... [INFO] [stdout] 270 | let mut q = Queue::new() [INFO] [stdout] | ^^^ function or associated item not found in `Queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 16 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0428, E0586, E0599, E0743. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0428`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f1731aaa51b0741059258c75ab822414c95d526c801153e5c461696c8db2adf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1731aaa51b0741059258c75ab822414c95d526c801153e5c461696c8db2adf5", kill_on_drop: false }` [INFO] [stdout] f1731aaa51b0741059258c75ab822414c95d526c801153e5c461696c8db2adf5