[INFO] cloning repository https://github.com/indi-c/oxcgen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/indi-c/oxcgen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findi-c%2Foxcgen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findi-c%2Foxcgen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4c89c409f9d3ee20936cca1015a590867e4acd41 [INFO] checking indi-c/oxcgen against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Findi-c%2Foxcgen" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/indi-c/oxcgen [INFO] finished tweaking git repo https://github.com/indi-c/oxcgen [INFO] tweaked toml for git repo https://github.com/indi-c/oxcgen written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/indi-c/oxcgen on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/indi-c/oxcgen 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-embed-utils v8.7.2 [INFO] [stderr] Downloaded rust-embed-impl v8.7.2 [INFO] [stderr] Downloaded rust-embed v8.7.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b1634f2cef801c887f9e0ac3b9104567dce42bfc8b53d55944808fe9f6c61538 [INFO] running `Command { std: "docker" "start" "-a" "b1634f2cef801c887f9e0ac3b9104567dce42bfc8b53d55944808fe9f6c61538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b1634f2cef801c887f9e0ac3b9104567dce42bfc8b53d55944808fe9f6c61538", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1634f2cef801c887f9e0ac3b9104567dce42bfc8b53d55944808fe9f6c61538", kill_on_drop: false }` [INFO] [stdout] b1634f2cef801c887f9e0ac3b9104567dce42bfc8b53d55944808fe9f6c61538 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 988c43db589043e1164693690879935a08b1dda7d32f589717d840f17c78b1d0 [INFO] running `Command { std: "docker" "start" "-a" "988c43db589043e1164693690879935a08b1dda7d32f589717d840f17c78b1d0", kill_on_drop: false }` [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking rust-embed-utils v8.7.2 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rust-embed-impl v8.7.2 [INFO] [stderr] Compiling assets_macro v0.1.0 (/opt/rustwide/workdir/assets_macro) [INFO] [stderr] Checking rust-embed v8.7.2 [INFO] [stderr] Checking oxcgen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rust_embed::Embed` [INFO] [stdout] --> src/supported_languages.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rust_embed::Embed` [INFO] [stdout] --> src/supported_languages.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use rust_embed::Embed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/supported_languages.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 36 | Assets::$lang => { [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 41 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 86 | define_languages!(Rust); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_languages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/supported_languages.rs:41:25 [INFO] [stdout] | [INFO] [stdout] 36 | Assets::$lang => { [INFO] [stdout] | ------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 41 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] ... [INFO] [stdout] 86 | define_languages!(Rust); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `define_languages` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/commands.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Command<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub name: &'a str, [INFO] [stdout] 8 | pub description: &'a str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `description` is never read [INFO] [stdout] --> src/commands.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Command<'a> { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 7 | pub name: &'a str, [INFO] [stdout] 8 | pub description: &'a str, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize_git` is never used [INFO] [stdout] --> src/language.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait MakeProject { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn initialize_git(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `initialize_git` is never used [INFO] [stdout] --> src/language.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait MakeProject { [INFO] [stdout] | ----------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | fn initialize_git(&self); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/language.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | fs::create_dir_all(folder_path).map_err(|e| format!("[*] Failed to create directory '{}': {}", file, e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = fs::create_dir_all(folder_path).map_err(|e| format!("[*] Failed to create directory '{}': {}", file, e)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/language.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | fs::create_dir_all(folder_path).map_err(|e| format!("[*] Failed to create directory '{}': {}", file, e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 32 | let _ = fs::create_dir_all(folder_path).map_err(|e| format!("[*] Failed to create directory '{}': {}", file, e)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/language.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fs::write(file_path, content.data).map_err(|e| format!("[*] Failed to write file '{}': {}", file, e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = fs::write(file_path, content.data).map_err(|e| format!("[*] Failed to write file '{}': {}", file, e)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/language.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | fs::write(file_path, content.data).map_err(|e| format!("[*] Failed to write file '{}': {}", file, e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 40 | let _ = fs::write(file_path, content.data).map_err(|e| format!("[*] Failed to write file '{}': {}", file, e)); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/language.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | / fs::read_to_string(&file_path) [INFO] [stdout] 52 | | .and_then(|content| { [INFO] [stdout] 53 | | let updated_content = content.replace("project_name", project_name); [INFO] [stdout] 54 | | Ok(fs::write(&file_path, updated_content) [INFO] [stdout] 55 | | .map_err(|e| format!("[*] Failed to update file '{}': {}", file, e))) [INFO] [stdout] 56 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = fs::read_to_string(&file_path) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/language.rs:51:17 [INFO] [stdout] | [INFO] [stdout] 51 | / fs::read_to_string(&file_path) [INFO] [stdout] 52 | | .and_then(|content| { [INFO] [stdout] 53 | | let updated_content = content.replace("project_name", project_name); [INFO] [stdout] 54 | | Ok(fs::write(&file_path, updated_content) [INFO] [stdout] 55 | | .map_err(|e| format!("[*] Failed to update file '{}': {}", file, e))) [INFO] [stdout] 56 | | }); [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 51 | let _ = fs::read_to_string(&file_path) [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.94s [INFO] running `Command { std: "docker" "inspect" "988c43db589043e1164693690879935a08b1dda7d32f589717d840f17c78b1d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "988c43db589043e1164693690879935a08b1dda7d32f589717d840f17c78b1d0", kill_on_drop: false }` [INFO] [stdout] 988c43db589043e1164693690879935a08b1dda7d32f589717d840f17c78b1d0