[INFO] cloning repository https://github.com/brick-codes/palace-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brick-codes/palace-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrick-codes%2Fpalace-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrick-codes%2Fpalace-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11588234a6ec3e7892933816bdbd0a825b64d8a8 [INFO] testing brick-codes/palace-server against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrick-codes%2Fpalace-server" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brick-codes/palace-server on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/brick-codes/palace-server [INFO] finished tweaking git repo https://github.com/brick-codes/palace-server [INFO] tweaked toml for git repo https://github.com/brick-codes/palace-server written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/brick-codes/palace-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eebd9ff11becf80d076c147fefe9086591bee1ce1db6c82732866a603529e2f8 [INFO] running `Command { std: "docker" "start" "-a" "eebd9ff11becf80d076c147fefe9086591bee1ce1db6c82732866a603529e2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eebd9ff11becf80d076c147fefe9086591bee1ce1db6c82732866a603529e2f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eebd9ff11becf80d076c147fefe9086591bee1ce1db6c82732866a603529e2f8", kill_on_drop: false }` [INFO] [stdout] eebd9ff11becf80d076c147fefe9086591bee1ce1db6c82732866a603529e2f8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 587ca0411549d18ed70fd993f1fc7e1dd04f2d0e461f4e7fe97eb43e0c586807 [INFO] running `Command { std: "docker" "start" "-a" "587ca0411549d18ed70fd993f1fc7e1dd04f2d0e461f4e7fe97eb43e0c586807", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling regex v1.1.6 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling opaque-debug v0.2.2 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.7 [INFO] [stderr] Compiling num-integer v0.1.40 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling generic-array v0.12.0 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling digest v0.8.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.17 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling mio-extras v2.0.5 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling ws v0.8.1 (https://github.com/housleyjk/ws-rs#e2b60182) [INFO] [stderr] Compiling env_logger v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling pretty_env_logger v0.3.0 [INFO] [stderr] Compiling palace_server v0.1.0 (/opt/rustwide/workdir/palace_server) [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> palace_server/src/ai/mod.rs:11:42 [INFO] [stdout] | [INFO] [stdout] 11 | static ref NAMES: Vec<&'static str> = { include_str!("names.txt").lines().collect() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> palace_server/src/ai/mod.rs:12:47 [INFO] [stdout] | [INFO] [stdout] 12 | static ref ADJECTIVES: Vec<&'static str> = { include_str!("adjectives.txt").lines().collect() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around block return value [INFO] [stdout] --> palace_server/src/ai/mod.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | static ref NOUNS: Vec<&'static str> = { include_str!("nouns.txt").lines().collect() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> palace_server/src/lib.rs:387:28 [INFO] [stdout] | [INFO] [stdout] 387 | let ai: Box = Box::new(ai::random::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PalaceAi + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> palace_server/src/lib.rs:1300:25 [INFO] [stdout] | [INFO] [stdout] 1300 | let ai: Box = Box::new(ai::random::new()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn PalaceAi + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> palace_server/src/game.rs:241:59 [INFO] [stdout] | [INFO] [stdout] 241 | if self.hands[self.active_player as usize].remove_item(card).is_none() { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `remove_item` found for struct `Vec` in the current scope [INFO] [stdout] --> palace_server/src/game.rs:251:20 [INFO] [stdout] | [INFO] [stdout] 251 | .remove_item(card) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `palace_server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "587ca0411549d18ed70fd993f1fc7e1dd04f2d0e461f4e7fe97eb43e0c586807", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "587ca0411549d18ed70fd993f1fc7e1dd04f2d0e461f4e7fe97eb43e0c586807", kill_on_drop: false }` [INFO] [stdout] 587ca0411549d18ed70fd993f1fc7e1dd04f2d0e461f4e7fe97eb43e0c586807