[INFO] fetching crate mitrid_core 0.9.4... [INFO] testing mitrid_core-0.9.4 against master#432e145bd5a974c5b6f4dd9b352891bd7502b69d for pr-87041 [INFO] extracting crate mitrid_core 0.9.4 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate mitrid_core 0.9.4 on toolchain 432e145bd5a974c5b6f4dd9b352891bd7502b69d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mitrid_core 0.9.4 [INFO] finished tweaking crates.io crate mitrid_core 0.9.4 [INFO] tweaked toml for crates.io crate mitrid_core 0.9.4 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "metadata" "--no-deps" "--format-version=1", 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] f0b854828699bc682c15c2f3483b10a865e5017e76fc906bee7f8144eeb20812 [INFO] running `Command { std: "docker" "start" "-a" "f0b854828699bc682c15c2f3483b10a865e5017e76fc906bee7f8144eeb20812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0b854828699bc682c15c2f3483b10a865e5017e76fc906bee7f8144eeb20812", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0b854828699bc682c15c2f3483b10a865e5017e76fc906bee7f8144eeb20812", kill_on_drop: false }` [INFO] [stdout] f0b854828699bc682c15c2f3483b10a865e5017e76fc906bee7f8144eeb20812 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+432e145bd5a974c5b6f4dd9b352891bd7502b69d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3293e6969e1ab5627e37ce867549437cfe41a5bec9cb35251af6eff94d0aed1a [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" "3293e6969e1ab5627e37ce867549437cfe41a5bec9cb35251af6eff94d0aed1a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling serde_cbor v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling mitrid_core v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/network/message/resource.rs:93:14 [INFO] [stdout] | [INFO] [stdout] 93 | 2...9 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/network/server/handler.rs:27:27 [INFO] [stdout] | [INFO] [stdout] 27 | -> Result) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 28 | | -> Result<(Request)>>>> [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 issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 27 | -> Result) [INFO] [stdout] 28 | -> Result<(Request)>>>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/io/network/server/handler.rs:28:35 [INFO] [stdout] | [INFO] [stdout] 28 | -> Result<(Request)>>>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io/network/server/router.rs:30:27 [INFO] [stdout] | [INFO] [stdout] 30 | -> Result) [INFO] [stdout] | ___________________________^ [INFO] [stdout] 31 | | -> Result<(Request)>>>> [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 issue #80165 [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 | -> Result) [INFO] [stdout] 31 | -> Result<(Request)>>>> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/io/network/server/router.rs:31:35 [INFO] [stdout] | [INFO] [stdout] 31 | -> Result<(Request)>>>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to an enum [INFO] [stdout] --> src/io/network/client/on_error.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | #[repr(u8)] [INFO] [stdout] | ^^ [INFO] [stdout] 16 | Ignore, [INFO] [stdout] | ------ not an enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to an enum [INFO] [stdout] --> src/io/network/client/on_error.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | #[repr(u8)] [INFO] [stdout] | ^^ [INFO] [stdout] 19 | Fail, [INFO] [stdout] | ---- not an enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to an enum [INFO] [stdout] --> src/app/logger/log_file.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #[repr(u8)] [INFO] [stdout] | ^^ [INFO] [stdout] 20 | StdOut, [INFO] [stdout] | ------ not an enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0517]: attribute should be applied to an enum [INFO] [stdout] --> src/app/logger/log_file.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | #[repr(u8)] [INFO] [stdout] | ^^ [INFO] [stdout] 23 | StdErr, [INFO] [stdout] | ------ not an enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0517`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mitrid_core` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "3293e6969e1ab5627e37ce867549437cfe41a5bec9cb35251af6eff94d0aed1a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3293e6969e1ab5627e37ce867549437cfe41a5bec9cb35251af6eff94d0aed1a", kill_on_drop: false }` [INFO] [stdout] 3293e6969e1ab5627e37ce867549437cfe41a5bec9cb35251af6eff94d0aed1a