[INFO] cloning repository https://github.com/zprobst/oxidize [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zprobst/oxidize" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzprobst%2Foxidize", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzprobst%2Foxidize'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ac7c7b9c7fc1fbfeddfc5282e321be551ed06df [INFO] checking zprobst/oxidize against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzprobst%2Foxidize" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zprobst/oxidize on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zprobst/oxidize [INFO] finished tweaking git repo https://github.com/zprobst/oxidize [INFO] tweaked toml for git repo https://github.com/zprobst/oxidize written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/zprobst/oxidize 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tera v1.2.0 [INFO] [stderr] Downloaded ignore v0.4.14 [INFO] [stderr] Downloaded winapi-util v0.1.4 [INFO] [stderr] Downloaded parse-zoneinfo v0.2.1 [INFO] [stderr] Downloaded chrono-tz v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e284fb85f0243d09f6b519fe3914bb4b6cdcc82469c01bbe35cb8d6c049e0d4 [INFO] running `Command { std: "docker" "start" "-a" "6e284fb85f0243d09f6b519fe3914bb4b6cdcc82469c01bbe35cb8d6c049e0d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e284fb85f0243d09f6b519fe3914bb4b6cdcc82469c01bbe35cb8d6c049e0d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e284fb85f0243d09f6b519fe3914bb4b6cdcc82469c01bbe35cb8d6c049e0d4", kill_on_drop: false }` [INFO] [stdout] 6e284fb85f0243d09f6b519fe3914bb4b6cdcc82469c01bbe35cb8d6c049e0d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3b7b6b67aad1f89477929df7ed103e366058d58b0360625a8b0197da1e723e1 [INFO] running `Command { std: "docker" "start" "-a" "b3b7b6b67aad1f89477929df7ed103e366058d58b0360625a8b0197da1e723e1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking ignore v0.4.14 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking tera v1.2.0 [INFO] [stderr] Checking learning-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template_render.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut context = Context::new(); [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: `request` [INFO] [stdout] --> src/views.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | request: &Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/views.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | params: &HashMap>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/routing.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/routing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template_render.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut context = Context::new(); [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: associated function `new` is never used [INFO] [stdout] --> src/routing.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 47 | /// Creates a new request with the base not found request. [INFO] [stdout] 48 | pub fn new() -> Response { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/routing.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_pattern_matches`, `applies_to_request`, and `to_response` are never used [INFO] [stdout] --> src/routing.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Route { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn new(pattern: &str, view: &str, methods: Option>) -> Route { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn save_pattern_matches(&mut self, captures: Captures<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn applies_to_request(&mut self, request: &Request) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn to_response(&self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/views.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | request: &Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateRenderer` is never constructed [INFO] [stdout] --> src/template_render.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TemplateRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/views.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | params: &HashMap>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reload`, and `render` are never used [INFO] [stdout] --> src/template_render.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TemplateRenderer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(glob: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn reload(&mut self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn render(&self, template_name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/views.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_response` are never used [INFO] [stdout] --> src/views.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> View<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(py_path: &'a str) -> View<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/routing.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/routing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/routing.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 47 | /// Creates a new request with the base not found request. [INFO] [stdout] 48 | pub fn new() -> Response { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/routing.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_pattern_matches`, `applies_to_request`, and `to_response` are never used [INFO] [stdout] --> src/routing.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Route { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn new(pattern: &str, view: &str, methods: Option>) -> Route { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn save_pattern_matches(&mut self, captures: Captures<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn applies_to_request(&mut self, request: &Request) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn to_response(&self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateRenderer` is never constructed [INFO] [stdout] --> src/template_render.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TemplateRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reload`, and `render` are never used [INFO] [stdout] --> src/template_render.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TemplateRenderer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(glob: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn reload(&mut self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn render(&self, template_name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/views.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_response` are never used [INFO] [stdout] --> src/views.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> View<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(py_path: &'a str) -> View<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b3b7b6b67aad1f89477929df7ed103e366058d58b0360625a8b0197da1e723e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3b7b6b67aad1f89477929df7ed103e366058d58b0360625a8b0197da1e723e1", kill_on_drop: false }` [INFO] [stdout] b3b7b6b67aad1f89477929df7ed103e366058d58b0360625a8b0197da1e723e1 [INFO] checking zprobst/oxidize against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzprobst%2Foxidize" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zprobst/oxidize on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zprobst/oxidize [INFO] finished tweaking git repo https://github.com/zprobst/oxidize [INFO] tweaked toml for git repo https://github.com/zprobst/oxidize written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/zprobst/oxidize 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab6354e2090d8ae4887af795276f27406e023c854ced6024a5884378513e78c1 [INFO] running `Command { std: "docker" "start" "-a" "ab6354e2090d8ae4887af795276f27406e023c854ced6024a5884378513e78c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab6354e2090d8ae4887af795276f27406e023c854ced6024a5884378513e78c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab6354e2090d8ae4887af795276f27406e023c854ced6024a5884378513e78c1", kill_on_drop: false }` [INFO] [stdout] ab6354e2090d8ae4887af795276f27406e023c854ced6024a5884378513e78c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dtail_expr_drop_order" "-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c7f09066c7e8ef875e605d15b3f354e4017a242eab02b840921b6c06836dfa7 [INFO] running `Command { std: "docker" "start" "-a" "0c7f09066c7e8ef875e605d15b3f354e4017a242eab02b840921b6c06836dfa7", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking regex-syntax v0.6.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking bstr v0.2.12 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking linked-hash-map v0.5.2 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking deunicode v0.4.3 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking yaml-rust v0.4.3 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking crossbeam-channel v0.4.2 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking regex v1.3.6 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking globset v0.4.5 [INFO] [stderr] Checking serde-hjson v0.8.2 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Checking ignore v0.4.14 [INFO] [stderr] Checking globwalk v0.8.0 [INFO] [stderr] Compiling parse-zoneinfo v0.2.1 [INFO] [stderr] Checking serde_json v1.0.51 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling chrono-tz v0.5.1 [INFO] [stderr] Checking config v0.9.3 [INFO] [stderr] Checking tera v1.2.0 [INFO] [stderr] Checking learning-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/template_render.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut context = Context::new(); [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: variable does not need to be mutable [INFO] [stdout] --> src/template_render.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let mut context = Context::new(); [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: `request` [INFO] [stdout] --> src/views.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | request: &Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/views.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | request: &Request, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/views.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | params: &HashMap>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `params` [INFO] [stdout] --> src/views.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | params: &HashMap>, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_params` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/routing.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/routing.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/routing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Response` is never constructed [INFO] [stdout] --> src/routing.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub struct Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/routing.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 47 | /// Creates a new request with the base not found request. [INFO] [stdout] 48 | pub fn new() -> Response { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/routing.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 47 | /// Creates a new request with the base not found request. [INFO] [stdout] 48 | pub fn new() -> Response { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/routing.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Route` is never constructed [INFO] [stdout] --> src/routing.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct Route { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_pattern_matches`, `applies_to_request`, and `to_response` are never used [INFO] [stdout] --> src/routing.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Route { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn new(pattern: &str, view: &str, methods: Option>) -> Route { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn save_pattern_matches(&mut self, captures: Captures<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn applies_to_request(&mut self, request: &Request) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn to_response(&self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save_pattern_matches`, `applies_to_request`, and `to_response` are never used [INFO] [stdout] --> src/routing.rs:124:12 [INFO] [stdout] | [INFO] [stdout] 104 | impl Route { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn new(pattern: &str, view: &str, methods: Option>) -> Route { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 168 | fn save_pattern_matches(&mut self, captures: Captures<'_>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 183 | pub fn applies_to_request(&mut self, request: &Request) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | pub fn to_response(&self, request: &Request) -> Response { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateRenderer` is never constructed [INFO] [stdout] --> src/template_render.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TemplateRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TemplateRenderer` is never constructed [INFO] [stdout] --> src/template_render.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct TemplateRenderer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reload`, and `render` are never used [INFO] [stdout] --> src/template_render.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TemplateRenderer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(glob: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn reload(&mut self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn render(&self, template_name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/views.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `reload`, and `render` are never used [INFO] [stdout] --> src/template_render.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl TemplateRenderer { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(glob: &str) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn reload(&mut self) -> Result<(), ()> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn render(&self, template_name: &str) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `View` is never constructed [INFO] [stdout] --> src/views.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct View<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_response` are never used [INFO] [stdout] --> src/views.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> View<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(py_path: &'a str) -> View<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `get_response` are never used [INFO] [stdout] --> src/views.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl<'a> View<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 9 | pub fn new(py_path: &'a str) -> View<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn get_response( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routing.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 184 | let re = Regex::new(&self.compiled_pattern).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | match re.captures(&request.path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/routing.rs:185:15 [INFO] [stdout] | [INFO] [stdout] 184 | let re = Regex::new(&self.compiled_pattern).unwrap(); [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 185 | match re.captures(&request.path) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `learning-rust` (lib test) due to 2 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `learning-rust` (lib) due to 2 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0c7f09066c7e8ef875e605d15b3f354e4017a242eab02b840921b6c06836dfa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c7f09066c7e8ef875e605d15b3f354e4017a242eab02b840921b6c06836dfa7", kill_on_drop: false }` [INFO] [stdout] 0c7f09066c7e8ef875e605d15b3f354e4017a242eab02b840921b6c06836dfa7