[INFO] cloning repository https://github.com/ensj1/rust-learning
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ensj1/rust-learning" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fensj1%2Frust-learning", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fensj1%2Frust-learning'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c88709b8f04f3066dd4f1c0b33d9be6082ba8386
[INFO] checking ensj1/rust-learning against 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d for pr-159598
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fensj1%2Frust-learning" "/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/ensj1/rust-learning
[INFO] finished tweaking git repo https://github.com/ensj1/rust-learning
[INFO] tweaked toml for git repo https://github.com/ensj1/rust-learning written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ensj1/rust-learning on toolchain 4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ensj1/rust-learning 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" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded serde v1.0.218
[INFO] [stderr]   Downloaded serde_derive v1.0.218
[INFO] [stderr]   Downloaded time-core v0.1.3
[INFO] [stderr]   Downloaded quote v1.0.39
[INFO] [stderr]   Downloaded zstd-safe v7.2.3
[INFO] [stderr]   Downloaded time-macros v0.2.20
[INFO] [stderr]   Downloaded actix-server v2.5.0
[INFO] [stderr]   Downloaded actix-rt v2.10.0
[INFO] [stderr]   Downloaded derive_more v0.99.19
[INFO] [stderr]   Downloaded actix-web v4.9.0
[INFO] [stderr]   Downloaded time v0.3.39
[INFO] [stderr]   Downloaded actix-http v3.9.0
[INFO] [stderr]   Downloaded brotli-decompressor v4.0.2
[INFO] [stderr]   Downloaded zstd-sys v2.0.14+zstd.1.5.7
[INFO] [stderr]   Downloaded libc v0.2.170
[INFO] [stderr]   Downloaded brotli v6.0.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:00c5645b54fe3ce5dae1417175e3c7fb6a6646c021d554ecd63a097b8b9f3602" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267
[INFO] running `Command { std: "docker" "start" "d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267" "/opt/rustwide/cargo-home/bin/cargo" "+4a9d5368df6450bbd2fc8dde4508c3e5d83bb19d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]    Compiling serde v1.0.218
[INFO] [stderr]     Checking once_cell v1.20.3
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]     Checking icu_locid_transform_data v1.5.0
[INFO] [stderr]     Checking icu_properties_data v1.5.0
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]    Compiling zstd-safe v7.2.3
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]     Checking icu_normalizer_data v1.5.0
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]    Compiling ahash v0.8.11
[INFO] [stderr]     Checking hashbrown v0.15.2
[INFO] [stderr]    Compiling time-core v0.1.3
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling time-macros v0.2.20
[INFO] [stderr]     Checking miniz_oxide v0.8.5
[INFO] [stderr]     Checking actix-service v2.0.2
[INFO] [stderr]     Checking brotli-decompressor v4.0.2
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking bytestring v1.4.0
[INFO] [stderr]     Checking actix-utils v3.0.1
[INFO] [stderr]    Compiling cookie v0.16.2
[INFO] [stderr]    Compiling regex-lite v0.1.6
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking flate2 v1.1.0
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]     Checking local-channel v0.1.5
[INFO] [stderr]    Compiling quote v1.0.39
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking impl-more v0.1.9
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]    Compiling syn v2.0.99
[INFO] [stderr]     Checking getrandom v0.2.10
[INFO] [stderr]     Checking crypto-common v0.1.6
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling jobserver v0.1.32
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking brotli v6.0.0
[INFO] [stderr]     Checking sha1 v0.10.6
[INFO] [stderr]     Checking time v0.3.39
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]    Compiling zstd-sys v2.0.14+zstd.1.5.7
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]    Compiling actix-router v0.5.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling derive_more v0.99.19
[INFO] [stderr]    Compiling actix-macros v0.2.4
[INFO] [stderr]    Compiling actix-web-codegen v4.3.0
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking actix-rt v2.10.0
[INFO] [stderr]     Checking actix-server v2.5.0
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking actix-codec v0.5.2
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking zstd v0.13.3
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking actix-http v3.9.0
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking actix-web v4.9.0
[INFO] [stderr]     Checking rust-learning v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `learn_rust` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn learn_rust() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_element` is never used
[INFO] [stdout]   --> src/main.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn find_element(vec: Vec<i32>, value: i32) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `devide` is never used
[INFO] [stdout]   --> src/main.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn devide(a: i32, b: i32) -> Result<i32, String> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square` is never used
[INFO] [stdout]    --> src/main.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn square(x: i32) -> (i32, i32) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `celsium_to_fahrenfeit` is never used
[INFO] [stdout]    --> src/main.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn celsium_to_fahrenfeit(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_loop` is never used
[INFO] [stdout]    --> src/main.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn test_loop() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterate_possible` is never used
[INFO] [stdout]    --> src/main.rs:121:4
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn iterate_possible() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_max_min` is never used
[INFO] [stdout]    --> src/main.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn find_max_min() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership` is never used
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn ownership() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn borrow(propellant: &mut String) -> usize {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chanleng_trim_space` is never used
[INFO] [stdout]    --> src/main.rs:186:4
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn chanleng_trim_space() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trim_spaces` is never used
[INFO] [stdout]    --> src/main.rs:210:4
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn trim_spaces(s: &str) -> &str {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_out` is never used
[INFO] [stdout]    --> src/main.rs:232:4
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn read_out() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_control` is never used
[INFO] [stdout]    --> src/main.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn take_control() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_control_str` is never used
[INFO] [stdout]    --> src/main.rs:258:4
[INFO] [stdout]     |
[INFO] [stdout] 258 | fn take_control_str(name: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `learn_rust` is never used
[INFO] [stdout]   --> src/main.rs:33:4
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn learn_rust() {
[INFO] [stdout]    |    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_element` is never used
[INFO] [stdout]   --> src/main.rs:88:4
[INFO] [stdout]    |
[INFO] [stdout] 88 | fn find_element(vec: Vec<i32>, value: i32) -> Option<usize> {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `devide` is never used
[INFO] [stdout]   --> src/main.rs:92:4
[INFO] [stdout]    |
[INFO] [stdout] 92 | fn devide(a: i32, b: i32) -> Result<i32, String> {
[INFO] [stdout]    |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `square` is never used
[INFO] [stdout]    --> src/main.rs:100:4
[INFO] [stdout]     |
[INFO] [stdout] 100 | fn square(x: i32) -> (i32, i32) {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `celsium_to_fahrenfeit` is never used
[INFO] [stdout]    --> src/main.rs:105:4
[INFO] [stdout]     |
[INFO] [stdout] 105 | fn celsium_to_fahrenfeit(x: f32) -> f32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `test_loop` is never used
[INFO] [stdout]    --> src/main.rs:109:4
[INFO] [stdout]     |
[INFO] [stdout] 109 | fn test_loop() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `iterate_possible` is never used
[INFO] [stdout]    --> src/main.rs:121:4
[INFO] [stdout]     |
[INFO] [stdout] 121 | fn iterate_possible() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `find_max_min` is never used
[INFO] [stdout]    --> src/main.rs:145:4
[INFO] [stdout]     |
[INFO] [stdout] 145 | fn find_max_min() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `ownership` is never used
[INFO] [stdout]    --> src/main.rs:168:4
[INFO] [stdout]     |
[INFO] [stdout] 168 | fn ownership() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `borrow` is never used
[INFO] [stdout]    --> src/main.rs:179:4
[INFO] [stdout]     |
[INFO] [stdout] 179 | fn borrow(propellant: &mut String) -> usize {
[INFO] [stdout]     |    ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `chanleng_trim_space` is never used
[INFO] [stdout]    --> src/main.rs:186:4
[INFO] [stdout]     |
[INFO] [stdout] 186 | fn chanleng_trim_space() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `trim_spaces` is never used
[INFO] [stdout]    --> src/main.rs:210:4
[INFO] [stdout]     |
[INFO] [stdout] 210 | fn trim_spaces(s: &str) -> &str {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `read_out` is never used
[INFO] [stdout]    --> src/main.rs:232:4
[INFO] [stdout]     |
[INFO] [stdout] 232 | fn read_out() {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_control` is never used
[INFO] [stdout]    --> src/main.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn take_control() {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `take_control_str` is never used
[INFO] [stdout]    --> src/main.rs:258:4
[INFO] [stdout]     |
[INFO] [stdout] 258 | fn take_control_str(name: &mut String) {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `add` is never used
[INFO] [stdout]  --> src/test.rs:1:4
[INFO] [stdout]   |
[INFO] [stdout] 1 | fn add(a: i32, b: i32) -> i32 {
[INFO] [stdout]   |    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.67s
[INFO] running `Command { std: "docker" "inspect" "d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267", kill_on_drop: false }`
[INFO] [stdout] d67c1c2c0599fc57c92228c9c340d8a33586e3285b282ca18362771ec8eea267
