[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] checking masp/rustmine against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasp%2Frustmine" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/masp/rustmine on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2/source/Cargo.toml [INFO] crate git repo https://github.com/masp/rustmine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbe0abf2c83e5ca057b9cb5d6d013f8d01167dcac6ea0184065432f1f155c0ec [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" "dbe0abf2c83e5ca057b9cb5d6d013f8d01167dcac6ea0184065432f1f155c0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbe0abf2c83e5ca057b9cb5d6d013f8d01167dcac6ea0184065432f1f155c0ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbe0abf2c83e5ca057b9cb5d6d013f8d01167dcac6ea0184065432f1f155c0ec", kill_on_drop: false }` [INFO] [stdout] dbe0abf2c83e5ca057b9cb5d6d013f8d01167dcac6ea0184065432f1f155c0ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--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] f69042713c430e68e6d7afd7413e74740faac232fe638ed1363ef1fd71678f63 [INFO] running `Command { std: "docker" "start" "-a" "f69042713c430e68e6d7afd7413e74740faac232fe638ed1363ef1fd71678f63", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking bytes v0.4.10 [INFO] [stderr] Checking mio v0.6.16 [INFO] [stderr] Checking 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: `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] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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[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] | ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use protocol::MinecraftBufRead; [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] | ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use protocol::MinecraftBufRead; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `read_var_int` found for struct `std::io::Cursor` in the current scope [INFO] [stdout] --> src/lib.rs:136:27 [INFO] [stdout] | [INFO] [stdout] 136 | assert_eq!(cursor.read_var_int().unwrap().0, 2147483647); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `std::io::Cursor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use protocol::MinecraftBufRead;` [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] | ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use protocol::MinecraftBufRead; [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] | ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] | [INFO] [stdout] 7 | use protocol::MinecraftBufRead; [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] | ^^^^^^^ method not found in `&mut std::io::Cursor` [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: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use gimli::read::reader::Reader;` [INFO] [stdout] candidate #2: `use byteorder::io::ReadBytesExt;` [INFO] [stdout] candidate #3: `use byteorder::ReadBytesExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ method not found in `&mut std::io::Cursor` [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: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use gimli::read::reader::Reader;` [INFO] [stdout] candidate #2: `use byteorder::io::ReadBytesExt;` [INFO] [stdout] candidate #3: `use byteorder::ReadBytesExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ method not found in `&mut std::io::Cursor` [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: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use gimli::read::reader::Reader;` [INFO] [stdout] candidate #2: `use byteorder::io::ReadBytesExt;` [INFO] [stdout] candidate #3: `use byteorder::ReadBytesExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ method not found in `&mut std::io::Cursor` [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: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use gimli::read::reader::Reader;` [INFO] [stdout] candidate #2: `use byteorder::io::ReadBytesExt;` [INFO] [stdout] candidate #3: `use byteorder::ReadBytesExt;` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustmine` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f69042713c430e68e6d7afd7413e74740faac232fe638ed1363ef1fd71678f63", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f69042713c430e68e6d7afd7413e74740faac232fe638ed1363ef1fd71678f63", kill_on_drop: false }` [INFO] [stdout] f69042713c430e68e6d7afd7413e74740faac232fe638ed1363ef1fd71678f63