[INFO] cloning repository https://github.com/kstrempel/rusty_ants [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstrempel/rusty_ants" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab75e20128379935e3aa7e1c62c594bbef55089e [INFO] checking kstrempel/rusty_ants against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrempel%2Frusty_ants" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstrempel/rusty_ants 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/kstrempel/rusty_ants [INFO] finished tweaking git repo https://github.com/kstrempel/rusty_ants [INFO] tweaked toml for git repo https://github.com/kstrempel/rusty_ants written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kstrempel/rusty_ants 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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b60b2dadd286d35f0aff54bfef00e29d1d5ca6b8990bba219879fccb20ca633a [INFO] running `Command { std: "docker" "start" "-a" "b60b2dadd286d35f0aff54bfef00e29d1d5ca6b8990bba219879fccb20ca633a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b60b2dadd286d35f0aff54bfef00e29d1d5ca6b8990bba219879fccb20ca633a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b60b2dadd286d35f0aff54bfef00e29d1d5ca6b8990bba219879fccb20ca633a", kill_on_drop: false }` [INFO] [stdout] b60b2dadd286d35f0aff54bfef00e29d1d5ca6b8990bba219879fccb20ca633a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0bc5f7c391440f9dd6fab8258b2c6a2dc82b028da76c9fc1171181d2827234b6 [INFO] running `Command { std: "docker" "start" "-a" "0bc5f7c391440f9dd6fab8258b2c6a2dc82b028da76c9fc1171181d2827234b6", kill_on_drop: false }` [INFO] [stderr] Checking rusty_ants v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `rand` in `std` [INFO] [stdout] --> src/main.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | use std::rand::distributions::{IndependentSample, Range}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::rand; [INFO] [stdout] | ^^^^^^^^^ no `rand` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | x: 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/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | y: 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/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec { [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/main.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec { [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/main.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let counter = range(0u, count); [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 `pow` in module `num` [INFO] [stdout] --> src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [INFO] [stdout] | ^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pow` in module `num` [INFO] [stdout] --> src/main.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [INFO] [stdout] | ^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `uint` in this scope [INFO] [stdout] --> src/main.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | x: 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/main.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | y: 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/main.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec { [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/main.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec { [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/main.rs:10:53 [INFO] [stdout] | [INFO] [stdout] 10 | fn generate_world(height: uint, width: uint, count: uint) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `range` in this scope [INFO] [stdout] --> src/main.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | let counter = range(0u, count); [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 `pow` in module `num` [INFO] [stdout] --> src/main.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [INFO] [stdout] | ^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `pow` in module `num` [INFO] [stdout] --> src/main.rs:20:50 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [INFO] [stdout] | ^^^ not found in `num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: invalid suffix `u` for number literal [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let counter = range(0u, count); [INFO] [stdout] | ^^ invalid suffix `u` [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:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [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:20:54 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [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 `u` for number literal [INFO] [stdout] --> src/main.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | let counter = range(0u, count); [INFO] [stdout] | ^^ invalid suffix `u` [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:20:26 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [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:20:54 [INFO] [stdout] | [INFO] [stdout] 20 | let result = (num::pow(2i, (a.x - b.y)) + num::pow(2i, (a.y-b.x))); [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[E0599]: the method `pop` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ------------ doesn't satisfy `Point: Sized` [INFO] [stdout] ... [INFO] [stdout] 27 | let a = world.pop().unwrap(); [INFO] [stdout] | ^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Point: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:27:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ------------ doesn't satisfy `Point: Sized` [INFO] [stdout] ... [INFO] [stdout] 27 | let a = world.pop().unwrap(); [INFO] [stdout] | ^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Point: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ------------ doesn't satisfy `Point: Sized` [INFO] [stdout] ... [INFO] [stdout] 28 | let b = world.pop().unwrap(); [INFO] [stdout] | ^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Point: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `pop` exists for struct `Vec`, but its trait bounds were not satisfied [INFO] [stdout] --> src/main.rs:28:17 [INFO] [stdout] | [INFO] [stdout] 5 | struct Point { [INFO] [stdout] | ------------ doesn't satisfy `Point: Sized` [INFO] [stdout] ... [INFO] [stdout] 28 | let b = world.pop().unwrap(); [INFO] [stdout] | ^^^ method cannot be called on `Vec` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `{type error}: Sized` [INFO] [stdout] which is required by `Point: Sized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rusty_ants` (bin "rusty_ants") due to 16 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rusty_ants` (bin "rusty_ants" test) due to 16 previous errors [INFO] running `Command { std: "docker" "inspect" "0bc5f7c391440f9dd6fab8258b2c6a2dc82b028da76c9fc1171181d2827234b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0bc5f7c391440f9dd6fab8258b2c6a2dc82b028da76c9fc1171181d2827234b6", kill_on_drop: false }` [INFO] [stdout] 0bc5f7c391440f9dd6fab8258b2c6a2dc82b028da76c9fc1171181d2827234b6