[INFO] cloning repository https://github.com/416365416c/rust-filer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/416365416c/rust-filer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F416365416c%2Frust-filer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F416365416c%2Frust-filer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55b0dbd856ba1ff7aa436ddc4c82bc1555d0c34b [INFO] checking 416365416c/rust-filer against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F416365416c%2Frust-filer" "/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/416365416c/rust-filer on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/416365416c/rust-filer [INFO] finished tweaking git repo https://github.com/416365416c/rust-filer [INFO] tweaked toml for git repo https://github.com/416365416c/rust-filer written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/416365416c/rust-filer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9ff3b666a1bf3d03ef3a2bb4191e747e739cc8e502f936010dfd08100b4c1a6f [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" "9ff3b666a1bf3d03ef3a2bb4191e747e739cc8e502f936010dfd08100b4c1a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9ff3b666a1bf3d03ef3a2bb4191e747e739cc8e502f936010dfd08100b4c1a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9ff3b666a1bf3d03ef3a2bb4191e747e739cc8e502f936010dfd08100b4c1a6f", kill_on_drop: false }` [INFO] [stdout] 9ff3b666a1bf3d03ef3a2bb4191e747e739cc8e502f936010dfd08100b4c1a6f [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" "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:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1738867ca6fdaab9054a2a521d7543146ad747576d2b91332c364e32e9c19cba [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" "1738867ca6fdaab9054a2a521d7543146ad747576d2b91332c364e32e9c19cba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking rust_filer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found keyword `mut` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | mut mail_buffer: String, [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found keyword `in` [INFO] [stdout] --> src/lib.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | if label in block { // If blocked, dest_str to NONE (still copying buf thou?) [INFO] [stdout] | -- ^^ expected `{` [INFO] [stdout] | | [INFO] [stdout] | this `if` expression has a condition, but no block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected identifier, found keyword `mut` [INFO] [stdout] --> src/lib.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | mut mail_buffer: String, [INFO] [stdout] | ^^^ expected identifier, found keyword [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `{`, found keyword `in` [INFO] [stdout] --> src/lib.rs:97:34 [INFO] [stdout] | [INFO] [stdout] 97 | if label in block { // If blocked, dest_str to NONE (still copying buf thou?) [INFO] [stdout] | -- ^^ expected `{` [INFO] [stdout] | | [INFO] [stdout] | this `if` expression has a condition, but no block [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `line_str` in this scope [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return line_str[15..].trim().split(","); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target_mbox` in this scope [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | target_mbox = String::from("misc"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target_mbox` in this scope [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | target_mbox = String::from//HERE [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `line_str` in this scope [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | return line_str[15..].trim().split(","); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target_mbox` in this scope [INFO] [stdout] --> src/lib.rs:70:13 [INFO] [stdout] | [INFO] [stdout] 70 | target_mbox = String::from("misc"); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `target_mbox` in this scope [INFO] [stdout] --> src/lib.rs:72:13 [INFO] [stdout] | [INFO] [stdout] 72 | target_mbox = String::from//HERE [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if (misc) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const INF = 99999; // For label selection algorithm [INFO] [stdout] | ^^^ help: provide a type for the item: `INF: i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/lib.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | if (misc) { [INFO] [stdout] | ^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | const INF = 99999; // For label selection algorithm [INFO] [stdout] | ^^^ help: provide a type for the item: `INF: i32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | for label in get_labels(line_str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&line_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:45:45 [INFO] [stdout] | [INFO] [stdout] 45 | for label in get_labels(line_str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&line_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mail_buffer` on type `&Mail` [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | self.mail_buffer.append(line); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mail = Mail::new(misc); [INFO] [stdout] | ^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(&self, misc: bool) { [INFO] [stdout] | ^^^ ----- ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_to_mbox` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | mail.write_to_mbox(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | mail = Mail::new(misc); [INFO] [stdout] | ^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(&self, misc: bool) { [INFO] [stdout] | ^^^ ----- ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mail_buffer` on type `&Mail` [INFO] [stdout] --> src/lib.rs:76:14 [INFO] [stdout] | [INFO] [stdout] 76 | self.mail_buffer.append(line); [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 96 | for label in get_labels(line_str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&line_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | let mut mail = Mail::new(misc); [INFO] [stdout] | ^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(&self, misc: bool) { [INFO] [stdout] | ^^^ ----- ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | mail.append(&line_str) [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_to_mbox` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | mail.write_to_mbox(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_to_mbox` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:92:26 [INFO] [stdout] | [INFO] [stdout] 92 | mail.write_to_mbox(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/lib.rs:93:28 [INFO] [stdout] | [INFO] [stdout] 93 | mail = Mail::new(misc); [INFO] [stdout] | ^^^^^^^^^ ---- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/lib.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn new(&self, misc: bool) { [INFO] [stdout] | ^^^ ----- ---------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:96:45 [INFO] [stdout] | [INFO] [stdout] 96 | for label in get_labels(line_str) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&str`, found struct `String` [INFO] [stdout] | help: consider borrowing here: `&line_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `append` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:104:22 [INFO] [stdout] | [INFO] [stdout] 104 | mail.append(&line_str) [INFO] [stdout] | ^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_to_mbox` found for unit type `()` in the current scope [INFO] [stdout] --> src/lib.rs:110:10 [INFO] [stdout] | [INFO] [stdout] 110 | mail.write_to_mbox(); [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust_filer` [INFO] [stdout] error: aborting due to 14 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0425, E0599, E0609. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "1738867ca6fdaab9054a2a521d7543146ad747576d2b91332c364e32e9c19cba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1738867ca6fdaab9054a2a521d7543146ad747576d2b91332c364e32e9c19cba", kill_on_drop: false }` [INFO] [stdout] 1738867ca6fdaab9054a2a521d7543146ad747576d2b91332c364e32e9c19cba