[INFO] updating cached repository https://github.com/masp/rustmine
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 30cbbf6e614dd5aebd22f9c46700ba7d6178d791
[INFO] checking masp/rustmine against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmasp%2Frustmine" "/workspace/builds/worker-3/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/masp/rustmine on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-3/source/Cargo.toml
[INFO] crate git repo https://github.com/masp/rustmine already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stdout] e74e3748d1bb77779d15cf301f1d9b79713c53dca65faf73159b9c6f6f4dfd51
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `"docker" "start" "-a" "e74e3748d1bb77779d15cf301f1d9b79713c53dca65faf73159b9c6f6f4dfd51"`
[INFO] [stderr]     Checking rustmine v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0425]: cannot find function `read_to_end` in this scope
[INFO] [stderr]   --> src/lib.rs:98:22
[INFO] [stderr]    |
[INFO] [stderr] 98 |     let bytes_read = read_to_end(&mut buf, &mut data).unwrap();
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 7  | use protocol::read_to_end;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `byteorder::*`
[INFO] [stderr]   --> src/lib.rs:14:5
[INFO] [stderr]    |
[INFO] [stderr] 14 | use byteorder::*;
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BufReader`
[INFO] [stderr]  --> src/protocol.rs:3:47
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::{Error, Read, ErrorKind, Result, BufReader, Cursor};
[INFO] [stderr]   |                                               ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0425]: cannot find function `read_to_end` in this scope
[INFO] [stderr]   --> src/lib.rs:98:22
[INFO] [stderr]    |
[INFO] [stderr] 98 |     let bytes_read = read_to_end(&mut buf, &mut data).unwrap();
[INFO] [stderr]    |                      ^^^^^^^^^^^ not found in this scope
[INFO] [stderr]    |
[INFO] [stderr] help: possible candidate is found in another module, you can import it into scope
[INFO] [stderr]    |
[INFO] [stderr] 7  | use protocol::read_to_end;
[INFO] [stderr]    |
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `BufReader`
[INFO] [stderr]  --> src/protocol.rs:3:47
[INFO] [stderr]   |
[INFO] [stderr] 3 | use std::io::{Error, Read, ErrorKind, Result, BufReader, Cursor};
[INFO] [stderr]   |                                               ^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_var_int` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]    --> src/lib.rs:112:36
[INFO] [stderr]     |
[INFO] [stderr] 112 |     let (packet_length, _) = bytes.read_var_int()?;
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 7   | use protocol::MinecraftBufRead;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_var_int` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]    --> src/lib.rs:113:38
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let (packet_id, id_size) = bytes.read_var_int()?;
[INFO] [stderr]     |                                      ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 7   | use protocol::MinecraftBufRead;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]   --> src/protocol.rs:18:34
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 let read = bytes.read_u8()?;
[INFO] [stderr]    |                                  ^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr] ...
[INFO] [stderr] 35 | define_read_var!(read_var_int, i32, 5);
[INFO] [stderr]    | --------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]    = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
[INFO] [stderr]            candidate #1: `use byteorder::io::ReadBytesExt;`
[INFO] [stderr]            candidate #2: `use byteorder::ReadBytesExt;`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_var_int` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]    --> src/lib.rs:112:36
[INFO] [stderr]     |
[INFO] [stderr] 112 |     let (packet_length, _) = bytes.read_var_int()?;
[INFO] [stderr]     |                                    ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 7   | use protocol::MinecraftBufRead;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_var_int` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]    --> src/lib.rs:113:38
[INFO] [stderr]     |
[INFO] [stderr] 113 |     let (packet_id, id_size) = bytes.read_var_int()?;
[INFO] [stderr]     |                                      ^^^^^^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]     |
[INFO] [stderr] 7   | use protocol::MinecraftBufRead;
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]   --> src/protocol.rs:18:34
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 let read = bytes.read_u8()?;
[INFO] [stderr]    |                                  ^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr] ...
[INFO] [stderr] 36 | define_read_var!(read_var_long, i64, 10);
[INFO] [stderr]    | ----------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]    = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
[INFO] [stderr]            candidate #1: `use byteorder::io::ReadBytesExt;`
[INFO] [stderr]            candidate #2: `use byteorder::ReadBytesExt;`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_var_int` found for struct `std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]    --> src/lib.rs:136:27
[INFO] [stderr]     |
[INFO] [stderr] 136 |         assert_eq!(cursor.read_var_int().unwrap().0, 2147483647);
[INFO] [stderr]     |                           ^^^^^^^^^^^^ method not found in `std::io::Cursor<bytes::Bytes>`
[INFO] [stderr]     | 
[INFO] [stderr]    ::: src/protocol.rs:40:8
[INFO] [stderr]     |
[INFO] [stderr] 40  |     fn read_var_int(&mut self) -> Result<(i32, usize)>;
[INFO] [stderr]     |        ------------
[INFO] [stderr]     |        |
[INFO] [stderr]     |        the method is available for `std::boxed::Box<std::io::Cursor<bytes::Bytes>>` here
[INFO] [stderr]     |        the method is available for `std::sync::Arc<std::io::Cursor<bytes::Bytes>>` here
[INFO] [stderr]     |        the method is available for `std::rc::Rc<std::io::Cursor<bytes::Bytes>>` here
[INFO] [stderr]     |
[INFO] [stderr]     = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]     = note: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stderr]             `use protocol::MinecraftBufRead;`
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 5 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]   --> src/protocol.rs:18:34
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 let read = bytes.read_u8()?;
[INFO] [stderr]    |                                  ^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr] ...
[INFO] [stderr] 35 | define_read_var!(read_var_int, i32, 5);
[INFO] [stderr]    | --------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]    = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
[INFO] [stderr]            candidate #1: `use byteorder::io::ReadBytesExt;`
[INFO] [stderr]            candidate #2: `use byteorder::ReadBytesExt;`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] error[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor<bytes::Bytes>` in the current scope
[INFO] [stderr]   --> src/protocol.rs:18:34
[INFO] [stderr]    |
[INFO] [stderr] 18 |                 let read = bytes.read_u8()?;
[INFO] [stderr]    |                                  ^^^^^^^ method not found in `&mut std::io::Cursor<bytes::Bytes>`
[INFO] [stderr] ...
[INFO] [stderr] 36 | define_read_var!(read_var_long, i64, 10);
[INFO] [stderr]    | ----------------------------------------- in this macro invocation
[INFO] [stderr]    |
[INFO] [stderr]    = help: items from traits can only be used if the trait is in scope
[INFO] [stderr]    = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them:
[INFO] [stderr]            candidate #1: `use byteorder::io::ReadBytesExt;`
[INFO] [stderr]            candidate #2: `use byteorder::ReadBytesExt;`
[INFO] [stderr]    = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[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: aborting due to 6 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0425, E0599.
[INFO] [stderr] For more information about an error, try `rustc --explain E0425`.
[INFO] [stderr] error: could not compile `rustmine`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "e74e3748d1bb77779d15cf301f1d9b79713c53dca65faf73159b9c6f6f4dfd51"`
[INFO] running `"docker" "rm" "-f" "e74e3748d1bb77779d15cf301f1d9b79713c53dca65faf73159b9c6f6f4dfd51"`
[INFO] [stdout] e74e3748d1bb77779d15cf301f1d9b79713c53dca65faf73159b9c6f6f4dfd51
