[INFO] cloning repository https://github.com/zlex7/Trust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zlex7/Trust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlex7%2FTrust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlex7%2FTrust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 77ee27994738b5d3e1c026e11fa6dd71b70ee471 [INFO] checking zlex7/Trust against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlex7%2FTrust" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] [stderr] Checking out files: 44% (147/328) Checking out files: 45% (148/328) Checking out files: 46% (151/328) Checking out files: 47% (155/328) Checking out files: 48% (158/328) Checking out files: 49% (161/328) Checking out files: 50% (164/328) Checking out files: 51% (168/328) Checking out files: 52% (171/328) Checking out files: 53% (174/328) Checking out files: 54% (178/328) Checking out files: 55% (181/328) Checking out files: 56% (184/328) Checking out files: 57% (187/328) Checking out files: 58% (191/328) Checking out files: 59% (194/328) Checking out files: 60% (197/328) Checking out files: 61% (201/328) Checking out files: 62% (204/328) Checking out files: 63% (207/328) Checking out files: 64% (210/328) Checking out files: 65% (214/328) Checking out files: 66% (217/328) Checking out files: 67% (220/328) Checking out files: 68% (224/328) Checking out files: 69% (227/328) Checking out files: 70% (230/328) Checking out files: 71% (233/328) Checking out files: 72% (237/328) Checking out files: 73% (240/328) Checking out files: 74% (243/328) Checking out files: 75% (246/328) Checking out files: 76% (250/328) Checking out files: 77% (253/328) Checking out files: 78% (256/328) Checking out files: 79% (260/328) Checking out files: 80% (263/328) Checking out files: 81% (266/328) Checking out files: 82% (269/328) Checking out files: 83% (273/328) Checking out files: 84% (276/328) Checking out files: 85% (279/328) Checking out files: 86% (283/328) Checking out files: 87% (286/328) Checking out files: 88% (289/328) Checking out files: 89% (292/328) Checking out files: 90% (296/328) Checking out files: 91% (299/328) Checking out files: 92% (302/328) Checking out files: 93% (306/328) Checking out files: 94% (309/328) Checking out files: 95% (312/328) Checking out files: 96% (315/328) Checking out files: 97% (319/328) Checking out files: 98% (322/328) Checking out files: 99% (325/328) Checking out files: 100% (328/328) Checking out files: 100% (328/328), done. [INFO] validating manifest of git repo https://github.com/zlex7/Trust on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zlex7/Trust [INFO] finished tweaking git repo https://github.com/zlex7/Trust [INFO] tweaked toml for git repo https://github.com/zlex7/Trust written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/zlex7/Trust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bufstream v0.1.3 [INFO] [stderr] Downloaded tk-bufstream v0.3.0 [INFO] [stderr] Downloaded regex-syntax v0.6.0 [INFO] [stderr] Downloaded netbuf v0.4.1 [INFO] [stderr] Downloaded regex v1.0.0 [INFO] [stderr] Downloaded bytes v0.4.7 [INFO] [stderr] Downloaded tokio-io v0.1.6 [INFO] [stderr] Downloaded futures v0.1.21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cb02c9d5e5cc57b56ac0145fe4ddcca85082afbed78ee7e87b52fec2618d667e [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" "cb02c9d5e5cc57b56ac0145fe4ddcca85082afbed78ee7e87b52fec2618d667e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cb02c9d5e5cc57b56ac0145fe4ddcca85082afbed78ee7e87b52fec2618d667e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb02c9d5e5cc57b56ac0145fe4ddcca85082afbed78ee7e87b52fec2618d667e", kill_on_drop: false }` [INFO] [stdout] cb02c9d5e5cc57b56ac0145fe4ddcca85082afbed78ee7e87b52fec2618d667e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b4d7c13e68cae1001025a5ea35d209038e1180b623a8cfbfa382c0887c05c9d [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" "7b4d7c13e68cae1001025a5ea35d209038e1180b623a8cfbfa382c0887c05c9d", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v0.1.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling regex v1.0.0 [INFO] [stderr] Checking futures v0.1.21 [INFO] [stderr] Checking quick-error v1.2.1 [INFO] [stderr] Checking netbuf v0.4.1 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking regex-syntax v0.6.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking log v0.4.1 [INFO] [stderr] Checking thread_local v0.3.5 [INFO] [stderr] Checking bytes v0.4.7 [INFO] [stderr] Checking tokio-io v0.1.6 [INFO] [stderr] Checking tk-bufstream v0.3.0 [INFO] [stderr] Checking trust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/trust.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/trust.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/trust.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let t = (self.routes.get(&(request.clone()).unwrap().url)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/jinja.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | while (original_ind < matches.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/trust.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref default_headers: HashMap = hashmap!{String::from("Content") => String::from("text/html; charset=UTF-8"), S... [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/trust.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref accepted_methods: HashSet = hashset!{String::from("GET"), String::from("POST"), String::from("PUT"), String::from(... [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/trust.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/trust.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/trust.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | let t = (self.routes.get(&(request.clone()).unwrap().url)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/jinja.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | while (original_ind < matches.len()) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/trust.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | / lazy_static! { [INFO] [stdout] 21 | | static ref default_headers: HashMap = hashmap!{String::from("Content") => String::from("text/html; charset=UTF-8"), S... [INFO] [stdout] 22 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/trust.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / lazy_static! { [INFO] [stdout] 25 | | static ref accepted_methods: HashSet = hashset!{String::from("GET"), String::from("POST"), String::from("PUT"), String::from(... [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn abc(req: Request) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | fn root(req: Request) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | &UrlPart::PARAM(ref x, ref name, ..) => name.to_string(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn jinja_test(request: Request) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | &UrlPart::PARAM(ref x, ref name, ..) => name.to_string(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/trust.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/trust.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/trust.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/trust.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name2` [INFO] [stdout] --> src/trust.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | &UrlPart::PARAM(ref name2,ref value2,ref param_type2) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value2` [INFO] [stdout] --> src/trust.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | &UrlPart::PARAM(ref name2,ref value2,ref param_type2) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/trust.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | &UrlPart::PARAM(ref name,ref value,ref param_type) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> src/trust.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | &UrlPart::PARAM(ref name,ref value,ref param_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value2` [INFO] [stdout] --> src/trust.rs:188:51 [INFO] [stdout] | [INFO] [stdout] 188 | &UrlPart::PARAM(ref name2,ref value2,ref param_type2) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/trust.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let params : HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `join_handle` [INFO] [stdout] --> src/trust.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let join_handle = thread::spawn(move ||{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_join_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trust.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let mut request = Request::parse_request(str::from_utf8(&request_text).unwrap().to_string()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn abc(req: Request) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> src/main.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | fn root(req: Request) -> String{ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | &UrlPart::PARAM(ref x, ref name, ..) => name.to_string(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/main.rs:30:15 [INFO] [stdout] | [INFO] [stdout] 30 | fn jinja_test(request: Request) -> String { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/main.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | &UrlPart::PARAM(ref x, ref name, ..) => name.to_string(), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/trust.rs:131:29 [INFO] [stdout] | [INFO] [stdout] 131 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/trust.rs:131:39 [INFO] [stdout] | [INFO] [stdout] 131 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/trust.rs:149:29 [INFO] [stdout] | [INFO] [stdout] 149 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/trust.rs:149:39 [INFO] [stdout] | [INFO] [stdout] 149 | &UrlPart::PARAM(ref name, ref value, ref param_type) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name2` [INFO] [stdout] --> src/trust.rs:151:37 [INFO] [stdout] | [INFO] [stdout] 151 | &UrlPart::PARAM(ref name2,ref value2,ref param_type2) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value2` [INFO] [stdout] --> src/trust.rs:151:47 [INFO] [stdout] | [INFO] [stdout] 151 | &UrlPart::PARAM(ref name2,ref value2,ref param_type2) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/trust.rs:186:33 [INFO] [stdout] | [INFO] [stdout] 186 | &UrlPart::PARAM(ref name,ref value,ref param_type) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `param_type` [INFO] [stdout] --> src/trust.rs:186:52 [INFO] [stdout] | [INFO] [stdout] 186 | &UrlPart::PARAM(ref name,ref value,ref param_type) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_param_type` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value2` [INFO] [stdout] --> src/trust.rs:188:51 [INFO] [stdout] | [INFO] [stdout] 188 | &UrlPart::PARAM(ref name2,ref value2,ref param_type2) => { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_value2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/trust.rs:207:13 [INFO] [stdout] | [INFO] [stdout] 207 | let params : HashMap = HashMap::new(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `join_handle` [INFO] [stdout] --> src/trust.rs:418:13 [INFO] [stdout] | [INFO] [stdout] 418 | let join_handle = thread::spawn(move ||{ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_join_handle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trust.rs:88:22 [INFO] [stdout] | [INFO] [stdout] 88 | let mut request = Request::parse_request(str::from_utf8(&request_text).unwrap().to_string()); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `UrlParamType` in public interface (error E0446) [INFO] [stdout] --> src/trust.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | PARAM(String,String,UrlParamType) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequestError` [INFO] [stdout] --> src/trust.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | BadRequestError = 400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForbiddenError` [INFO] [stdout] --> src/trust.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | ForbiddenError = 403, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MethodNotAllowedError` [INFO] [stdout] --> src/trust.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | MethodNotAllowedError = 405, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ServerError` [INFO] [stdout] --> src/trust.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | ServerError = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/trust.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn new(url: Url, method : String, headers: HashMap, content: String, params: HashMap, path_string: Str... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used_workers` [INFO] [stdout] --> src/trust.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | used_workers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `default_headers` should have an upper case name [INFO] [stdout] --> src/trust.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | static ref default_headers: HashMap = hashmap!{String::from("Content") => String::from("text/html; charset=UTF-8"), S... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_HEADERS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `accepted_methods` should have an upper case name [INFO] [stdout] --> src/trust.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | static ref accepted_methods: HashSet = hashset!{String::from("GET"), String::from("POST"), String::from("PUT"), String::from(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ACCEPTED_METHODS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | stream.write(&response.to_http()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | stream.write(&response.to_http()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | stream.read(&mut request_text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... stream.write(&resp.to_http()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRouteString` should have a snake case name [INFO] [stdout] --> src/trust.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn getRouteString(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_route_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | cursor.read_until(' ' as u8, &mut method); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | cursor.read_until(' ' as u8, &mut path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | cursor.read_line(&mut version); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | cursor.read_until('\0' as u8, &mut rest_of_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private type `UrlParamType` in public interface (error E0446) [INFO] [stdout] --> src/trust.rs:122:25 [INFO] [stdout] | [INFO] [stdout] 122 | PARAM(String,String,UrlParamType) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `BadRequestError` [INFO] [stdout] --> src/trust.rs:269:5 [INFO] [stdout] | [INFO] [stdout] 269 | BadRequestError = 400, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ForbiddenError` [INFO] [stdout] --> src/trust.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | ForbiddenError = 403, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `MethodNotAllowedError` [INFO] [stdout] --> src/trust.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 272 | MethodNotAllowedError = 405, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `ServerError` [INFO] [stdout] --> src/trust.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | ServerError = 500, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/trust.rs:277:8 [INFO] [stdout] | [INFO] [stdout] 277 | fn new(url: Url, method : String, headers: HashMap, content: String, params: HashMap, path_string: Str... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `used_workers` [INFO] [stdout] --> src/trust.rs:378:5 [INFO] [stdout] | [INFO] [stdout] 378 | used_workers: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `default_headers` should have an upper case name [INFO] [stdout] --> src/trust.rs:21:16 [INFO] [stdout] | [INFO] [stdout] 21 | static ref default_headers: HashMap = hashmap!{String::from("Content") => String::from("text/html; charset=UTF-8"), S... [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `DEFAULT_HEADERS` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `accepted_methods` should have an upper case name [INFO] [stdout] --> src/trust.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | static ref accepted_methods: HashSet = hashset!{String::from("GET"), String::from("POST"), String::from("PUT"), String::from(... [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ACCEPTED_METHODS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | stream.write(&response.to_http()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | stream.write(&response.to_http()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:86:18 [INFO] [stdout] | [INFO] [stdout] 86 | stream.read(&mut request_text); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... stream.write(&resp.to_http()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `getRouteString` should have a snake case name [INFO] [stdout] --> src/trust.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn getRouteString(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_route_string` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:291:9 [INFO] [stdout] | [INFO] [stdout] 291 | cursor.read_until(' ' as u8, &mut method); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:293:9 [INFO] [stdout] | [INFO] [stdout] 293 | cursor.read_until(' ' as u8, &mut path); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | cursor.read_line(&mut version); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/trust.rs:300:9 [INFO] [stdout] | [INFO] [stdout] 300 | cursor.read_until('\0' as u8, &mut rest_of_file); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 42 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.67s [INFO] running `Command { std: "docker" "inspect" "7b4d7c13e68cae1001025a5ea35d209038e1180b623a8cfbfa382c0887c05c9d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b4d7c13e68cae1001025a5ea35d209038e1180b623a8cfbfa382c0887c05c9d", kill_on_drop: false }` [INFO] [stdout] 7b4d7c13e68cae1001025a5ea35d209038e1180b623a8cfbfa382c0887c05c9d