[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 try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [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 e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7bc09a4cea5d8deb76aff849c95b5d2e8b41de43a458d265a40cac54cc26fbe2 [INFO] running `"docker" "start" "-a" "7bc09a4cea5d8deb76aff849c95b5d2e8b41de43a458d265a40cac54cc26fbe2"` [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Checking byteorder v1.2.6 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking byteorder v0.4.2 [INFO] [stderr] Checking log v0.4.5 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [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] [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[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[E0599]: no method named `read_var_int` found for mutable reference `&mut std::io::Cursor` 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` [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` 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` [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 struct `std::io::Cursor` 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` [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>` here [INFO] [stderr] | the method is available for `std::sync::Arc>` here [INFO] [stderr] | the method is available for `std::rc::Rc>` 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[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor` 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` [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` 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` [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: aborting due to 6 previous errors; 1 warning emitted [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_var_int` found for mutable reference `&mut std::io::Cursor` 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` [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` 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` [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: 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[E0599]: no method named `read_u8` found for mutable reference `&mut std::io::Cursor` 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` [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` 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` [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: aborting due to 5 previous errors; 2 warnings emitted [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" "7bc09a4cea5d8deb76aff849c95b5d2e8b41de43a458d265a40cac54cc26fbe2"` [INFO] running `"docker" "rm" "-f" "7bc09a4cea5d8deb76aff849c95b5d2e8b41de43a458d265a40cac54cc26fbe2"` [INFO] [stdout] 7bc09a4cea5d8deb76aff849c95b5d2e8b41de43a458d265a40cac54cc26fbe2