[INFO] cloning repository https://github.com/mattweb28/monster-battle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mattweb28/monster-battle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattweb28%2Fmonster-battle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattweb28%2Fmonster-battle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d17622e1c61087c899fc9e303844da9cf8be9c14 [INFO] checking mattweb28/monster-battle against master#a9e7b30487235621751cc628f170c0f15fb215c4 for pr-136539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattweb28%2Fmonster-battle" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattweb28/monster-battle on toolchain a9e7b30487235621751cc628f170c0f15fb215c4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mattweb28/monster-battle [INFO] finished tweaking git repo https://github.com/mattweb28/monster-battle [INFO] tweaked toml for git repo https://github.com/mattweb28/monster-battle written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mattweb28/monster-battle 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" "+a9e7b30487235621751cc628f170c0f15fb215c4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/core/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/rt/Cargo.toml: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/rt/Cargo.toml: path `src/main.rs` was erroneously implicitly accepted for binary `monsterbattle`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/rt/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /workspace/builds/worker-4-tc1/source/g1/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde v0.8.16 [INFO] [stderr] Downloaded dylib v0.0.2 [INFO] [stderr] Downloaded syn v0.9.2 [INFO] [stderr] Downloaded serde_codegen v0.8.16 [INFO] [stderr] Downloaded post-expansion v0.1.0 [INFO] [stderr] Downloaded serde_codegen_internals v0.10.0 [INFO] [stderr] Downloaded serde_derive v0.8.16 [INFO] [stderr] Downloaded quote v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06baa2d7296cb15717b134ec619488201c7589130d73513d0ef2a93e587ce7b6 [INFO] running `Command { std: "docker" "start" "-a" "06baa2d7296cb15717b134ec619488201c7589130d73513d0ef2a93e587ce7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06baa2d7296cb15717b134ec619488201c7589130d73513d0ef2a93e587ce7b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06baa2d7296cb15717b134ec619488201c7589130d73513d0ef2a93e587ce7b6", kill_on_drop: false }` [INFO] [stdout] 06baa2d7296cb15717b134ec619488201c7589130d73513d0ef2a93e587ce7b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a9e7b30487235621751cc628f170c0f15fb215c4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f664b5a2445c9359945e3e74f66e0b3157088afeb76448cf473d84e3aeb5c660 [INFO] running `Command { std: "docker" "start" "-a" "f664b5a2445c9359945e3e74f66e0b3157088afeb76448cf473d84e3aeb5c660", kill_on_drop: false }` [INFO] [stderr] warning: /opt/rustwide/workdir/rt/Cargo.toml: An explicit [[bin]] section is specified in Cargo.toml which currently [INFO] [stderr] disables Cargo from automatically inferring other binary targets. [INFO] [stderr] This inference behavior will change in the Rust 2018 edition and the following [INFO] [stderr] files will be included as a binary target: [INFO] [stderr] [INFO] [stderr] * src/main.rs [INFO] [stderr] [INFO] [stderr] This is likely to break cargo build or cargo test as these files may not be [INFO] [stderr] ready to be compiled as a binary target today. You can future-proof yourself [INFO] [stderr] and disable this warning by adding `autobins = false` to your [package] [INFO] [stderr] section. You may also move the files to a location where Cargo would not [INFO] [stderr] automatically infer them to be a target, such as in subfolders. [INFO] [stderr] [INFO] [stderr] For more information on this warning you can consult [INFO] [stderr] https://github.com/rust-lang/cargo/issues/5330 [INFO] [stderr] warning: /opt/rustwide/workdir/rt/Cargo.toml: path `src/main.rs` was erroneously implicitly accepted for binary `monsterbattle`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] warning: /opt/rustwide/workdir/rt/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/g1/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: /opt/rustwide/workdir/core/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.17 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling quote v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking regex-syntax v0.3.7 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Checking monster-battle-core v0.1.0 (/opt/rustwide/workdir/core) [INFO] [stderr] Checking serde v0.8.16 [INFO] [stderr] Checking rustc-serialize v0.3.19 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/module.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub data: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub data: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/module.rs:27:66 [INFO] [stdout] | [INFO] [stdout] 27 | pub type ModuleQueryFn = unsafe extern "C" fn (&AppContext, &mut ModuleQuery); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type ModuleQueryFn = unsafe extern "C" fn (&AppContext, &mut dyn ModuleQuery); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/module.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | pub data: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 | pub data: Option>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> core/src/module.rs:27:66 [INFO] [stdout] | [INFO] [stdout] 27 | pub type ModuleQueryFn = unsafe extern "C" fn (&AppContext, &mut ModuleQuery); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | pub type ModuleQueryFn = unsafe extern "C" fn (&AppContext, &mut dyn ModuleQuery); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `dyn ModuleQuery`, which is not FFI-safe [INFO] [stdout] --> core/src/module.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub type ModuleQueryFn = unsafe extern "C" fn (&AppContext, &mut ModuleQuery); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: trait objects have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `dyn ModuleQuery`, which is not FFI-safe [INFO] [stdout] --> core/src/module.rs:27:26 [INFO] [stdout] | [INFO] [stdout] 27 | pub type ModuleQueryFn = unsafe extern "C" fn (&AppContext, &mut ModuleQuery); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = note: trait objects have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling syn v0.9.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking dylib v0.0.2 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/rustc-serialize-0.3.19/src/serialize.rs:454:5 [INFO] [stdout] | [INFO] [stdout] 454 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/a9e7b30487235621751cc628f170c0f15fb215c4/library/alloc/src/borrow.rs:179:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 450 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.77 [INFO] [stderr] Compiling post-expansion v0.1.0 [INFO] [stderr] Compiling serde_codegen_internals v0.10.0 [INFO] [stderr] Compiling serde_codegen v0.8.16 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_codegen-0.8.16/src/lib.rs:5:66 [INFO] [stdout] | [INFO] [stdout] 5 | #![cfg_attr(not(feature = "with-syntex"), feature(rustc_private, plugin))] [INFO] [stdout] | ^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: plugins are no longer supported [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `syntax` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_codegen-0.8.16/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | extern crate syntax; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `rustc_plugin` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_codegen-0.8.16/src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | extern crate rustc_plugin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] | [INFO] [stdout] = help: maybe you need to install the missing components with: `rustup component add rust-src rustc-dev llvm-tools-preview` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0463, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `serde_codegen` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0310, E0642. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "f664b5a2445c9359945e3e74f66e0b3157088afeb76448cf473d84e3aeb5c660", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f664b5a2445c9359945e3e74f66e0b3157088afeb76448cf473d84e3aeb5c660", kill_on_drop: false }` [INFO] [stdout] f664b5a2445c9359945e3e74f66e0b3157088afeb76448cf473d84e3aeb5c660