[INFO] cloning repository https://github.com/arj101/file-searcher-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arj101/file-searcher-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farj101%2Ffile-searcher-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farj101%2Ffile-searcher-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d6fa574bcf6fcfdee6a655e7a829aedbe3a2ff01 [INFO] testing arj101/file-searcher-bot against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farj101%2Ffile-searcher-bot" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arj101/file-searcher-bot on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arj101/file-searcher-bot [INFO] finished tweaking git repo https://github.com/arj101/file-searcher-bot [INFO] tweaked toml for git repo https://github.com/arj101/file-searcher-bot written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/arj101/file-searcher-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 389c44cd7f7091a4f3d548abe5d03253b4796770a1ce7e0a68d8f1d45ce9869c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "389c44cd7f7091a4f3d548abe5d03253b4796770a1ce7e0a68d8f1d45ce9869c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "389c44cd7f7091a4f3d548abe5d03253b4796770a1ce7e0a68d8f1d45ce9869c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "389c44cd7f7091a4f3d548abe5d03253b4796770a1ce7e0a68d8f1d45ce9869c", kill_on_drop: false }` [INFO] [stdout] 389c44cd7f7091a4f3d548abe5d03253b4796770a1ce7e0a68d8f1d45ce9869c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 816d5bf8282ece1c8edc6e82224435e19f3284fc52276b1493417fd292e5f77c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "816d5bf8282ece1c8edc6e82224435e19f3284fc52276b1493417fd292e5f77c", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling serenity v0.9.0-rc.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling typemap_rev v0.1.3 [INFO] [stderr] Compiling uwl v0.6.0 [INFO] [stderr] Compiling ring v0.16.15 [INFO] [stderr] Compiling hashbrown v0.8.2 [INFO] [stderr] Compiling indexmap v1.5.1 [INFO] [stderr] Compiling tracing-core v0.1.15 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling input_buffer v0.3.1 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling flate2 v1.0.17 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tungstenite v0.10.1 [INFO] [stderr] Compiling webpki v0.21.3 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.18.1 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.19.0 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling async-trait v0.1.38 [INFO] [stderr] Compiling command_attr v0.3.0-rc.0 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-rustls v0.14.0 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling async-tls v0.6.0 [INFO] [stderr] Compiling async-tungstenite v0.4.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling chrono v0.4.15 [INFO] [stderr] Compiling hyper v0.13.7 [INFO] [stderr] Compiling hyper-rustls v0.21.0 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling file_searcher_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `case_sensitive` [INFO] [stdout] --> src/search_command.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | case_sensitive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/search_command.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | &line_search_result_formatted.insert_str(search_match.index + index_offset, "__"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = &line_search_result_formatted.insert_str(search_match.index + index_offset, "__"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/search_command.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | / &line_search_result_formatted.insert_str( [INFO] [stdout] 238 | | search_match.index + search_word_len + index_offset, [INFO] [stdout] 239 | | "__" [INFO] [stdout] 240 | | ); [INFO] [stdout] | |_________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = &line_search_result_formatted.insert_str( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 20s [INFO] running `Command { std: "docker" "inspect" "816d5bf8282ece1c8edc6e82224435e19f3284fc52276b1493417fd292e5f77c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "816d5bf8282ece1c8edc6e82224435e19f3284fc52276b1493417fd292e5f77c", kill_on_drop: false }` [INFO] [stdout] 816d5bf8282ece1c8edc6e82224435e19f3284fc52276b1493417fd292e5f77c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b4ebbb3e703c0df1bb8746e8a300b8c89820c1dd6b54c3d4648c9bd18241952 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0b4ebbb3e703c0df1bb8746e8a300b8c89820c1dd6b54c3d4648c9bd18241952", kill_on_drop: false }` [INFO] [stderr] Compiling file_searcher_bot v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field is never read: `case_sensitive` [INFO] [stdout] --> src/search_command.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | case_sensitive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/search_command.rs:223:17 [INFO] [stdout] | [INFO] [stdout] 223 | &line_search_result_formatted.insert_str(search_match.index + index_offset, "__"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 223 | let _ = &line_search_result_formatted.insert_str(search_match.index + index_offset, "__"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/search_command.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | / &line_search_result_formatted.insert_str( [INFO] [stdout] 238 | | search_match.index + search_word_len + index_offset, [INFO] [stdout] 239 | | "__" [INFO] [stdout] 240 | | ); [INFO] [stdout] | |_________________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 237 | let _ = &line_search_result_formatted.insert_str( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 7.26s [INFO] running `Command { std: "docker" "inspect" "0b4ebbb3e703c0df1bb8746e8a300b8c89820c1dd6b54c3d4648c9bd18241952", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b4ebbb3e703c0df1bb8746e8a300b8c89820c1dd6b54c3d4648c9bd18241952", kill_on_drop: false }` [INFO] [stdout] 0b4ebbb3e703c0df1bb8746e8a300b8c89820c1dd6b54c3d4648c9bd18241952 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a911a1b2fe8c476ed1955a4acae5004a9049ce5863fd797a7531ae227d09b767 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a911a1b2fe8c476ed1955a4acae5004a9049ce5863fd797a7531ae227d09b767", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `case_sensitive` [INFO] [stderr] --> src/search_command.rs:131:5 [INFO] [stderr] | [INFO] [stderr] 131 | case_sensitive: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/search_command.rs:223:17 [INFO] [stderr] | [INFO] [stderr] 223 | &line_search_result_formatted.insert_str(search_match.index + index_offset, "__"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 223 | let _ = &line_search_result_formatted.insert_str(search_match.index + index_offset, "__"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/search_command.rs:237:17 [INFO] [stderr] | [INFO] [stderr] 237 | / &line_search_result_formatted.insert_str( [INFO] [stderr] 238 | | search_match.index + search_word_len + index_offset, [INFO] [stderr] 239 | | "__" [INFO] [stderr] 240 | | ); [INFO] [stderr] | |_________________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 237 | let _ = &line_search_result_formatted.insert_str( [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `file_searcher_bot` (bin "file_searcher_bot" test) generated 3 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/file_searcher_bot-8952ccfc0564de55) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a911a1b2fe8c476ed1955a4acae5004a9049ce5863fd797a7531ae227d09b767", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a911a1b2fe8c476ed1955a4acae5004a9049ce5863fd797a7531ae227d09b767", kill_on_drop: false }` [INFO] [stdout] a911a1b2fe8c476ed1955a4acae5004a9049ce5863fd797a7531ae227d09b767