[INFO] cloning repository https://github.com/compscidr/rust_web_thread_experiment [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/compscidr/rust_web_thread_experiment" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompscidr%2Frust_web_thread_experiment", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompscidr%2Frust_web_thread_experiment'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1d708d52478a2292e2001624d10235f59f39e72c [INFO] checking compscidr/rust_web_thread_experiment/1d708d52478a2292e2001624d10235f59f39e72c against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcompscidr%2Frust_web_thread_experiment" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/compscidr/rust_web_thread_experiment on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/compscidr/rust_web_thread_experiment [INFO] finished tweaking git repo https://github.com/compscidr/rust_web_thread_experiment [INFO] tweaked toml for git repo https://github.com/compscidr/rust_web_thread_experiment written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/compscidr/rust_web_thread_experiment 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded actix-utils v3.0.0 [INFO] [stderr] Downloaded local-waker v0.1.3 [INFO] [stderr] Downloaded socket2 v0.4.6 [INFO] [stderr] Downloaded actix-codec v0.5.0 [INFO] [stderr] Downloaded local-channel v0.1.3 [INFO] [stderr] Downloaded actix-rt v2.7.0 [INFO] [stderr] Downloaded sha1 v0.10.1 [INFO] [stderr] Downloaded actix-server v2.1.1 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84e76776d3843be42278f58790896bad3149228372af7d0fea675651f05ecfff [INFO] running `Command { std: "docker" "start" "-a" "84e76776d3843be42278f58790896bad3149228372af7d0fea675651f05ecfff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84e76776d3843be42278f58790896bad3149228372af7d0fea675651f05ecfff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84e76776d3843be42278f58790896bad3149228372af7d0fea675651f05ecfff", kill_on_drop: false }` [INFO] [stdout] 84e76776d3843be42278f58790896bad3149228372af7d0fea675651f05ecfff [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb58cb13c0dd7ec976102cd618404e7d1d016eea8d7ff80e89d85d206918abbb [INFO] running `Command { std: "docker" "start" "-a" "eb58cb13c0dd7ec976102cd618404e7d1d016eea8d7ff80e89d85d206918abbb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-core v0.3.23 [INFO] [stderr] Compiling lock_api v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling tokio v1.26.0 [INFO] [stderr] Compiling serde v1.0.144 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Checking tracing-core v0.1.29 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling futures-task v0.3.23 [INFO] [stderr] Compiling futures-util v0.3.23 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking futures-sink v0.3.23 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking local-waker v0.1.3 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking alloc-no-stdlib v2.0.3 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking alloc-stdlib v0.2.1 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking parking_lot_core v0.9.3 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking socket2 v0.4.6 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling paste v1.0.8 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling bytes v1.2.1 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling bytestring v1.1.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking brotli-decompressor v4.0.0 [INFO] [stderr] Checking actix-utils v3.0.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Compiling cookie v0.16.0 [INFO] [stderr] Compiling serde_json v1.0.85 [INFO] [stderr] Checking ryu v1.0.11 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking cpufeatures v0.2.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking zerocopy v0.7.34 [INFO] [stderr] Checking regex-syntax v0.6.27 [INFO] [stderr] Compiling regex-lite v0.1.5 [INFO] [stderr] Checking brotli v6.0.0 [INFO] [stderr] Checking sha1 v0.10.1 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking actix-rt v2.7.0 [INFO] [stderr] Checking local-channel v0.1.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking language-tags v0.3.2 [INFO] [stderr] Checking actix-codec v0.5.0 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking actix-server v2.1.1 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling actix-macros v0.2.3 [INFO] [stderr] Checking crossbeam-queue v0.3.11 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking actix-http v3.7.0 [INFO] [stderr] Checking actix-web v4.9.0 [INFO] [stderr] Checking rust_web_thread_experiment v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `rt` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, rt, web, App, HttpServer, Responder}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rt` [INFO] [stdout] --> src/main.rs:1:22 [INFO] [stdout] | [INFO] [stdout] 1 | use actix_web::{get, rt, web, App, HttpServer, Responder}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..data.queue.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | for i in 0..data.queue.len() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | manip_queue(inner_config.as_ref().deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MyData` does not implement `Deref`, so calling `deref` on `&MyData` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 46 - manip_queue(inner_config.as_ref().deref()); [INFO] [stdout] 46 + manip_queue(inner_config.as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MyData`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Clone)] [INFO] [stdout] 8 | struct MyData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/main.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | manip_queue(inner_config.as_ref().deref()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the type `MyData` does not implement `Deref`, so calling `deref` on `&MyData` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] 46 - manip_queue(inner_config.as_ref().deref()); [INFO] [stdout] 46 + manip_queue(inner_config.as_ref()); [INFO] [stdout] | [INFO] [stdout] help: if you meant to clone `MyData`, implement `Clone` for it [INFO] [stdout] | [INFO] [stdout] 7 + #[derive(Clone)] [INFO] [stdout] 8 | struct MyData { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 54.53s [INFO] running `Command { std: "docker" "inspect" "eb58cb13c0dd7ec976102cd618404e7d1d016eea8d7ff80e89d85d206918abbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb58cb13c0dd7ec976102cd618404e7d1d016eea8d7ff80e89d85d206918abbb", kill_on_drop: false }` [INFO] [stdout] eb58cb13c0dd7ec976102cd618404e7d1d016eea8d7ff80e89d85d206918abbb