[INFO] cloning repository https://github.com/mrtambour/psychic-doodle [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mrtambour/psychic-doodle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtambour%2Fpsychic-doodle"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtambour%2Fpsychic-doodle'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 81609f43e2cc316e3de3b242652d534c0a2e015b [INFO] testing mrtambour/psychic-doodle against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtambour%2Fpsychic-doodle" "/workspace/builds/worker-2/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrtambour/psychic-doodle on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/mrtambour/psychic-doodle [INFO] finished tweaking git repo https://github.com/mrtambour/psychic-doodle [INFO] tweaked toml for git repo https://github.com/mrtambour/psychic-doodle written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/mrtambour/psychic-doodle already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b7754aa1c8b61e6f5c77aafe0095100ab0e605a711c03520adfec6c0b4cf5179 [INFO] running `"docker" "start" "-a" "b7754aa1c8b61e6f5c77aafe0095100ab0e605a711c03520adfec6c0b4cf5179"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.51 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling unrar_sys v0.2.0 [INFO] [stderr] Compiling nfd v0.0.4 (https://github.com/saurvs/nfd-rs#07578c5f) [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling libflate v0.1.21 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling zip v0.5.2 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling unrar v0.4.3 [INFO] [stderr] Compiling psychic-doodle v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error: format argument must be a string literal [INFO] [stderr] --> src/main.rs:80:18 [INFO] [stderr] | [INFO] [stderr] 80 | println!(format!( [INFO] [stderr] | __________________^ [INFO] [stderr] 81 | | "Leave original file is set to {}, would you like to change it?", [INFO] [stderr] 82 | | LEAVE_ORIGINAL_FILE [INFO] [stderr] 83 | | )); [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: you might be missing a string literal to format with [INFO] [stderr] | [INFO] [stderr] 80 | println!("{}", format!( [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `archives_list` in this scope [INFO] [stderr] --> src/main.rs:44:13 [INFO] [stderr] | [INFO] [stderr] 44 | archives_list.push(file_name); [INFO] [stderr] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `rar_archives_list` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stderr] --> src/main.rs:146:29 [INFO] [stderr] | [INFO] [stderr] 146 | .extract_to(tmp_dir.path().as_os_str().to_str().unwrap().to_string()) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stderr] --> src/main.rs:152:45 [INFO] [stderr] | [INFO] [stderr] 152 | for comic_file in fs::read_dir(&tmp_dir).expect("error reading temporary directory") { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stderr] --> src/main.rs:165:29 [INFO] [stderr] | [INFO] [stderr] 165 | .extract_to(tmp_dir.path().as_os_str().to_str().unwrap().to_string()) [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stderr] --> src/main.rs:171:45 [INFO] [stderr] | [INFO] [stderr] 171 | for comic_file in fs::read_dir(&tmp_dir).expect("error reading temporary directory") { [INFO] [stderr] | ^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused import: `nfd::Response` [INFO] [stderr] --> src/main.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use nfd::Response; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `DirBuilder` [INFO] [stderr] --> src/main.rs:5:15 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs::{DirBuilder, File}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result` [INFO] [stderr] --> src/main.rs:56:17 [INFO] [stderr] | [INFO] [stderr] 56 | if line == "process_zip=false" { [INFO] [stderr] | ---- ^^ ------------------- &str [INFO] [stderr] | | [INFO] [stderr] | std::result::Result [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | *PROCESS_ZIP = false; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result` [INFO] [stderr] --> src/main.rs:58:24 [INFO] [stderr] | [INFO] [stderr] 58 | } else if line == "process_rar=false" { [INFO] [stderr] | ---- ^^ ------------------- &str [INFO] [stderr] | | [INFO] [stderr] | std::result::Result [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:59:13 [INFO] [stderr] | [INFO] [stderr] 59 | *PROCESS_RAR == false; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result` [INFO] [stderr] --> src/main.rs:60:24 [INFO] [stderr] | [INFO] [stderr] 60 | } else if line == "leave_original_file=false" { [INFO] [stderr] | ---- ^^ --------------------------- &str [INFO] [stderr] | | [INFO] [stderr] | std::result::Result [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:61:13 [INFO] [stderr] | [INFO] [stderr] 61 | *LEAVE_ORIGINAL_FILE == false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:62:19 [INFO] [stderr] | [INFO] [stderr] 62 | } else if &PROCESS_ZIP && *PROCESS_RAR == false { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `bool`, found `&bool` [INFO] [stderr] | help: consider removing the borrow: `PROCESS_ZIP` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:62:35 [INFO] [stderr] | [INFO] [stderr] 62 | } else if &PROCESS_ZIP && *PROCESS_RAR == false { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stderr] --> src/main.rs:68:29 [INFO] [stderr] | [INFO] [stderr] 68 | if input_buffer == 1 { [INFO] [stderr] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:69:17 [INFO] [stderr] | [INFO] [stderr] 69 | *PROCESS_ZIP = true; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:70:17 [INFO] [stderr] | [INFO] [stderr] 70 | *PROCESS_RAR = false; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stderr] --> src/main.rs:71:36 [INFO] [stderr] | [INFO] [stderr] 71 | } else if input_buffer == 2 { [INFO] [stderr] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:72:17 [INFO] [stderr] | [INFO] [stderr] 72 | *PROCESS_ZIP = false; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:73:17 [INFO] [stderr] | [INFO] [stderr] 73 | *PROCESS_RAR = true; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stderr] --> src/main.rs:74:36 [INFO] [stderr] | [INFO] [stderr] 74 | } else if input_buffer == 3 { [INFO] [stderr] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:75:17 [INFO] [stderr] | [INFO] [stderr] 75 | *PROCESS_ZIP = true; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:76:17 [INFO] [stderr] | [INFO] [stderr] 76 | *PROCESS_RAR = true; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stderr] --> src/main.rs:87:32 [INFO] [stderr] | [INFO] [stderr] 87 | if file_setting_buffer == 1 { [INFO] [stderr] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stderr] --> src/main.rs:89:39 [INFO] [stderr] | [INFO] [stderr] 89 | } else if file_setting_buffer == 2 { [INFO] [stderr] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:91:17 [INFO] [stderr] | [INFO] [stderr] 91 | *LEAVE_ORIGINAL_FILE = false; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0614]: type `bool` cannot be dereferenced [INFO] [stderr] --> src/main.rs:94:17 [INFO] [stderr] | [INFO] [stderr] 94 | *LEAVE_ORIGINAL_FILE = true; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 27 previous errors; 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308, E0369, E0425, E0614. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `psychic-doodle`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "b7754aa1c8b61e6f5c77aafe0095100ab0e605a711c03520adfec6c0b4cf5179"` [INFO] running `"docker" "rm" "-f" "b7754aa1c8b61e6f5c77aafe0095100ab0e605a711c03520adfec6c0b4cf5179"` [INFO] [stdout] b7754aa1c8b61e6f5c77aafe0095100ab0e605a711c03520adfec6c0b4cf5179