[INFO] fetching crate rust-sc2 1.0.0... [INFO] checking rust-sc2-1.0.0 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate rust-sc2 1.0.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate rust-sc2 1.0.0 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rust-sc2 1.0.0 [INFO] finished tweaking crates.io crate rust-sc2 1.0.0 [INFO] tweaked toml for crates.io crate rust-sc2 1.0.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate crates.io crate rust-sc2 1.0.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f77bba412c91b15f927e1994ffcaf9ba1c9984a438d204638fac9844316b3a5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8f77bba412c91b15f927e1994ffcaf9ba1c9984a438d204638fac9844316b3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f77bba412c91b15f927e1994ffcaf9ba1c9984a438d204638fac9844316b3a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f77bba412c91b15f927e1994ffcaf9ba1c9984a438d204638fac9844316b3a5", kill_on_drop: false }` [INFO] [stdout] 8f77bba412c91b15f927e1994ffcaf9ba1c9984a438d204638fac9844316b3a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 745279ac780abcc10a6da33843f63d8d1c58df221f39914bf134e8a1cbff2a20 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "745279ac780abcc10a6da33843f63d8d1c58df221f39914bf134e8a1cbff2a20", kill_on_drop: false }` [INFO] [stderr] warning: Found `feature = ...` in `target.'cfg(...)'.dependencies`. This key is not supported for selecting dependencies and will not work as expected. Use the [features] section instead: https://doc.rust-lang.org/cargo/reference/features.html [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.85 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling protobuf v2.20.0 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling sc2-proto v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Checking tinyvec v1.1.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Checking itertools v0.10.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking unicode-normalization v0.1.16 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking sha-1 v0.9.3 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking dirs v3.0.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling sc2-proc-macro v1.0.0 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Checking sc2-macro v1.0.0 [INFO] [stderr] Checking rust-sc2 v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 156 | panic!("{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 156 | std::panic::panic_any(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 281 | panic!("{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 281 | std::panic::panic_any(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 156 | panic!("{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 156 | std::panic::panic_any(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/client.rs:281:11 [INFO] [stdout] | [INFO] [stdout] 281 | panic!(err); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 281 | panic!("{}", err); [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 281 | std::panic::panic_any(err); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tag` [INFO] [stdout] --> examples/events.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | Event::UnitDestroyed(tag) => { /* your code here */ } [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_tag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> examples/events.rs:18:17 [INFO] [stdout] | [INFO] [stdout] 18 | if let Some(u) = self.units.my.units.get(tag) { /* your code here */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> examples/events.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u` [INFO] [stdout] --> examples/events.rs:24:17 [INFO] [stdout] | [INFO] [stdout] 24 | if let Some(u) = self.units.my.structures.get(tag) { /* your code here */ } [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_u` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `race` [INFO] [stdout] --> examples/events.rs:26:30 [INFO] [stdout] | [INFO] [stdout] 26 | Event::RandomRaceDetected(race) => { /* your code here */ } [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_race` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find attribute `bot_impl_player` in this scope [INFO] [stdout] --> tests/bot.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[bot_impl_player] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: base expression required after `..` [INFO] [stdout] --> tests/bot.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | #[bot_new] [INFO] [stdout] | ^ add a base expression here [INFO] [stdout] | [INFO] [stdout] = note: this error originates in an attribute macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseEnumError` in this scope [INFO] [stdout] --> tests/test.rs:23:48 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!("Variant4".parse::(), Err(ParseEnumError)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::tests::sc2_macro::ParseEnumError; [INFO] [stdout] | [INFO] [stdout] 19 | use sc2_macro::ParseEnumError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ParseEnumError` in this scope [INFO] [stdout] --> tests/test.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | assert_eq!("4".parse::(), Err(ParseEnumError)); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 19 | use crate::tests::sc2_macro::ParseEnumError; [INFO] [stdout] | [INFO] [stdout] 19 | use sc2_macro::ParseEnumError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-sc2` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the trait bound `Bot: Clone` is not satisfied [INFO] [stdout] --> tests/bot.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | #[bot] [INFO] [stdout] | ^^^^^^ the trait `Clone` is not implemented for `Bot` [INFO] [stdout] | [INFO] [stdout] = note: required by `clone` [INFO] [stdout] = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `MyBot` has no field named `game_step` [INFO] [stdout] --> tests/bot.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | game_step: 1 + 1, [INFO] [stdout] | ^^^^^^^^^ `MyBot` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `_bot`, `name`, `my_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0560. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "745279ac780abcc10a6da33843f63d8d1c58df221f39914bf134e8a1cbff2a20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "745279ac780abcc10a6da33843f63d8d1c58df221f39914bf134e8a1cbff2a20", kill_on_drop: false }` [INFO] [stdout] 745279ac780abcc10a6da33843f63d8d1c58df221f39914bf134e8a1cbff2a20