[INFO] fetching crate gem-rs 0.1.1...
[INFO] checking gem-rs-0.1.1 against master#39cb3386ddc6c71657418be28dbb3987eea4aa4b for pr-133536
[INFO] extracting crate gem-rs 0.1.1 into /workspace/builds/worker-6-tc1/source
[INFO] validating manifest of crates.io crate gem-rs 0.1.1 on toolchain 39cb3386ddc6c71657418be28dbb3987eea4aa4b
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate gem-rs 0.1.1
[INFO] finished tweaking crates.io crate gem-rs 0.1.1
[INFO] tweaked toml for crates.io crate gem-rs 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate crates.io crate gem-rs 0.1.1 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" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cargo-husky v1.5.0
[INFO] [stderr]   Downloaded hyper-util v0.1.8
[INFO] [stderr]   Downloaded reqwest-streams v0.7.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e30fce3215d6776f6029c87af58dff01dcdc5d57b9dedb4ab3a8fbcbcd73d471
[INFO] running `Command { std: "docker" "start" "-a" "e30fce3215d6776f6029c87af58dff01dcdc5d57b9dedb4ab3a8fbcbcd73d471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e30fce3215d6776f6029c87af58dff01dcdc5d57b9dedb4ab3a8fbcbcd73d471", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e30fce3215d6776f6029c87af58dff01dcdc5d57b9dedb4ab3a8fbcbcd73d471", kill_on_drop: false }`
[INFO] [stdout] e30fce3215d6776f6029c87af58dff01dcdc5d57b9dedb4ab3a8fbcbcd73d471
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+39cb3386ddc6c71657418be28dbb3987eea4aa4b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4a4ecb02d983f378cf96a8d7115b1f20e4b0fcdc6b98617143e17f77e8856a4
[INFO] running `Command { std: "docker" "start" "-a" "c4a4ecb02d983f378cf96a8d7115b1f20e4b0fcdc6b98617143e17f77e8856a4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling unicode-ident v1.0.13
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]     Checking bytes v1.7.2
[INFO] [stderr]    Compiling cc v1.1.21
[INFO] [stderr]    Compiling pkg-config v0.3.30
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]     Checking futures-channel v0.3.30
[INFO] [stderr]     Checking futures-io v0.3.30
[INFO] [stderr]     Checking futures-task v0.3.30
[INFO] [stderr]    Compiling unicase v2.7.0
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking http v1.1.0
[INFO] [stderr]    Compiling httparse v1.9.4
[INFO] [stderr]    Compiling openssl v0.10.66
[INFO] [stderr]     Checking indexmap v2.5.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking tracing v0.1.40
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling native-tls v0.2.12
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking socket2 v0.5.7
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.2
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]     Checking unicode-normalization v0.1.24
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking rustls-pki-types v1.8.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling openssl-sys v0.9.103
[INFO] [stderr]     Checking is-terminal v0.4.13
[INFO] [stderr]     Checking sync_wrapper v1.0.1
[INFO] [stderr]     Checking encoding_rs v0.8.34
[INFO] [stderr]     Checking rustls-pemfile v2.1.3
[INFO] [stderr]     Checking cpufeatures v0.2.14
[INFO] [stderr]     Checking ipnet v2.10.0
[INFO] [stderr]     Checking idna v0.5.0
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking url v2.5.2
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling tokio-macros v2.4.0
[INFO] [stderr]    Compiling futures-macro v0.3.30
[INFO] [stderr]    Compiling pin-project-internal v1.1.5
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling async-trait v0.1.82
[INFO] [stderr]     Checking tokio v1.40.0
[INFO] [stderr]     Checking regex v1.10.6
[INFO] [stderr]     Checking futures-util v0.3.30
[INFO] [stderr]     Checking pin-project v1.1.5
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking pretty_env_logger v0.5.0
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking futures-executor v0.3.30
[INFO] [stderr]     Checking futures v0.3.30
[INFO] [stderr]     Checking tokio-util v0.7.12
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking tokio-native-tls v0.3.1
[INFO] [stderr]     Checking sha256 v1.5.0
[INFO] [stderr]     Checking h2 v0.4.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking hyper v1.4.1
[INFO] [stderr]     Checking hyper-util v0.1.8
[INFO] [stderr]     Checking hyper-tls v0.6.0
[INFO] [stderr]     Checking reqwest v0.12.7
[INFO] [stderr]     Checking reqwest-streams v0.7.0
[INFO] [stderr]     Checking gem-rs v0.1.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::types::HarmBlockThreshold`
[INFO] [stdout]    --> src/client.rs:458:9
[INFO] [stdout]     |
[INFO] [stdout] 458 |     use crate::types::HarmBlockThreshold;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/client.rs:460:9
[INFO] [stdout]     |
[INFO] [stdout] 460 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::log`
[INFO] [stdout]  --> src/types.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::log;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]    --> src/types.rs:961:9
[INFO] [stdout]     |
[INFO] [stdout] 961 |     use super::*;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `log::log`
[INFO] [stdout]  --> src/types.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use log::log;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `response`
[INFO] [stdout]    --> src/client.rs:476:13
[INFO] [stdout]     |
[INFO] [stdout] 476 |         let response = session
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `API_KEY` is never used
[INFO] [stdout]    --> src/client.rs:462:11
[INFO] [stdout]     |
[INFO] [stdout] 462 |     const API_KEY: &str = "X";
[INFO] [stdout]     |           ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_blocked` and `get_token_count` are never used
[INFO] [stdout]    --> src/types.rs:103:19
[INFO] [stdout]     |
[INFO] [stdout] 98  | impl Candidate {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub(crate) fn is_blocked(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(crate) fn get_token_count(&self) -> Option<i32> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_block_reason` is never used
[INFO] [stdout]    --> src/types.rs:172:19
[INFO] [stdout]     |
[INFO] [stdout] 171 | impl PromptFeedback {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] 172 |     pub(crate) fn get_block_reason(&self) -> Option<BlockReason> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `clear`, `is_empty`, `len`, `get_contents`, and `get_contents_mut` are never used
[INFO] [stdout]    --> src/types.rs:938:19
[INFO] [stdout]     |
[INFO] [stdout] 847 | impl Context {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 938 |     pub(crate) fn clear(&mut self) {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 942 |     pub(crate) fn is_empty(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 946 |     pub(crate) fn len(&self) -> usize {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 950 |     pub(crate) fn get_contents(&self) -> &Vec<Content> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 954 |     pub(crate) fn get_contents_mut(&mut self) -> &mut Vec<Content> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Builder` should have a snake case name
[INFO] [stdout]    --> src/client.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn Builder() -> GemSessionBuilder {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `builder`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `is_blocked` and `get_token_count` are never used
[INFO] [stdout]    --> src/types.rs:103:19
[INFO] [stdout]     |
[INFO] [stdout] 98  | impl Candidate {
[INFO] [stdout]     | -------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 103 |     pub(crate) fn is_blocked(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 109 |     pub(crate) fn get_token_count(&self) -> Option<i32> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `get_block_reason` is never used
[INFO] [stdout]    --> src/types.rs:172:19
[INFO] [stdout]     |
[INFO] [stdout] 171 | impl PromptFeedback {
[INFO] [stdout]     | ------------------- method in this implementation
[INFO] [stdout] 172 |     pub(crate) fn get_block_reason(&self) -> Option<BlockReason> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `clear`, `is_empty`, `len`, `get_contents`, and `get_contents_mut` are never used
[INFO] [stdout]    --> src/types.rs:938:19
[INFO] [stdout]     |
[INFO] [stdout] 847 | impl Context {
[INFO] [stdout]     | ------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 938 |     pub(crate) fn clear(&mut self) {
[INFO] [stdout]     |                   ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 942 |     pub(crate) fn is_empty(&self) -> bool {
[INFO] [stdout]     |                   ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 946 |     pub(crate) fn len(&self) -> usize {
[INFO] [stdout]     |                   ^^^
[INFO] [stdout] ...
[INFO] [stdout] 950 |     pub(crate) fn get_contents(&self) -> &Vec<Content> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 954 |     pub(crate) fn get_contents_mut(&mut self) -> &mut Vec<Content> {
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `Builder` should have a snake case name
[INFO] [stdout]    --> src/client.rs:260:12
[INFO] [stdout]     |
[INFO] [stdout] 260 |     pub fn Builder() -> GemSessionBuilder {
[INFO] [stdout]     |            ^^^^^^^ help: convert the identifier to snake case: `builder`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `examples/C:/Users/0xhades/Downloads/x.png`: No such file or directory (os error 2)
[INFO] [stdout]   --> examples/gem.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         include_bytes!("C:/Users/0xhades/Downloads/x.png"),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `examples/C:/Users/0xhades/Downloads/x.png`: No such file or directory (os error 2)
[INFO] [stdout]   --> examples/gem.rs:71:9
[INFO] [stdout]    |
[INFO] [stdout] 71 |         include_bytes!("C:/Users/0xhades/Downloads/x.png"),
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `GemSessionBuilder`
[INFO] [stdout]  --> examples/gem.rs:5:34
[INFO] [stdout]   |
[INFO] [stdout] 5 | use gem_rs::client::{GemSession, GemSessionBuilder};
[INFO] [stdout]   |                                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gem-rs` (example "gem") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "c4a4ecb02d983f378cf96a8d7115b1f20e4b0fcdc6b98617143e17f77e8856a4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4a4ecb02d983f378cf96a8d7115b1f20e4b0fcdc6b98617143e17f77e8856a4", kill_on_drop: false }`
[INFO] [stdout] c4a4ecb02d983f378cf96a8d7115b1f20e4b0fcdc6b98617143e17f77e8856a4
