[INFO] updating cached repository Lymia/th_dnh_archiver [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/Lymia/th_dnh_archiver [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/Lymia/th_dnh_archiver" "work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Lymia/th_dnh_archiver"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Lymia/th_dnh_archiver'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/Lymia/th_dnh_archiver" "work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Lymia/th_dnh_archiver"` [INFO] [stderr] Cloning into 'work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Lymia/th_dnh_archiver'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 3edf70755257e1c0f1d193304f2ce36bd8016d5a [INFO] sha for GitHub repo Lymia/th_dnh_archiver: 3edf70755257e1c0f1d193304f2ce36bd8016d5a [INFO] validating manifest of Lymia/th_dnh_archiver on toolchain master#60960a260f7b5c695fd0717311d72ce62dd4eb43 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of Lymia/th_dnh_archiver on toolchain try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing Lymia/th_dnh_archiver [INFO] finished frobbing Lymia/th_dnh_archiver [INFO] frobbed toml for Lymia/th_dnh_archiver written to work/ex/pr-63376/sources/master#60960a260f7b5c695fd0717311d72ce62dd4eb43/gh/Lymia/th_dnh_archiver/Cargo.toml [INFO] started frobbing Lymia/th_dnh_archiver [INFO] finished frobbing Lymia/th_dnh_archiver [INFO] frobbed toml for Lymia/th_dnh_archiver written to work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Lymia/th_dnh_archiver/Cargo.toml [INFO] crate Lymia/th_dnh_archiver already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+60960a260f7b5c695fd0717311d72ce62dd4eb43-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking Lymia/th_dnh_archiver against try#266783e4e09e4e9d5307c1c8e695659c58bbcac7 for pr-63376 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/pr-63376/worker-7/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/pr-63376/sources/try#266783e4e09e4e9d5307c1c8e695659c58bbcac7/gh/Lymia/th_dnh_archiver:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+266783e4e09e4e9d5307c1c8e695659c58bbcac7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] ef101995c89834f67ee921da1543ee29950a0720d9e5fb52fc95c157769ebb7f [INFO] running `"docker" "start" "-a" "ef101995c89834f67ee921da1543ee29950a0720d9e5fb52fc95c157769ebb7f"` [INFO] [stderr] Checking libflate v0.1.14 [INFO] [stderr] Checking th_dnh_archiver v3.0.1 (/opt/crater/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 outside of the current crate (in Nightly builds, run with -Z external-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 outside of the current crate (in Nightly builds, run with -Z external-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 [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] 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 [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" "ef101995c89834f67ee921da1543ee29950a0720d9e5fb52fc95c157769ebb7f"` [INFO] running `"docker" "rm" "-f" "ef101995c89834f67ee921da1543ee29950a0720d9e5fb52fc95c157769ebb7f"` [INFO] [stdout] ef101995c89834f67ee921da1543ee29950a0720d9e5fb52fc95c157769ebb7f