[INFO] cloning repository https://github.com/bissbotch/multitool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bissbotch/multitool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbissbotch%2Fmultitool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbissbotch%2Fmultitool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac0eeaed54b874bda7b813c8ef03fc84a229b236 [INFO] checking bissbotch/multitool/ac0eeaed54b874bda7b813c8ef03fc84a229b236 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbissbotch%2Fmultitool" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bissbotch/multitool on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bissbotch/multitool [INFO] finished tweaking git repo https://github.com/bissbotch/multitool [INFO] tweaked toml for git repo https://github.com/bissbotch/multitool written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bissbotch/multitool already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cb8d67a21a997016ab01e47adc8a0aac51587f5f38a5dfdb5bb0d4a486ce0e8 [INFO] running `Command { std: "docker" "start" "-a" "3cb8d67a21a997016ab01e47adc8a0aac51587f5f38a5dfdb5bb0d4a486ce0e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cb8d67a21a997016ab01e47adc8a0aac51587f5f38a5dfdb5bb0d4a486ce0e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cb8d67a21a997016ab01e47adc8a0aac51587f5f38a5dfdb5bb0d4a486ce0e8", kill_on_drop: false }` [INFO] [stdout] 3cb8d67a21a997016ab01e47adc8a0aac51587f5f38a5dfdb5bb0d4a486ce0e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 04e6301c89fea2e6f100cf3a716057a7d179171ff4eb88c13baac1ea1445709b [INFO] running `Command { std: "docker" "start" "-a" "04e6301c89fea2e6f100cf3a716057a7d179171ff4eb88c13baac1ea1445709b", kill_on_drop: false }` [INFO] [stderr] Checking bruteforce-tool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(contents) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(self: contents) { [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(contents: TypeName) { [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(_: contents) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> src/lib.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(contents) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] = note: anonymous parameters are removed in the 2018 edition (see RFC 1685) [INFO] [stdout] help: if this is a `self` type, give it a parameter name [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(self: contents) { [INFO] [stdout] | +++++ [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(contents: TypeName) { [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 16 | pub fn read_file(_: contents) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/lib.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_file() -> &String { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_file() -> &'static String { [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 4 - pub fn find_file() -> &String { [INFO] [stdout] 4 + pub fn find_file() -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/lib.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_file() -> &String { [INFO] [stdout] | ^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] = help: this function's return type contains a borrowed value, but there is no value for it to be borrowed from [INFO] [stdout] help: consider using the `'static` lifetime, but this is uncommon unless you're returning a borrowed value from a `const` or a `static` [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_file() -> &'static String { [INFO] [stdout] | +++++++ [INFO] [stdout] help: instead, you are more likely to want to return an owned value [INFO] [stdout] | [INFO] [stdout] 4 - pub fn find_file() -> &String { [INFO] [stdout] 4 + pub fn find_file() -> String { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_file() -> &String { [INFO] [stdout] | ------- expected `&'static String` because of return type [INFO] [stdout] ... [INFO] [stdout] 13 | return contents; [INFO] [stdout] | ^^^^^^^^ expected `&String`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | return &contents; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn find_file() -> &String { [INFO] [stdout] | ------- expected `&'static String` because of return type [INFO] [stdout] ... [INFO] [stdout] 13 | return contents; [INFO] [stdout] | ^^^^^^^^ expected `&String`, found `String` [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 13 | return &contents; [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0106, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0106`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bruteforce-tool` (lib) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `bruteforce-tool` (lib test) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "04e6301c89fea2e6f100cf3a716057a7d179171ff4eb88c13baac1ea1445709b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "04e6301c89fea2e6f100cf3a716057a7d179171ff4eb88c13baac1ea1445709b", kill_on_drop: false }` [INFO] [stdout] 04e6301c89fea2e6f100cf3a716057a7d179171ff4eb88c13baac1ea1445709b