[INFO] cloning repository https://github.com/OscarRatcliffe/Oscar-template-script [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/OscarRatcliffe/Oscar-template-script" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarRatcliffe%2FOscar-template-script", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarRatcliffe%2FOscar-template-script'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c345339bcc671133a6da1ca4d7cab53625396d39 [INFO] testing OscarRatcliffe/Oscar-template-script against try#16fbf98f22730e073c09e7b03f0eafb87a295545 for pr-145628-retry-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FOscarRatcliffe%2FOscar-template-script" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/OscarRatcliffe/Oscar-template-script [INFO] finished tweaking git repo https://github.com/OscarRatcliffe/Oscar-template-script [INFO] tweaked toml for git repo https://github.com/OscarRatcliffe/Oscar-template-script written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/OscarRatcliffe/Oscar-template-script on toolchain 16fbf98f22730e073c09e7b03f0eafb87a295545 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/OscarRatcliffe/Oscar-template-script 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" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8e98540d7dd8e77a1d87a8358552391775d91a1ce9bb098d197e6def3d94b231 [INFO] running `Command { std: "docker" "start" "-a" "8e98540d7dd8e77a1d87a8358552391775d91a1ce9bb098d197e6def3d94b231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8e98540d7dd8e77a1d87a8358552391775d91a1ce9bb098d197e6def3d94b231", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8e98540d7dd8e77a1d87a8358552391775d91a1ce9bb098d197e6def3d94b231", kill_on_drop: false }` [INFO] [stdout] 8e98540d7dd8e77a1d87a8358552391775d91a1ce9bb098d197e6def3d94b231 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+16fbf98f22730e073c09e7b03f0eafb87a295545" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6378213a5faff3b215bc0a0e0961df10576afc958906ae23b9d6e479d571e2d3 [INFO] running `Command { std: "docker" "start" "-a" "6378213a5faff3b215bc0a0e0961df10576afc958906ae23b9d6e479d571e2d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling pkg-config v0.3.27 [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling futures-core v0.3.29 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling futures-task v0.3.29 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling futures-util v0.3.29 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling openssl v0.10.57 [INFO] [stderr] Compiling futures-channel v0.3.29 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-sink v0.3.29 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling percent-encoding v2.3.0 [INFO] [stderr] Compiling try-lock v0.2.4 [INFO] [stderr] Compiling rustix v0.38.21 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling form_urlencoded v1.2.0 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling unicode-bidi v0.3.13 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.10 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling fastrand v2.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling base64 v0.21.5 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling http v0.2.9 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.9 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling openssl-sys v0.9.93 [INFO] [stderr] Compiling termios v0.3.3 [INFO] [stderr] Compiling idna v0.4.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling tokio v1.33.0 [INFO] [stderr] Compiling regex-automata v0.4.3 [INFO] [stderr] Compiling url v2.4.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tempfile v3.8.1 [INFO] [stderr] Compiling regex v1.10.2 [INFO] [stderr] Compiling console v0.11.3 [INFO] [stderr] Compiling dialoguer v0.6.2 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.21 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper v0.14.27 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.22 [INFO] [stderr] Compiling create v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `)` [INFO] [stdout] --> main.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | fn downloadFile(url) { [INFO] [stdout] | ^ expected one of `:`, `@`, or `|` [INFO] [stdout] | [INFO] [stdout] help: if this is a parameter name, give it a type [INFO] [stdout] | [INFO] [stdout] 13 | fn downloadFile(url: TypeName) { [INFO] [stdout] | ++++++++++ [INFO] [stdout] help: if this is a type, explicitly ignore the parameter name [INFO] [stdout] | [INFO] [stdout] 13 | fn downloadFile(_: url) { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `zip` [INFO] [stdout] --> main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate zip; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `blocking` in `reqwest` [INFO] [stdout] --> main.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | let response = reqwest::blocking::get(url); [INFO] [stdout] | ^^^^^^^^ could not find `blocking` in `reqwest` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/reqwest-0.11.22/src/lib.rs:338:13 [INFO] [stdout] | [INFO] [stdout] 337 | #[cfg(feature = "blocking")] [INFO] [stdout] | -------------------- the item is gated behind the `blocking` feature [INFO] [stdout] 338 | pub mod blocking; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Input` [INFO] [stdout] --> main.rs:5:48 [INFO] [stdout] | [INFO] [stdout] 5 | use dialoguer::{theme::ColorfulTheme, Confirm, Input, Select}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> main.rs:19:24 [INFO] [stdout] | [INFO] [stdout] 19 | let mut file = File::create("{}.zip", url); [INFO] [stdout] | ^^^^^^^^^^^^ --- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/fs.rs:520:12 [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 19 - let mut file = File::create("{}.zip", url); [INFO] [stdout] 19 + let mut file = File::create("{}.zip"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_all` found for enum `Result` in the current scope [INFO] [stdout] --> main.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | file.write_all(&content); [INFO] [stdout] | ^^^^^^^^^ method not found in `Result` [INFO] [stdout] | [INFO] [stdout] note: the method `write_all` exists on the type `File` [INFO] [stdout] --> /rustc/16fbf98f22730e073c09e7b03f0eafb87a295545/library/std/src/io/mod.rs:1835:5 [INFO] [stdout] help: consider using `Result::expect` to unwrap the `File` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 21 | file.expect("REASON").write_all(&content); [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `create` (bin "create") due to 5 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6378213a5faff3b215bc0a0e0961df10576afc958906ae23b9d6e479d571e2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6378213a5faff3b215bc0a0e0961df10576afc958906ae23b9d6e479d571e2d3", kill_on_drop: false }` [INFO] [stdout] 6378213a5faff3b215bc0a0e0961df10576afc958906ae23b9d6e479d571e2d3