[INFO] updating cached repository https://github.com/Lymia/th_dnh_archiver [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] 3edf70755257e1c0f1d193304f2ce36bd8016d5a [INFO] checking Lymia/th_dnh_archiver against try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLymia%2Fth_dnh_archiver" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Lymia/th_dnh_archiver 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/Lymia/th_dnh_archiver [INFO] finished tweaking git repo https://github.com/Lymia/th_dnh_archiver [INFO] tweaked toml for git repo https://github.com/Lymia/th_dnh_archiver written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/Lymia/th_dnh_archiver 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-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" "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] [stdout] 83f04cebb77ce3995772dacbf50dd5ec2d67fb3c2b177554a5aede938694f4ef [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" "83f04cebb77ce3995772dacbf50dd5ec2d67fb3c2b177554a5aede938694f4ef"` [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling cc v1.0.15 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking libflate v0.1.14 [INFO] [stderr] Compiling synstructure v0.6.1 [INFO] [stderr] Compiling failure_derive v0.1.1 [INFO] [stderr] Checking backtrace v0.3.7 [INFO] [stderr] Checking failure v0.1.1 [INFO] [stderr] Checking th_dnh_archiver v3.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/output.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | '\0' ... '\u{1F}' => new_name.push('_'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/output.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref INVALID_NAMES: HashSet<&'static str> = { [INFO] [stderr] 21 | | let mut set = HashSet::new(); [INFO] [stderr] 22 | | for &i in &[ [INFO] [stderr] ... | [INFO] [stderr] 31 | | }; [INFO] [stderr] 32 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [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: `...` range patterns are deprecated [INFO] [stderr] --> src/output.rs:14:18 [INFO] [stderr] | [INFO] [stderr] 14 | '\0' ... '\u{1F}' => new_name.push('_'), [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/output.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | / lazy_static! { [INFO] [stderr] 20 | | static ref INVALID_NAMES: HashSet<&'static str> = { [INFO] [stderr] 21 | | let mut set = HashSet::new(); [INFO] [stderr] 22 | | for &i in &[ [INFO] [stderr] ... | [INFO] [stderr] 31 | | }; [INFO] [stderr] 32 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [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: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/output.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | for char in name.trim().trim_right_matches('.').chars() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'core::str::::trim_right_matches': superseded by `trim_end_matches` [INFO] [stderr] --> src/output.rs:11:29 [INFO] [stderr] | [INFO] [stderr] 11 | for char in name.trim().trim_right_matches('.').chars() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated item: `trim_end_matches` [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stderr] --> src/output.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 100 | &mut self, original_path: &str, path_name: &mut String, original_name: &str, [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 101 | ) -> Result<&mut OutputDirNode> { [INFO] [stderr] 102 | if let Some(node) = self.subdirs.get_mut(original_name) { [INFO] [stderr] | ------------ first mutable borrow occurs here [INFO] [stderr] 103 | Ok(node) [INFO] [stderr] | -------- returning this value requires that `self.subdirs` is borrowed for `'1` [INFO] [stderr] ... [INFO] [stderr] 106 | path.push(self.uniq_name(original_path, path_name.as_ref(), original_name)?); [INFO] [stderr] | ^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `self.subdirs` as mutable more than once at a time [INFO] [stderr] --> src/output.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 100 | &mut self, original_path: &str, path_name: &mut String, original_name: &str, [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 101 | ) -> Result<&mut OutputDirNode> { [INFO] [stderr] 102 | if let Some(node) = self.subdirs.get_mut(original_name) { [INFO] [stderr] | ------------ first mutable borrow occurs here [INFO] [stderr] 103 | Ok(node) [INFO] [stderr] | -------- returning this value requires that `self.subdirs` is borrowed for `'1` [INFO] [stderr] ... [INFO] [stderr] 109 | self.subdirs.insert(original_name.to_string(), OutputDirNode::new(path)); [INFO] [stderr] | ^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `self.subdirs` as mutable more than once at a time [INFO] [stderr] --> src/output.rs:110:16 [INFO] [stderr] | [INFO] [stderr] 100 | &mut self, original_path: &str, path_name: &mut String, original_name: &str, [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 101 | ) -> Result<&mut OutputDirNode> { [INFO] [stderr] 102 | if let Some(node) = self.subdirs.get_mut(original_name) { [INFO] [stderr] | ------------ first mutable borrow occurs here [INFO] [stderr] 103 | Ok(node) [INFO] [stderr] | -------- returning this value requires that `self.subdirs` is borrowed for `'1` [INFO] [stderr] ... [INFO] [stderr] 110 | Ok(self.subdirs.get_mut(original_name).unwrap()) [INFO] [stderr] | ^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0499`. [INFO] [stderr] error: could not compile `th_dnh_archiver`. [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[E0499]: cannot borrow `*self` as mutable more than once at a time [INFO] [stderr] --> src/output.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 100 | &mut self, original_path: &str, path_name: &mut String, original_name: &str, [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 101 | ) -> Result<&mut OutputDirNode> { [INFO] [stderr] 102 | if let Some(node) = self.subdirs.get_mut(original_name) { [INFO] [stderr] | ------------ first mutable borrow occurs here [INFO] [stderr] 103 | Ok(node) [INFO] [stderr] | -------- returning this value requires that `self.subdirs` is borrowed for `'1` [INFO] [stderr] ... [INFO] [stderr] 106 | path.push(self.uniq_name(original_path, path_name.as_ref(), original_name)?); [INFO] [stderr] | ^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `self.subdirs` as mutable more than once at a time [INFO] [stderr] --> src/output.rs:109:13 [INFO] [stderr] | [INFO] [stderr] 100 | &mut self, original_path: &str, path_name: &mut String, original_name: &str, [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 101 | ) -> Result<&mut OutputDirNode> { [INFO] [stderr] 102 | if let Some(node) = self.subdirs.get_mut(original_name) { [INFO] [stderr] | ------------ first mutable borrow occurs here [INFO] [stderr] 103 | Ok(node) [INFO] [stderr] | -------- returning this value requires that `self.subdirs` is borrowed for `'1` [INFO] [stderr] ... [INFO] [stderr] 109 | self.subdirs.insert(original_name.to_string(), OutputDirNode::new(path)); [INFO] [stderr] | ^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error[E0499]: cannot borrow `self.subdirs` as mutable more than once at a time [INFO] [stderr] --> src/output.rs:110:16 [INFO] [stderr] | [INFO] [stderr] 100 | &mut self, original_path: &str, path_name: &mut String, original_name: &str, [INFO] [stderr] | - let's call the lifetime of this reference `'1` [INFO] [stderr] 101 | ) -> Result<&mut OutputDirNode> { [INFO] [stderr] 102 | if let Some(node) = self.subdirs.get_mut(original_name) { [INFO] [stderr] | ------------ first mutable borrow occurs here [INFO] [stderr] 103 | Ok(node) [INFO] [stderr] | -------- returning this value requires that `self.subdirs` is borrowed for `'1` [INFO] [stderr] ... [INFO] [stderr] 110 | Ok(self.subdirs.get_mut(original_name).unwrap()) [INFO] [stderr] | ^^^^^^^^^^^^ second mutable borrow occurs here [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0499`. [INFO] [stderr] error: could not compile `th_dnh_archiver`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "83f04cebb77ce3995772dacbf50dd5ec2d67fb3c2b177554a5aede938694f4ef"` [INFO] running `"docker" "rm" "-f" "83f04cebb77ce3995772dacbf50dd5ec2d67fb3c2b177554a5aede938694f4ef"` [INFO] [stdout] 83f04cebb77ce3995772dacbf50dd5ec2d67fb3c2b177554a5aede938694f4ef