[INFO] cloning repository https://github.com/mysteriouspants/cdnizer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mysteriouspants/cdnizer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmysteriouspants%2Fcdnizer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmysteriouspants%2Fcdnizer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f2bd75a0b46480a705a2113c2d17447367171551 [INFO] checking mysteriouspants/cdnizer against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmysteriouspants%2Fcdnizer" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mysteriouspants/cdnizer [INFO] finished tweaking git repo https://github.com/mysteriouspants/cdnizer [INFO] tweaked toml for git repo https://github.com/mysteriouspants/cdnizer written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mysteriouspants/cdnizer on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mysteriouspants/cdnizer 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d9263a76af14e311a38f800a2f7bfe4f1bb4d84f36b22680bbf21b90bc4b9d7e [INFO] running `Command { std: "docker" "start" "-a" "d9263a76af14e311a38f800a2f7bfe4f1bb4d84f36b22680bbf21b90bc4b9d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d9263a76af14e311a38f800a2f7bfe4f1bb4d84f36b22680bbf21b90bc4b9d7e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9263a76af14e311a38f800a2f7bfe4f1bb4d84f36b22680bbf21b90bc4b9d7e", kill_on_drop: false }` [INFO] [stdout] d9263a76af14e311a38f800a2f7bfe4f1bb4d84f36b22680bbf21b90bc4b9d7e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b9ee253751b9ba5b3330197189760d96da2d4abfb5d420477c2a6925721334eb [INFO] running `Command { std: "docker" "start" "-a" "b9ee253751b9ba5b3330197189760d96da2d4abfb5d420477c2a6925721334eb", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.68 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Checking once_cell v1.18.0 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Checking gimli v0.28.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Checking owo-colors v3.5.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking object v0.32.1 [INFO] [stderr] Checking tracing-subscriber v0.3.17 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking size v0.4.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Checking tracing-error v0.2.0 [INFO] [stderr] Checking color-spantrace v0.2.0 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling askama_parser v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Checking color-eyre v0.6.2 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stderr] Compiling askama_derive v0.12.2 [INFO] [stderr] Checking askama v0.12.1 [INFO] [stderr] Checking cdnizer v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | path.file_name().map(|fname| ( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 145 | | fname == "index.html" || fname == "index.json" [INFO] [stdout] | | ____________^______________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 146 | | )).unwrap_or(false) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - path.file_name().map(|fname| ( [INFO] [stdout] 145 - fname == "index.html" || fname == "index.json" [INFO] [stdout] 144 + path.file_name().map(|fname| fname == "index.html" || fname == "index.json" ).unwrap_or(false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:144:38 [INFO] [stdout] | [INFO] [stdout] 144 | path.file_name().map(|fname| ( [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 145 | | fname == "index.html" || fname == "index.json" [INFO] [stdout] | | ____________^______________________________________________^ [INFO] [stdout] | ||____________| [INFO] [stdout] | | [INFO] [stdout] 146 | | )).unwrap_or(false) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 144 - path.file_name().map(|fname| ( [INFO] [stdout] 145 - fname == "index.html" || fname == "index.json" [INFO] [stdout] 144 + path.file_name().map(|fname| fname == "index.html" || fname == "index.json" ).unwrap_or(false) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | static VENDOR_DIR: Dir = include_dir!("vendor"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0716]: temporary value dropped while borrowed [INFO] [stdout] --> src/main.rs:13:26 [INFO] [stdout] | [INFO] [stdout] 13 | static VENDOR_DIR: Dir = include_dir!("vendor"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^- [INFO] [stdout] | | | [INFO] [stdout] | | temporary value is freed at the end of this statement [INFO] [stdout] | creates a temporary value which is freed while still in use [INFO] [stdout] | using this value as a static requires that borrow lasts for `'static` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_dir` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0716`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cdnizer` (bin "cdnizer" test) due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `cdnizer` (bin "cdnizer") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "b9ee253751b9ba5b3330197189760d96da2d4abfb5d420477c2a6925721334eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9ee253751b9ba5b3330197189760d96da2d4abfb5d420477c2a6925721334eb", kill_on_drop: false }` [INFO] [stdout] b9ee253751b9ba5b3330197189760d96da2d4abfb5d420477c2a6925721334eb