[INFO] cloning repository https://github.com/tdbgamer/RustyNzb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tdbgamer/RustyNzb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdbgamer%2FRustyNzb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdbgamer%2FRustyNzb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc3fc86049682b9ee9eee4288034cb6d11cc55c0 [INFO] checking tdbgamer/RustyNzb against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftdbgamer%2FRustyNzb" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tdbgamer/RustyNzb on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/tdbgamer/RustyNzb already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a871fbc1bc9a93fc4cfcf6daee9847e9d348bc52743fb4abdf276ac529416c01 [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" "a871fbc1bc9a93fc4cfcf6daee9847e9d348bc52743fb4abdf276ac529416c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a871fbc1bc9a93fc4cfcf6daee9847e9d348bc52743fb4abdf276ac529416c01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a871fbc1bc9a93fc4cfcf6daee9847e9d348bc52743fb4abdf276ac529416c01", kill_on_drop: false }` [INFO] [stdout] a871fbc1bc9a93fc4cfcf6daee9847e9d348bc52743fb4abdf276ac529416c01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 747d1429871d00ff4117fdd4d94a1eb99267135792e1b8c92692fa45bdf8e163 [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" "747d1429871d00ff4117fdd4d94a1eb99267135792e1b8c92692fa45bdf8e163", kill_on_drop: false }` [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] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking gimli v0.23.0 [INFO] [stderr] Checking adler v0.2.3 [INFO] [stderr] Checking rustc-demangle v0.1.18 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking object v0.22.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking nntp v0.0.5 [INFO] [stderr] Checking yenc v0.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking encoding_rs v0.7.2 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Checking addr2line v0.14.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking backtrace v0.3.55 [INFO] [stderr] Checking error-chain v0.11.0 [INFO] [stderr] Checking quick-xml v0.10.1 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking rustynzb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_nzb(file: &mut BufRead) -> RustyNzbResult> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser/mod.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn parse_nzb(file: &mut BufRead) -> RustyNzbResult> { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn BufRead` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | give_some!(&mut self.filename, filename.into()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | give_some!(&mut self.bytes, bytes); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | give_some!(&mut self.number, number); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | give_some!(&mut self.article_id, article_id.into()); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | give_some!(&mut self.filename, filename.into()); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | give_some!(&mut self.bytes, bytes); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | give_some!(&mut self.number, number); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/parser/entities.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | ::std::mem::replace($to_replace, Some($replacement)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | give_some!(&mut self.article_id, article_id.into()); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `USENETUSER` not defined [INFO] [stdout] --> src/main.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: environment variable `USENETPASS` not defined [INFO] [stdout] --> src/main.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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[E0432]: unresolved import `nntp::NNTPResult` [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use nntp::{NNTPStream, NNTPResult}; [INFO] [stdout] | ^^^^^^^^^^ no `NNTPResult` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: environment variable `USENETUSER` not defined [INFO] [stdout] --> src/main.rs:41:22 [INFO] [stdout] | [INFO] [stdout] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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: environment variable `USENETPASS` not defined [INFO] [stdout] --> src/main.rs:41:42 [INFO] [stdout] | [INFO] [stdout] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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[E0432]: unresolved import `nntp::NNTPResult` [INFO] [stdout] --> src/main.rs:18:24 [INFO] [stdout] | [INFO] [stdout] 18 | use nntp::{NNTPStream, NNTPResult}; [INFO] [stdout] | ^^^^^^^^^^ no `NNTPResult` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body_by_id_unknown_bytes` found for mutable reference `&mut NNTPStream` in the current scope [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let bytes = usenet.body_by_id_unknown_bytes(&format!("<{}>", &segment.article_id))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut NNTPStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `login` found for struct `NNTPStream` in the current scope [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `NNTPStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `body_by_id_unknown_bytes` found for mutable reference `&mut NNTPStream` in the current scope [INFO] [stdout] --> src/main.rs:22:24 [INFO] [stdout] | [INFO] [stdout] 22 | let bytes = usenet.body_by_id_unknown_bytes(&format!("<{}>", &segment.article_id))?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut NNTPStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `login` found for struct `NNTPStream` in the current scope [INFO] [stdout] --> src/main.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | usenet.login(env!("USENETUSER"), env!("USENETPASS")).unwrap(); [INFO] [stdout] | ^^^^^ method not found in `NNTPStream` [INFO] [stdout] [INFO] [stdout] [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] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "747d1429871d00ff4117fdd4d94a1eb99267135792e1b8c92692fa45bdf8e163", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747d1429871d00ff4117fdd4d94a1eb99267135792e1b8c92692fa45bdf8e163", kill_on_drop: false }` [INFO] [stdout] 747d1429871d00ff4117fdd4d94a1eb99267135792e1b8c92692fa45bdf8e163