[INFO] cloning repository https://github.com/MicroCBer/HitmanContractCreator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MicroCBer/HitmanContractCreator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMicroCBer%2FHitmanContractCreator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMicroCBer%2FHitmanContractCreator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5144141231b73b6763f683ae31c3a18f895ab84e [INFO] checking MicroCBer/HitmanContractCreator against master#18a6d911caba59605eb03db1452848a85d2e5879 for pr-112743 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMicroCBer%2FHitmanContractCreator" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MicroCBer/HitmanContractCreator on toolchain 18a6d911caba59605eb03db1452848a85d2e5879 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MicroCBer/HitmanContractCreator [INFO] finished tweaking git repo https://github.com/MicroCBer/HitmanContractCreator [INFO] tweaked toml for git repo https://github.com/MicroCBer/HitmanContractCreator written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/MicroCBer/HitmanContractCreator 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" "+18a6d911caba59605eb03db1452848a85d2e5879" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Updating git repository `https://github.com/clap-rs/clap/` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded anyhow v1.0.57 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded uuid v1.0.0 [INFO] [stderr] Downloaded serde_json v1.0.80 [INFO] [stderr] Downloaded fern v0.6.1 [INFO] [stderr] Downloaded tokio v1.18.1 [INFO] [stderr] Downloaded openssl v0.10.39 [INFO] [stderr] Downloaded syn v1.0.92 [INFO] [stderr] Downloaded libc v0.2.125 [INFO] [stderr] Downloaded openssl-sys v0.9.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05e7b9f3a3da1e550810e204cfe621aaba91d26a2b8c8c1ec03fab095c01562c [INFO] running `Command { std: "docker" "start" "-a" "05e7b9f3a3da1e550810e204cfe621aaba91d26a2b8c8c1ec03fab095c01562c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05e7b9f3a3da1e550810e204cfe621aaba91d26a2b8c8c1ec03fab095c01562c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05e7b9f3a3da1e550810e204cfe621aaba91d26a2b8c8c1ec03fab095c01562c", kill_on_drop: false }` [INFO] [stdout] 05e7b9f3a3da1e550810e204cfe621aaba91d26a2b8c8c1ec03fab095c01562c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+18a6d911caba59605eb03db1452848a85d2e5879" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f3185c1ab6dd797822b171662a8404089543688b5bc592eb89d24fff3fc7e27 [INFO] running `Command { std: "docker" "start" "-a" "7f3185c1ab6dd797822b171662a8404089543688b5bc592eb89d24fff3fc7e27", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: package.author [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.3 [INFO] [stderr] Compiling syn v1.0.92 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking tracing-core v0.1.26 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling openssl v0.10.39 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking http v0.2.7 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling serde_json v1.0.80 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking parking_lot v0.12.0 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap_lex v0.2.0 (https://github.com/clap-rs/clap/#92287c81) [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking ipnet v2.5.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking uuid v1.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Checking fern v0.6.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling clap_derive v3.1.18 (https://github.com/clap-rs/clap/#92287c81) [INFO] [stderr] Checking tokio v1.18.1 [INFO] [stderr] Checking tracing v0.1.34 [INFO] [stderr] Checking clap v3.1.18 (https://github.com/clap-rs/clap/#92287c81) [INFO] [stderr] Checking tokio-util v0.7.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.18 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.10 [INFO] [stderr] Checking hitman_contract_creator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `debug`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `runtime::Handle`, `task::block_in_place` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::{runtime::Handle, task::block_in_place}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `trace`, `warn` [INFO] [stdout] --> src/main.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{debug, info, trace, warn}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `runtime::Handle`, `task::block_in_place` [INFO] [stdout] --> src/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use tokio::{runtime::Handle, task::block_in_place}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_session_id` [INFO] [stdout] --> src/contract.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | contract_session_id: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_session_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_session_id` [INFO] [stdout] --> src/contract.rs:298:9 [INFO] [stdout] | [INFO] [stdout] 298 | contract_session_id: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_session_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/contract.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | async fn create(&self, user_id: &String, bearer: &String) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/contract.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let result = reqwest::Client::new() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/contract.rs:121:28 [INFO] [stdout] | [INFO] [stdout] 121 | async fn create(&self, user_id: &String, bearer: &String) -> Result<()> { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/contract.rs:146:13 [INFO] [stdout] | [INFO] [stdout] 146 | let result = reqwest::Client::new() [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_session_id` [INFO] [stdout] --> src/contract.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | contract_session_id: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contract_session_id` [INFO] [stdout] --> src/contract.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | contract_session_id: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contract_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AllBodiesHiddenEvent` is never constructed [INFO] [stdout] --> src/contract.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | AllBodiesHiddenEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_event2` is never used [INFO] [stdout] --> src/contract.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 69 | impl Contract { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | async fn save_event2( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AllBodiesHiddenEvent` is never constructed [INFO] [stdout] --> src/contract.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 53 | enum Event { [INFO] [stdout] | ----- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 57 | AllBodiesHiddenEvent, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Event` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `save_event2` is never used [INFO] [stdout] --> src/contract.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 69 | impl Contract { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 158 | async fn save_event2( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 14.43s [INFO] running `Command { std: "docker" "inspect" "7f3185c1ab6dd797822b171662a8404089543688b5bc592eb89d24fff3fc7e27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f3185c1ab6dd797822b171662a8404089543688b5bc592eb89d24fff3fc7e27", kill_on_drop: false }` [INFO] [stdout] 7f3185c1ab6dd797822b171662a8404089543688b5bc592eb89d24fff3fc7e27