[INFO] cloning repository https://github.com/CyberWordPL/mcstructs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CyberWordPL/mcstructs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberWordPL%2Fmcstructs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberWordPL%2Fmcstructs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5a4c7b812f3a71c4e49c2a66cb8f53525669ce5e [INFO] checking CyberWordPL/mcstructs/5a4c7b812f3a71c4e49c2a66cb8f53525669ce5e against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCyberWordPL%2Fmcstructs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CyberWordPL/mcstructs on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/CyberWordPL/mcstructs [INFO] finished tweaking git repo https://github.com/CyberWordPL/mcstructs [INFO] tweaked toml for git repo https://github.com/CyberWordPL/mcstructs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/CyberWordPL/mcstructs 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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /workspace/builds/worker-7-tc1/source/Cargo.toml: unused manifest key: resolver [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7873d9c374e849d6c8c3895f1b5376ae55b9e13bd636525d8c467088f8c8748 [INFO] running `Command { std: "docker" "start" "-a" "d7873d9c374e849d6c8c3895f1b5376ae55b9e13bd636525d8c467088f8c8748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7873d9c374e849d6c8c3895f1b5376ae55b9e13bd636525d8c467088f8c8748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7873d9c374e849d6c8c3895f1b5376ae55b9e13bd636525d8c467088f8c8748", kill_on_drop: false }` [INFO] [stdout] d7873d9c374e849d6c8c3895f1b5376ae55b9e13bd636525d8c467088f8c8748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e2d15e40f9a7a23cc06f0833e0cda0ae28bdd489280f9dee5e530d1bf15e03a [INFO] running `Command { std: "docker" "start" "-a" "9e2d15e40f9a7a23cc06f0833e0cda0ae28bdd489280f9dee5e530d1bf15e03a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: resolver [INFO] [stderr] Compiling proc-macro2 v1.0.88 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Checking mcstructs v0.1.0 (/opt/rustwide/workdir/mcstructs) [INFO] [stdout] error[E0428]: the name `test_read_varlong_bufreader_2` is defined multiple times [INFO] [stdout] --> mcstructs/src/varint.rs:165:5 [INFO] [stdout] | [INFO] [stdout] 155 | fn test_read_varlong_bufreader_2() { [INFO] [stdout] | ---------------------------------- previous definition of the value `test_read_varlong_bufreader_2` here [INFO] [stdout] ... [INFO] [stdout] 165 | fn test_read_varlong_bufreader_2() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `test_read_varlong_bufreader_2` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `test_read_varlong_bufreader_2` must be defined only once in the value namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | if (u8::from(value) & !SEGMENT_BITS) == 0 { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:87:13 [INFO] [stdout] | [INFO] [stdout] 87 | if (u8::from(value) & !SEGMENT_BITS) == 0 { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | return match writer.write_u8(u8::from(value)) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:88:42 [INFO] [stdout] | [INFO] [stdout] 88 | return match writer.write_u8(u8::from(value)) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | match writer.write_u8((u8::from(value) & SEGMENT_BITS) | CONTINUE_BIT) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:94:32 [INFO] [stdout] | [INFO] [stdout] 94 | match writer.write_u8((u8::from(value) & SEGMENT_BITS) | CONTINUE_BIT) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | if (u8::from(value) & !SEGMENT_BITS) == 0 { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | if (u8::from(value) & !SEGMENT_BITS) == 0 { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | return match writer.write_u8(u8::from(value)) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:106:42 [INFO] [stdout] | [INFO] [stdout] 106 | return match writer.write_u8(u8::from(value)) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | match writer.write_u8((u8::from(value) & SEGMENT_BITS) | CONTINUE_BIT) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u8: From` is not satisfied [INFO] [stdout] --> mcstructs/src/varint.rs:112:32 [INFO] [stdout] | [INFO] [stdout] 112 | match writer.write_u8((u8::from(value) & SEGMENT_BITS) | CONTINUE_BIT) { [INFO] [stdout] | ^^ the trait `From` is not implemented for `u8` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u8` implements `From` [INFO] [stdout] `u8` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | let u32_val = u32::from(val); [INFO] [stdout] | ^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i32: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | i32::from(u32_val) [INFO] [stdout] | ^^^ the trait `From` is not implemented for `i32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let u64_val = u64::from(val); [INFO] [stdout] | ^^^ the trait `From` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i64: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | i64::from(u64_val) [INFO] [stdout] | ^^^ the trait `From` is not implemented for `i64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u32: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | let u32_val = u32::from(val); [INFO] [stdout] | ^^^ the trait `From` is not implemented for `u32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] `u32` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i32: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | i32::from(u32_val) [INFO] [stdout] | ^^^ the trait `From` is not implemented for `i32` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] `i32` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `u64: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | let u64_val = u64::from(val); [INFO] [stdout] | ^^^ the trait `From` is not implemented for `u64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] `u64` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `i64: From` is not satisfied [INFO] [stdout] --> mcstructs/src/utils.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | i64::from(u64_val) [INFO] [stdout] | ^^^ the trait `From` is not implemented for `i64` [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] `i64` implements `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcstructs` (lib) due to 10 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0277, E0428. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mcstructs` (lib test) due to 11 previous errors [INFO] running `Command { std: "docker" "inspect" "9e2d15e40f9a7a23cc06f0833e0cda0ae28bdd489280f9dee5e530d1bf15e03a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2d15e40f9a7a23cc06f0833e0cda0ae28bdd489280f9dee5e530d1bf15e03a", kill_on_drop: false }` [INFO] [stdout] 9e2d15e40f9a7a23cc06f0833e0cda0ae28bdd489280f9dee5e530d1bf15e03a