[INFO] fetching crate andiskaz 0.2.0... [INFO] checking andiskaz-0.2.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate andiskaz 0.2.0 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate andiskaz 0.2.0 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num-rational v0.4.0 [INFO] [stderr] Downloaded num-complex v0.4.0 [INFO] [stderr] Downloaded gardiz v0.1.1 [INFO] [stderr] Downloaded futures-sink v0.3.16 [INFO] [stderr] Downloaded futures-task v0.3.16 [INFO] [stderr] Downloaded priority-queue v1.1.1 [INFO] [stderr] Downloaded crossterm_winapi v0.6.2 [INFO] [stderr] Downloaded futures v0.3.16 [INFO] [stderr] Downloaded cc v1.0.69 [INFO] [stderr] Downloaded signal-hook v0.1.17 [INFO] [stderr] Downloaded futures-channel v0.3.16 [INFO] [stderr] Downloaded num-bigint v0.4.1 [INFO] [stderr] Downloaded crossterm v0.18.2 [INFO] [stderr] Downloaded futures-util v0.3.16 [INFO] [stderr] Downloaded futures-executor v0.3.16 [INFO] [stderr] Downloaded futures-core v0.3.16 [INFO] [stderr] Downloaded futures-io v0.3.16 [INFO] [stderr] Downloaded futures-macro v0.3.16 [INFO] [stderr] Downloaded tokio v1.10.1 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8addaf640b817af1f8aa0ef9b5662629c7d1c2c45ed11aa18f347f78ecb6d330 [INFO] running `Command { std: "docker" "start" "-a" "8addaf640b817af1f8aa0ef9b5662629c7d1c2c45ed11aa18f347f78ecb6d330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8addaf640b817af1f8aa0ef9b5662629c7d1c2c45ed11aa18f347f78ecb6d330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8addaf640b817af1f8aa0ef9b5662629c7d1c2c45ed11aa18f347f78ecb6d330", kill_on_drop: false }` [INFO] [stdout] 8addaf640b817af1f8aa0ef9b5662629c7d1c2c45ed11aa18f347f78ecb6d330 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5d30661b22f95fc65ae9f00a5c897f3f0a7597f8f7a53eb6b4365e07f31537 [INFO] running `Command { std: "docker" "start" "-a" "6f5d30661b22f95fc65ae9f00a5c897f3f0a7597f8f7a53eb6b4365e07f31537", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.101 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Compiling getrandom v0.1.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] Compiling quote v1.0.9 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Compiling tokio v1.10.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking object v0.26.2 [INFO] [stderr] Checking crossterm v0.18.2 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stdio.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/terminal.rs:447:23 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn conn_guard(&self) -> ConnGuard { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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] [stderr] warning: build failed, waiting for other jobs to finish... [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/stdio.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option { [INFO] [stdout] | ^^^^^ ------------ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 41 | pub fn try_lock(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string.rs:145:20 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices { [INFO] [stdout] | ^^^^^ ----------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 145 | pub fn indices(&self) -> TermStringIndices<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/string.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter { [INFO] [stdout] | ^^^^^ -------------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 150 | pub fn iter(&self) -> TermStringIter<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/terminal.rs:447:23 [INFO] [stdout] | [INFO] [stdout] 447 | pub fn conn_guard(&self) -> ConnGuard { [INFO] [stdout] | ^^^^^ --------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 447 | pub fn conn_guard(&self) -> ConnGuard<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "6f5d30661b22f95fc65ae9f00a5c897f3f0a7597f8f7a53eb6b4365e07f31537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5d30661b22f95fc65ae9f00a5c897f3f0a7597f8f7a53eb6b4365e07f31537", kill_on_drop: false }` [INFO] [stdout] 6f5d30661b22f95fc65ae9f00a5c897f3f0a7597f8f7a53eb6b4365e07f31537