[INFO] updating cached repository https://github.com/tdbgamer/RustyNzb [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] bc3fc86049682b9ee9eee4288034cb6d11cc55c0 [INFO] checking tdbgamer/RustyNzb against try#d7b51666469c792a8a3f40849607739bae1e705e for pr-71665 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdbgamer%2FRustyNzb" "/workspace/builds/worker-6/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tdbgamer/RustyNzb on toolchain d7b51666469c792a8a3f40849607739bae1e705e [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/tdbgamer/RustyNzb [INFO] removed path dependency nntp from git repo https://github.com/tdbgamer/RustyNzb [INFO] finished tweaking git repo https://github.com/tdbgamer/RustyNzb [INFO] tweaked toml for git repo https://github.com/tdbgamer/RustyNzb written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/tdbgamer/RustyNzb already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (nntp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+d7b51666469c792a8a3f40849607739bae1e705e" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (nntp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+d7b51666469c792a8a3f40849607739bae1e705e" "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] 8cbc84af20bafb7edc396193857ca2b110491d66cf3cda1ae5a2d9ef4a4ab091 [INFO] running `"docker" "start" "-a" "8cbc84af20bafb7edc396193857ca2b110491d66cf3cda1ae5a2d9ef4a4ab091"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (nntp) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.20 [INFO] [stderr] Checking gimli v0.21.0 [INFO] [stderr] Checking rustc-demangle v0.1.16 [INFO] [stderr] Checking object v0.19.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking termcolor v1.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking nntp v0.0.5 [INFO] [stderr] Checking yenc v0.0.4 [INFO] [stderr] Checking encoding_rs v0.7.2 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-utils v0.7.2 [INFO] [stderr] Checking regex v1.3.7 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking addr2line v0.12.0 [INFO] [stderr] Checking backtrace v0.3.47 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking quick-xml v0.10.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rustynzb v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn parse_nzb(file: &mut BufRead) -> RustyNzbResult> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser/mod.rs:9:29 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn parse_nzb(file: &mut BufRead) -> RustyNzbResult> { [INFO] [stderr] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | give_some!(&mut self.filename, filename.into()); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | give_some!(&mut self.bytes, bytes); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | give_some!(&mut self.number, number); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | give_some!(&mut self.article_id, article_id.into()); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 55 | give_some!(&mut self.filename, filename.into()); [INFO] [stderr] | ------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | give_some!(&mut self.bytes, bytes); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 106 | give_some!(&mut self.number, number); [INFO] [stderr] | ------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused return value of `std::mem::replace` that must be used [INFO] [stderr] --> src/parser/entities.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 112 | give_some!(&mut self.article_id, article_id.into()); [INFO] [stderr] | ---------------------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] error: environment variable `USENETUSER` not defined [INFO] [stderr] --> src/main.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: environment variable `USENETPASS` not defined [INFO] [stderr] --> src/main.rs:41:42 [INFO] [stderr] | [INFO] [stderr] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `nntp::NNTPResult` [INFO] [stderr] --> src/main.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | use nntp::{NNTPStream, NNTPResult}; [INFO] [stderr] | ^^^^^^^^^^ no `NNTPResult` in the root [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `body_by_id_unknown_bytes` found for mutable reference `&mut nntp::NNTPStream` in the current scope [INFO] [stderr] --> src/main.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | let bytes = usenet.body_by_id_unknown_bytes(&format!("<{}>", &segment.article_id))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut nntp::NNTPStream` [INFO] [stderr] [INFO] [stderr] error: environment variable `USENETUSER` not defined [INFO] [stderr] --> src/main.rs:41:22 [INFO] [stderr] | [INFO] [stderr] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `login` found for struct `nntp::NNTPStream` in the current scope [INFO] [stderr] --> src/main.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stderr] | ^^^^^ method not found in `nntp::NNTPStream` [INFO] [stderr] [INFO] [stderr] error: environment variable `USENETPASS` not defined [INFO] [stderr] --> src/main.rs:41:42 [INFO] [stderr] | [INFO] [stderr] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `nntp::NNTPResult` [INFO] [stderr] --> src/main.rs:18:24 [INFO] [stderr] | [INFO] [stderr] 18 | use nntp::{NNTPStream, NNTPResult}; [INFO] [stderr] | ^^^^^^^^^^ no `NNTPResult` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rustynzb`. [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 `body_by_id_unknown_bytes` found for mutable reference `&mut nntp::NNTPStream` in the current scope [INFO] [stderr] --> src/main.rs:22:24 [INFO] [stderr] | [INFO] [stderr] 22 | let bytes = usenet.body_by_id_unknown_bytes(&format!("<{}>", &segment.article_id))?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut nntp::NNTPStream` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `login` found for struct `nntp::NNTPStream` in the current scope [INFO] [stderr] --> src/main.rs:41:16 [INFO] [stderr] | [INFO] [stderr] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stderr] | ^^^^^ method not found in `nntp::NNTPStream` [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [INFO] [stderr] error: could not compile `rustynzb`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8cbc84af20bafb7edc396193857ca2b110491d66cf3cda1ae5a2d9ef4a4ab091"` [INFO] running `"docker" "rm" "-f" "8cbc84af20bafb7edc396193857ca2b110491d66cf3cda1ae5a2d9ef4a4ab091"` [INFO] [stdout] 8cbc84af20bafb7edc396193857ca2b110491d66cf3cda1ae5a2d9ef4a4ab091