[INFO] updating cached repository https://github.com/mrtambour/psychic-doodle [INFO] running `Command { std: "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", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 81609f43e2cc316e3de3b242652d534c0a2e015b [INFO] testing mrtambour/psychic-doodle against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmrtambour%2Fpsychic-doodle" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mrtambour/psychic-doodle on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-4/source/Cargo.toml [INFO] crate git repo https://github.com/mrtambour/psychic-doodle already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c5a8608c4f673d31d2326385f1877de3590af06dfcf7c5f71de70d34f76aa01 [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" "2c5a8608c4f673d31d2326385f1877de3590af06dfcf7c5f71de70d34f76aa01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c5a8608c4f673d31d2326385f1877de3590af06dfcf7c5f71de70d34f76aa01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c5a8608c4f673d31d2326385f1877de3590af06dfcf7c5f71de70d34f76aa01", kill_on_drop: false }` [INFO] [stdout] 2c5a8608c4f673d31d2326385f1877de3590af06dfcf7c5f71de70d34f76aa01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2af1d1ce975b4888a9222c55d47ee61bfcbbb4212035d3d814d6e896004fadb3 [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" "2af1d1ce975b4888a9222c55d47ee61bfcbbb4212035d3d814d6e896004fadb3", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.34 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling bitflags v0.6.0 [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 libflate v0.1.21 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling zip v0.5.2 [INFO] [stderr] Compiling unrar v0.4.3 [INFO] [stderr] Compiling psychic-doodle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: format argument must be a string literal [INFO] [stdout] --> src/main.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 80 | println!(format!( [INFO] [stdout] | __________________^ [INFO] [stdout] 81 | | "Leave original file is set to {}, would you like to change it?", [INFO] [stdout] 82 | | LEAVE_ORIGINAL_FILE [INFO] [stdout] 83 | | )); [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] help: you might be missing a string literal to format with [INFO] [stdout] | [INFO] [stdout] 80 | println!("{}", format!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `archives_list` in this scope [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | archives_list.push(file_name); [INFO] [stdout] | ^^^^^^^^^^^^^ help: a local variable with a similar name exists: `rar_archives_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stdout] --> src/main.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | .extract_to(tmp_dir.path().as_os_str().to_str().unwrap().to_string()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stdout] --> src/main.rs:152:45 [INFO] [stdout] | [INFO] [stdout] 152 | for comic_file in fs::read_dir(&tmp_dir).expect("error reading temporary directory") { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stdout] --> src/main.rs:165:29 [INFO] [stdout] | [INFO] [stdout] 165 | .extract_to(tmp_dir.path().as_os_str().to_str().unwrap().to_string()) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `tmp_dir` in this scope [INFO] [stdout] --> src/main.rs:171:45 [INFO] [stdout] | [INFO] [stdout] 171 | for comic_file in fs::read_dir(&tmp_dir).expect("error reading temporary directory") { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nfd::Response` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use nfd::Response; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DirBuilder` [INFO] [stdout] --> src/main.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{DirBuilder, File}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result` [INFO] [stdout] --> src/main.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | if line == "process_zip=false" { [INFO] [stdout] | ---- ^^ ------------------- &str [INFO] [stdout] | | [INFO] [stdout] | std::result::Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:57:13 [INFO] [stdout] | [INFO] [stdout] 57 | *PROCESS_ZIP = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result` [INFO] [stdout] --> src/main.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | } else if line == "process_rar=false" { [INFO] [stdout] | ---- ^^ ------------------- &str [INFO] [stdout] | | [INFO] [stdout] | std::result::Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | *PROCESS_RAR == false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `std::result::Result` [INFO] [stdout] --> src/main.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | } else if line == "leave_original_file=false" { [INFO] [stdout] | ---- ^^ --------------------------- &str [INFO] [stdout] | | [INFO] [stdout] | std::result::Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | *LEAVE_ORIGINAL_FILE == false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:62:19 [INFO] [stdout] | [INFO] [stdout] 62 | } else if &PROCESS_ZIP && *PROCESS_RAR == false { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `bool`, found `&bool` [INFO] [stdout] | help: consider removing the borrow: `PROCESS_ZIP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:62:35 [INFO] [stdout] | [INFO] [stdout] 62 | } else if &PROCESS_ZIP && *PROCESS_RAR == false { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stdout] --> src/main.rs:68:29 [INFO] [stdout] | [INFO] [stdout] 68 | if input_buffer == 1 { [INFO] [stdout] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | *PROCESS_ZIP = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:70:17 [INFO] [stdout] | [INFO] [stdout] 70 | *PROCESS_RAR = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stdout] --> src/main.rs:71:36 [INFO] [stdout] | [INFO] [stdout] 71 | } else if input_buffer == 2 { [INFO] [stdout] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | *PROCESS_ZIP = false; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:73:17 [INFO] [stdout] | [INFO] [stdout] 73 | *PROCESS_RAR = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stdout] --> src/main.rs:74:36 [INFO] [stdout] | [INFO] [stdout] 74 | } else if input_buffer == 3 { [INFO] [stdout] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | *PROCESS_ZIP = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | *PROCESS_RAR = true; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stdout] --> src/main.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | if file_setting_buffer == 1 { [INFO] [stdout] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: can't compare `std::string::String` with `{integer}` [INFO] [stdout] --> src/main.rs:89:39 [INFO] [stdout] | [INFO] [stdout] 89 | } else if file_setting_buffer == 2 { [INFO] [stdout] | ^^ no implementation for `std::string::String == {integer}` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::cmp::PartialEq<{integer}>` is not implemented for `std::string::String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:91:17 [INFO] [stdout] | [INFO] [stdout] 91 | *LEAVE_ORIGINAL_FILE = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `bool` cannot be dereferenced [INFO] [stdout] --> src/main.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | *LEAVE_ORIGINAL_FILE = true; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0369, E0425, E0614. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `psychic-doodle`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2af1d1ce975b4888a9222c55d47ee61bfcbbb4212035d3d814d6e896004fadb3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2af1d1ce975b4888a9222c55d47ee61bfcbbb4212035d3d814d6e896004fadb3", kill_on_drop: false }` [INFO] [stdout] 2af1d1ce975b4888a9222c55d47ee61bfcbbb4212035d3d814d6e896004fadb3