[INFO] cloning repository https://github.com/dommyrock/r_codegen
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dommyrock/r_codegen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdommyrock%2Fr_codegen", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdommyrock%2Fr_codegen'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 213ca42030253cf237e355255158a06dfb180939
[INFO] checking dommyrock/r_codegen against 1.95.0 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdommyrock%2Fr_codegen" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/dommyrock/r_codegen
[INFO] finished tweaking git repo https://github.com/dommyrock/r_codegen
[INFO] tweaked toml for git repo https://github.com/dommyrock/r_codegen written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/dommyrock/r_codegen on toolchain 1.95.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.95.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/dommyrock/r_codegen 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" "+1.95.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unicode-bidi v0.3.12
[INFO] [stderr]   Downloaded io-lifetimes v1.0.8
[INFO] [stderr]   Downloaded serde_derive v1.0.157
[INFO] [stderr]   Downloaded serde v1.0.157
[INFO] [stderr]   Downloaded openssl-sys v0.9.82
[INFO] [stderr]   Downloaded syn v2.0.3
[INFO] [stderr]   Downloaded openssl v0.10.47
[INFO] [stderr]   Downloaded rustix v0.36.10
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 548390b1539895b9cc21fd9be76d46bdf24273e16127f3cd0e9ef7e599a1dafe
[INFO] running `Command { std: "docker" "start" "-a" "548390b1539895b9cc21fd9be76d46bdf24273e16127f3cd0e9ef7e599a1dafe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "548390b1539895b9cc21fd9be76d46bdf24273e16127f3cd0e9ef7e599a1dafe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "548390b1539895b9cc21fd9be76d46bdf24273e16127f3cd0e9ef7e599a1dafe", kill_on_drop: false }`
[INFO] [stdout] 548390b1539895b9cc21fd9be76d46bdf24273e16127f3cd0e9ef7e599a1dafe
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.95.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c0c4e8652c2b57306727aac2cd041413b77519967bc8e7fcd90836edb6e697f9
[INFO] running `Command { std: "docker" "start" "-a" "c0c4e8652c2b57306727aac2cd041413b77519967bc8e7fcd90836edb6e697f9", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.52
[INFO] [stderr]    Compiling futures-core v0.3.27
[INFO] [stderr]    Compiling tokio v1.26.0
[INFO] [stderr]    Compiling quote v1.0.26
[INFO] [stderr]    Compiling openssl-sys v0.9.82
[INFO] [stderr]    Compiling futures-task v0.3.27
[INFO] [stderr]    Compiling futures-util v0.3.27
[INFO] [stderr]    Compiling serde_derive v1.0.157
[INFO] [stderr]    Compiling openssl v0.10.47
[INFO] [stderr]     Checking num_cpus v1.15.0
[INFO] [stderr]     Checking socket2 v0.4.9
[INFO] [stderr]     Checking mio v0.8.6
[INFO] [stderr]    Compiling futures-channel v0.3.27
[INFO] [stderr]     Checking futures-sink v0.3.27
[INFO] [stderr]     Checking futures-io v0.3.27
[INFO] [stderr]    Compiling serde v1.0.157
[INFO] [stderr]     Checking unicode-bidi v0.3.12
[INFO] [stderr]     Checking unicode-ident v1.0.8
[INFO] [stderr]    Compiling serde_json v1.0.94
[INFO] [stderr]     Checking ipnet v2.7.1
[INFO] [stderr]     Checking idna v0.3.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]     Checking syn v2.0.3
[INFO] [stderr]     Checking url v2.3.1
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]     Checking tokio-util v0.7.7
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]     Checking h2 v0.3.16
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking hyper v0.14.25
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper-tls v0.5.0
[INFO] [stderr]     Checking reqwest v0.11.14
[INFO] [stderr]     Checking r_codegen v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `quote::quote`
[INFO] [stdout]  --> src/bin/analyzer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use quote::quote;
[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: `PathBuf`
[INFO] [stdout]  --> src/bin/analyzer.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::{Path, PathBuf}, fs::File, io::Read};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DeriveInput`
[INFO] [stdout]  --> src/bin/analyzer.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{DeriveInput};
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `quote::quote`
[INFO] [stdout]  --> src/bin/analyzer.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use quote::quote;
[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: `PathBuf`
[INFO] [stdout]  --> src/bin/analyzer.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::{path::{Path, PathBuf}, fs::File, io::Read};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `DeriveInput`
[INFO] [stdout]  --> src/bin/analyzer.rs:3:11
[INFO] [stdout]   |
[INFO] [stdout] 3 | use syn::{DeriveInput};
[INFO] [stdout]   |           ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/bin/analyzer.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn visit_file(entry: &DirEntry) {
[INFO] [stdout]    |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]   --> src/bin/analyzer.rs:31:15
[INFO] [stdout]    |
[INFO] [stdout] 31 | fn visit_file(entry: &DirEntry) {
[INFO] [stdout]    |               ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `error_output`
[INFO] [stdout]   --> src/bin/build_check.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let error_output = String::from_utf8_lossy(&output.stderr);
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_output`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `from_str`
[INFO] [stdout]  --> src/bin/codegen.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{from_reader, from_str, json};
[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 variable: `error_output`
[INFO] [stdout]   --> src/bin/build_check.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |         let error_output = String::from_utf8_lossy(&output.stderr);
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_error_output`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `client`
[INFO] [stdout]    --> src/bin/codegen.rs:110:20
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn search_code_fix(client: reqwest::blocking::Client) -> Result<(), reqwest::Error> {
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]    --> src/bin/codegen.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let api_key = env::var("OPEN_AI_KEY").expect("OpenAI key requred!");
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_api_web_request` is never used
[INFO] [stdout]   --> src/bin/codegen.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn open_api_web_request(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `from_str`
[INFO] [stdout]  --> src/bin/codegen.rs:5:31
[INFO] [stdout]   |
[INFO] [stdout] 5 | use serde_json::{from_reader, from_str, json};
[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 variable: `client`
[INFO] [stdout]    --> src/bin/codegen.rs:110:20
[INFO] [stdout]     |
[INFO] [stdout] 110 | fn search_code_fix(client: reqwest::blocking::Client) -> Result<(), reqwest::Error> {
[INFO] [stdout]     |                    ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api_key`
[INFO] [stdout]    --> src/bin/codegen.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |     let api_key = env::var("OPEN_AI_KEY").expect("OpenAI key requred!");
[INFO] [stdout]     |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_api_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `open_api_web_request` is never used
[INFO] [stdout]   --> src/bin/codegen.rs:41:4
[INFO] [stdout]    |
[INFO] [stdout] 41 | fn open_api_web_request(
[INFO] [stdout]    |    ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.09s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.47
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5`
[INFO] running `Command { std: "docker" "inspect" "c0c4e8652c2b57306727aac2cd041413b77519967bc8e7fcd90836edb6e697f9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c0c4e8652c2b57306727aac2cd041413b77519967bc8e7fcd90836edb6e697f9", kill_on_drop: false }`
[INFO] [stdout] c0c4e8652c2b57306727aac2cd041413b77519967bc8e7fcd90836edb6e697f9
