[INFO] fetching crate andiskaz 0.2.0... [INFO] checking andiskaz-0.2.0 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate andiskaz 0.2.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate andiskaz 0.2.0 [INFO] removed 1 missing examples [INFO] finished tweaking crates.io crate andiskaz 0.2.0 [INFO] tweaked toml for crates.io crate andiskaz 0.2.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate andiskaz 0.2.0 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate andiskaz 0.2.0 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gardiz v0.1.1 [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded priority-queue v1.1.1 [INFO] [stderr] Downloaded signal-hook v0.1.17 [INFO] [stderr] Downloaded addr2line v0.16.0 [INFO] [stderr] Downloaded crossterm v0.18.2 [INFO] [stderr] Downloaded serde_derive v1.0.129 [INFO] [stderr] Downloaded backtrace v0.3.61 [INFO] [stderr] Downloaded num-bigint v0.4.1 [INFO] [stderr] Downloaded serde v1.0.129 [INFO] [stderr] Downloaded object v0.26.2 [INFO] [stderr] Downloaded tokio v1.10.1 [INFO] [stderr] Downloaded gimli v0.25.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 785a7d65ccb0b4354e42f5a6eebf5bc6598ebc2145fc98ed756556f3d72df80d [INFO] running `Command { std: "docker" "start" "-a" "785a7d65ccb0b4354e42f5a6eebf5bc6598ebc2145fc98ed756556f3d72df80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "785a7d65ccb0b4354e42f5a6eebf5bc6598ebc2145fc98ed756556f3d72df80d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "785a7d65ccb0b4354e42f5a6eebf5bc6598ebc2145fc98ed756556f3d72df80d", kill_on_drop: false }` [INFO] [stdout] 785a7d65ccb0b4354e42f5a6eebf5bc6598ebc2145fc98ed756556f3d72df80d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=forbid" "-e" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef2c27ef99a056c56e7bee106e1abadb5d9834b7be81e9703ba0473de3e13bd6 [INFO] running `Command { std: "docker" "start" "-a" "ef2c27ef99a056c56e7bee106e1abadb5d9834b7be81e9703ba0473de3e13bd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking crossterm v0.18.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Checking futures-executor v0.3.16 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking andiskaz v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `guard` is never read [INFO] [stdout] --> src/terminal.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct TerminalGuard<'terminal> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 334 | /// Synchronization lock for application (exclusive). [INFO] [stdout] 335 | guard: AppSyncGuard<'terminal>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TerminalGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/terminal.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 454 | pub(crate) struct ServiceSyncGuard<'shared> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 455 | /// Inner lock guard. [INFO] [stdout] 456 | inner: RwLockReadGuard<'shared, ()>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceSyncGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/terminal.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub(crate) struct AppSyncGuard<'shared> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 462 | /// Inner lock guard. [INFO] [stdout] 463 | inner: RwLockWriteGuard<'shared, ()>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppSyncGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stdio.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/string.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/string.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/terminal.rs:447:23 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn conn_guard(&self) -> ConnGuard { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn conn_guard(&self) -> ConnGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `guard` is never read [INFO] [stdout] --> src/terminal.rs:335:5 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct TerminalGuard<'terminal> { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 334 | /// Synchronization lock for application (exclusive). [INFO] [stdout] 335 | guard: AppSyncGuard<'terminal>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TerminalGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/terminal.rs:456:5 [INFO] [stdout] | [INFO] [stdout] 454 | pub(crate) struct ServiceSyncGuard<'shared> { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 455 | /// Inner lock guard. [INFO] [stdout] 456 | inner: RwLockReadGuard<'shared, ()>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ServiceSyncGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `inner` is never read [INFO] [stdout] --> src/terminal.rs:463:5 [INFO] [stdout] | [INFO] [stdout] 461 | pub(crate) struct AppSyncGuard<'shared> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 462 | /// Inner lock guard. [INFO] [stdout] 463 | inner: RwLockWriteGuard<'shared, ()>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppSyncGuard` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/stdio.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/string.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/string.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter { [INFO] [stdout] | ^^^^^ -------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/terminal.rs:447:23 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn conn_guard(&self) -> ConnGuard { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn conn_guard(&self) -> ConnGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gardiz` [INFO] [stdout] --> examples/snakegame/snake.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gardiz::{direc::Direction, rect::Rect}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `gardiz` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gardiz`, use `cargo add gardiz` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gardiz` [INFO] [stdout] --> examples/snakegame/food.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use gardiz::rect::Rect; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `gardiz` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gardiz`, use `cargo add gardiz` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `gardiz` [INFO] [stdout] --> examples/snakegame/game.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use gardiz::{direc::Direction, rect::Rect}; [INFO] [stdout] | ^^^^^^ use of unresolved module or unlinked crate `gardiz` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `gardiz`, use `cargo add gardiz` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `checked_move` found for struct `Vec2` in the current scope [INFO] [stdout] --> examples/snakegame/snake.rs:63:41 [INFO] [stdout] | [INFO] [stdout] 63 | let new_head = self.segments[0].checked_move(self.direction)?; [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `Vec2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `andiskaz` (example "snakegame") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ef2c27ef99a056c56e7bee106e1abadb5d9834b7be81e9703ba0473de3e13bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef2c27ef99a056c56e7bee106e1abadb5d9834b7be81e9703ba0473de3e13bd6", kill_on_drop: false }` [INFO] [stdout] ef2c27ef99a056c56e7bee106e1abadb5d9834b7be81e9703ba0473de3e13bd6