[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] testing mattweb28/monster-battle against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmattweb28%2Fmonster-battle" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mattweb28/monster-battle on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-13/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: /workspace/builds/worker-13/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] * /workspace/builds/worker-13/source/rt/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-13/source/rt/Cargo.toml: path `/workspace/builds/worker-13/source/rt/src/main.rs` was erroneously implicitly accepted for binary `monsterbattle`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_codegen_internals v0.10.0 [INFO] [stderr] Downloaded post-expansion v0.1.0 [INFO] [stderr] Downloaded serde v0.8.16 [INFO] [stderr] Downloaded dylib v0.0.2 [INFO] [stderr] Downloaded serde_derive v0.8.16 [INFO] [stderr] Downloaded regex-syntax v0.3.7 [INFO] [stderr] Downloaded serde_codegen v0.8.16 [INFO] [stderr] Downloaded quote v0.3.4 [INFO] [stderr] Downloaded syn v0.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae0fa9cb0cd3faf73e75434aa1b1d0b6f5ead779286aa03cf47ab28fd14c1803 [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" "ae0fa9cb0cd3faf73e75434aa1b1d0b6f5ead779286aa03cf47ab28fd14c1803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae0fa9cb0cd3faf73e75434aa1b1d0b6f5ead779286aa03cf47ab28fd14c1803", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae0fa9cb0cd3faf73e75434aa1b1d0b6f5ead779286aa03cf47ab28fd14c1803", kill_on_drop: false }` [INFO] [stdout] ae0fa9cb0cd3faf73e75434aa1b1d0b6f5ead779286aa03cf47ab28fd14c1803 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aedf241c877f4a00aea303dd09d25f94d00fd15f7d6b5e60223a4694b4b5583e [INFO] running `Command { std: "docker" "start" "-a" "aedf241c877f4a00aea303dd09d25f94d00fd15f7d6b5e60223a4694b4b5583e", 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] * /opt/rustwide/workdir/rt/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 `/opt/rustwide/workdir/rt/src/main.rs` was erroneously implicitly accepted for binary `monsterbattle`, [INFO] [stderr] please set bin.path in Cargo.toml [INFO] [stderr] Compiling libc v0.2.17 [INFO] [stderr] Compiling quote v0.3.4 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling regex-syntax v0.3.7 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling serde v0.8.16 [INFO] [stderr] Compiling monster-battle-core v0.1.0 (/opt/rustwide/workdir/core) [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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub data: Option>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 - pub type ModuleQueryFn = unsafe extern "C" fn (&AppContext, &mut ModuleQuery); [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/github.com-1ecc6299db9ec823/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] [stderr] Compiling syn v0.9.2 [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling dylib v0.0.2 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.77 [INFO] [stderr] Compiling post-expansion v0.1.0 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_codegen_internals v0.10.0 [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "aedf241c877f4a00aea303dd09d25f94d00fd15f7d6b5e60223a4694b4b5583e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aedf241c877f4a00aea303dd09d25f94d00fd15f7d6b5e60223a4694b4b5583e", kill_on_drop: false }` [INFO] [stdout] aedf241c877f4a00aea303dd09d25f94d00fd15f7d6b5e60223a4694b4b5583e