[INFO] cloning repository https://github.com/masp/rustmine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/masp/rustmine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasp%2Frustmine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasp%2Frustmine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30cbbf6e614dd5aebd22f9c46700ba7d6178d791 [INFO] testing masp/rustmine against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasp%2Frustmine" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/masp/rustmine [INFO] finished tweaking git repo https://github.com/masp/rustmine [INFO] tweaked toml for git repo https://github.com/masp/rustmine written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/masp/rustmine on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/masp/rustmine 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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded lazycell v1.2.0 [INFO] [stderr] Downloaded bytes v0.4.10 [INFO] [stderr] Downloaded byteorder v0.4.2 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded byteorder v1.2.6 [INFO] [stderr] Downloaded mio v0.6.16 [INFO] [stderr] Downloaded log v0.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 01d1885750d47c2a8eb932913cdeabf2311abdc9e1ac03091442a9384a08c427 [INFO] running `Command { std: "docker" "start" "-a" "01d1885750d47c2a8eb932913cdeabf2311abdc9e1ac03091442a9384a08c427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "01d1885750d47c2a8eb932913cdeabf2311abdc9e1ac03091442a9384a08c427", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d1885750d47c2a8eb932913cdeabf2311abdc9e1ac03091442a9384a08c427", kill_on_drop: false }` [INFO] [stdout] 01d1885750d47c2a8eb932913cdeabf2311abdc9e1ac03091442a9384a08c427 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e81de0c051e0e44b1e892d297689bd95c3b7ac2993d3c689babf46709ec142d [INFO] running `Command { std: "docker" "start" "-a" "3e81de0c051e0e44b1e892d297689bd95c3b7ac2993d3c689babf46709ec142d", kill_on_drop: false }` [INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling byteorder v1.2.6 [INFO] [stderr] Compiling slab v0.4.1 [INFO] [stderr] Compiling lazycell v1.2.0 [INFO] [stderr] Compiling byteorder v0.4.2 [INFO] [stderr] Compiling log v0.4.5 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling bytes v0.4.10 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling rustmine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `read_to_end` in this scope [INFO] [stdout] --> src/lib.rs:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let bytes_read = read_to_end(&mut buf, &mut data).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 7 + use protocol::read_to_end; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `byteorder::*` [INFO] [stdout] --> src/lib.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use byteorder::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufReader` [INFO] [stdout] --> src/protocol.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::{Error, Read, ErrorKind, Result, BufReader, Cursor}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `read_initializer` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(read_initializer)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor` in the current scope [INFO] [stdout] --> src/protocol.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let read = bytes.read_u8()?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | define_read_var!(read_var_int, i32, 5); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `define_read_var` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following traits which provide `read_u8` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 1 + use byteorder::ReadBytesExt; [INFO] [stdout] | [INFO] [stdout] 1 + use byteorder::io::ReadBytesExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor` in the current scope [INFO] [stdout] --> src/protocol.rs:18:34 [INFO] [stdout] | [INFO] [stdout] 18 | let read = bytes.read_u8()?; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | define_read_var!(read_var_long, i64, 10); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: this error originates in the macro `define_read_var` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: the following traits which provide `read_u8` are implemented but not in scope; perhaps you want to import one of them [INFO] [stdout] | [INFO] [stdout] 1 + use byteorder::ReadBytesExt; [INFO] [stdout] | [INFO] [stdout] 1 + use byteorder::io::ReadBytesExt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `initializer` found for mutable reference `&mut R` in the current scope [INFO] [stdout] --> src/protocol.rs:73:19 [INFO] [stdout] | [INFO] [stdout] 73 | r.initializer().initialize(&mut g.buf[g.len..]); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&mut R` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_var_int` found for mutable reference `&mut std::io::Cursor` in the current scope [INFO] [stdout] --> src/lib.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | let (packet_length, _) = bytes.read_var_int()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MinecraftBufRead` which provides `read_var_int` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use protocol::MinecraftBufRead; [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_var_long` with a similar name [INFO] [stdout] | [INFO] [stdout] 112 - let (packet_length, _) = bytes.read_var_int()?; [INFO] [stdout] 112 + let (packet_length, _) = bytes.read_var_long()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_var_int` found for mutable reference `&mut std::io::Cursor` in the current scope [INFO] [stdout] --> src/lib.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | let (packet_id, id_size) = bytes.read_var_int()?; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `MinecraftBufRead` which provides `read_var_int` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 3 + use protocol::MinecraftBufRead; [INFO] [stdout] | [INFO] [stdout] help: there is a method `read_var_long` with a similar name [INFO] [stdout] | [INFO] [stdout] 113 - let (packet_id, id_size) = bytes.read_var_int()?; [INFO] [stdout] 113 + let (packet_id, id_size) = bytes.read_var_long()?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustmine` (lib) due to 7 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e81de0c051e0e44b1e892d297689bd95c3b7ac2993d3c689babf46709ec142d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e81de0c051e0e44b1e892d297689bd95c3b7ac2993d3c689babf46709ec142d", kill_on_drop: false }` [INFO] [stdout] 3e81de0c051e0e44b1e892d297689bd95c3b7ac2993d3c689babf46709ec142d