[INFO] cloning repository https://github.com/Transyhdistys/simplestatic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Transyhdistys/simplestatic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransyhdistys%2Fsimplestatic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransyhdistys%2Fsimplestatic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 692260a88832f8159b5c33dfd11600d849230a95 [INFO] checking Transyhdistys/simplestatic against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTransyhdistys%2Fsimplestatic" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Transyhdistys/simplestatic [INFO] finished tweaking git repo https://github.com/Transyhdistys/simplestatic [INFO] tweaked toml for git repo https://github.com/Transyhdistys/simplestatic written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Transyhdistys/simplestatic on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Transyhdistys/simplestatic 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | homepage = "https://github.com/Transyhdistys/simplestatic" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | repository = "https://github.com/Transyhdistys/simplestatic" [INFO] [stderr] | ----------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `simplestatic` (manifest) generated 1 warning [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738 [INFO] running `Command { std: "docker" "start" "e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738", 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" "e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738", 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" "e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:21:12 [INFO] [stderr] | [INFO] [stderr] 21 | homepage = "https://github.com/Transyhdistys/simplestatic" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 26 | repository = "https://github.com/Transyhdistys/simplestatic" [INFO] [stderr] | ----------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `simplestatic` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.82 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking pin-project-lite v0.2.4 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking futures-core v0.3.12 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.1.0 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling serde v1.0.122 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking buf_redux v0.8.4 [INFO] [stderr] Compiling ring v0.16.19 [INFO] [stderr] Checking block-buffer v0.7.3 [INFO] [stderr] Checking tracing v0.1.22 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking sha-1 v0.8.2 [INFO] [stderr] Checking twoway v0.1.8 [INFO] [stderr] Compiling argh_shared v0.1.4 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking thread_local v1.1.2 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking macro-utils v0.1.3 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking minifier v0.0.31 [INFO] [stderr] Checking data-encoding v2.3.1 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking parking_lot_core v0.8.2 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking multipart v0.17.1 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking http-body v0.4.0 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Checking headers v0.3.3 [INFO] [stderr] Checking serde_urlencoded v0.7.0 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling async-stream-impl v0.3.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling argh_derive v0.1.4 [INFO] [stderr] Checking async-stream v0.3.0 [INFO] [stderr] Checking argh v0.1.4 [INFO] [stderr] Checking pin-project v0.4.27 [INFO] [stderr] Checking tracing-futures v0.2.4 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking tokio-stream v0.1.2 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking tokio-util v0.6.2 [INFO] [stderr] Checking h2 v0.3.0 [INFO] [stderr] Checking hyper v0.14.2 [INFO] [stderr] Checking warp v0.3.0 [INFO] [stderr] Checking simplestatic v1.0.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `regex` is never read [INFO] [stdout] --> src/template.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Template { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | text: String, [INFO] [stdout] 10 | regex: Regex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Template` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `u16` [INFO] [stdout] --> src/main.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | let port = config.port.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 88 - let port = config.port.into(); [INFO] [stdout] 88 + let port = config.port; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 88 - let port = config.port.into(); [INFO] [stdout] 88 + let port = >::into(config.port); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 31 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 - Err(e) => panic!(e), [INFO] [stdout] 31 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simplestatic` (bin "simplestatic" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: field `regex` is never read [INFO] [stdout] --> src/template.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Template { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 9 | text: String, [INFO] [stdout] 10 | regex: Regex, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Template` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: useless conversion to the same type: `u16` [INFO] [stdout] --> src/main.rs:88:16 [INFO] [stdout] | [INFO] [stdout] 88 | let port = config.port.into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 88 - let port = config.port.into(); [INFO] [stdout] 88 + let port = config.port; [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 88 - let port = config.port.into(); [INFO] [stdout] 88 + let port = >::into(config.port); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | Err(e) => panic!(e), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 31 | Err(e) => panic!("{}", e), [INFO] [stdout] | +++++ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 31 - Err(e) => panic!(e), [INFO] [stdout] 31 + Err(e) => std::panic::panic_any(e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `simplestatic` (bin "simplestatic") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738", kill_on_drop: false }` [INFO] [stdout] e3473408cc7fd8fc1c05f87c36ecaaea5d70610cc1e02d2968d35d20978c6738