[INFO] cloning repository https://github.com/divvun/divvun-bundler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/divvun/divvun-bundler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fdivvun-bundler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fdivvun-bundler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5d817d1245b198a7a0e9dc198d437a703f56edf4 [INFO] checking divvun/divvun-bundler against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdivvun%2Fdivvun-bundler" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/divvun/divvun-bundler on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/divvun/divvun-bundler [INFO] finished tweaking git repo https://github.com/divvun/divvun-bundler [INFO] tweaked toml for git repo https://github.com/divvun/divvun-bundler written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/divvun/divvun-bundler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a114c4ca25228605e1769cef991c49c25bced103be99ee2430fa1ef99e2c354e [INFO] running `Command { std: "docker" "start" "-a" "a114c4ca25228605e1769cef991c49c25bced103be99ee2430fa1ef99e2c354e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a114c4ca25228605e1769cef991c49c25bced103be99ee2430fa1ef99e2c354e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a114c4ca25228605e1769cef991c49c25bced103be99ee2430fa1ef99e2c354e", kill_on_drop: false }` [INFO] [stdout] a114c4ca25228605e1769cef991c49c25bced103be99ee2430fa1ef99e2c354e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 08978dece86916037c939e9fda1e5feac52858165ac198fecc65db80f9655f89 [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" "08978dece86916037c939e9fda1e5feac52858165ac198fecc65db80f9655f89", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.0.25 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.4.20 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Compiling ryu v0.2.6 [INFO] [stderr] Checking ucd-util v0.1.3 [INFO] [stderr] Compiling plist v0.3.0 [INFO] [stderr] Checking podio v0.1.6 [INFO] [stderr] Checking strsim v0.7.0 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking miniz_oxide v0.2.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking xml-rs v0.7.0 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking regex-syntax v0.6.4 [INFO] [stderr] Checking clap v2.32.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling quote v0.6.9 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.0 [INFO] [stderr] Compiling bzip2-sys v0.1.6 [INFO] [stderr] Compiling syn v0.15.18 [INFO] [stderr] Checking flate2 v1.0.4 [INFO] [stderr] Checking bzip2 v0.3.3 [INFO] [stderr] Checking zip v0.4.2 [INFO] [stderr] Checking regex v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Checking serde_json v1.0.32 [INFO] [stderr] Checking env_logger v0.6.0 [INFO] [stderr] Checking divvun-bundler v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/targets/osx.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/targets/win.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{self, Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/targets/osx.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let result = Command::new("productsign") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/targets/osx.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | let result = Command::new("codesign") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build` [INFO] [stdout] --> src/targets/win.rs:251:2 [INFO] [stdout] | [INFO] [stdout] 251 | build: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> src/targets/win.rs:254:2 [INFO] [stdout] | [INFO] [stdout] 254 | output_dir: &Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build` [INFO] [stdout] --> src/targets/win.rs:291:2 [INFO] [stdout] | [INFO] [stdout] 291 | build: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/targets/osx.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/targets/win.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::path::{self, Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/targets/osx.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => panic!("{}", err), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/targets/osx.rs:170:9 [INFO] [stdout] | [INFO] [stdout] 170 | let result = Command::new("productsign") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/targets/osx.rs:187:10 [INFO] [stdout] | [INFO] [stdout] 187 | let result = Command::new("codesign") [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build` [INFO] [stdout] --> src/targets/win.rs:251:2 [INFO] [stdout] | [INFO] [stdout] 251 | build: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_dir` [INFO] [stdout] --> src/targets/win.rs:254:2 [INFO] [stdout] | [INFO] [stdout] 254 | output_dir: &Path, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `build` [INFO] [stdout] --> src/targets/win.rs:291:2 [INFO] [stdout] | [INFO] [stdout] 291 | build: u64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_build` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/targets/osx.rs:63:28 [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => panic!(err), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => panic!("{}", err), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 63 | Err(err) => std::panic::panic_any(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | let user = matches.is_present("USER"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archive` [INFO] [stdout] --> src/main.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 159 | fn create_stored_zip(archive: &mut ZipArchive) -> ZipArchive { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_compressed` [INFO] [stdout] --> src/main.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn is_compressed(archive: &mut ZipArchive) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_stored_zip` [INFO] [stdout] --> src/main.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn create_stored_zip(archive: &mut ZipArchive) -> ZipArchive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/main.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/main.rs:8:27 [INFO] [stdout] | [INFO] [stdout] 8 | use std::io::{Read, Seek, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/main.rs:69:6 [INFO] [stdout] | [INFO] [stdout] 69 | let user = matches.is_present("USER"); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `archive` [INFO] [stdout] --> src/main.rs:159:38 [INFO] [stdout] | [INFO] [stdout] 159 | fn create_stored_zip(archive: &mut ZipArchive) -> ZipArchive { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_archive` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `is_compressed` [INFO] [stdout] --> src/main.rs:147:4 [INFO] [stdout] | [INFO] [stdout] 147 | fn is_compressed(archive: &mut ZipArchive) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `create_stored_zip` [INFO] [stdout] --> src/main.rs:159:4 [INFO] [stdout] | [INFO] [stdout] 159 | fn create_stored_zip(archive: &mut ZipArchive) -> ZipArchive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 49.26s [INFO] running `Command { std: "docker" "inspect" "08978dece86916037c939e9fda1e5feac52858165ac198fecc65db80f9655f89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08978dece86916037c939e9fda1e5feac52858165ac198fecc65db80f9655f89", kill_on_drop: false }` [INFO] [stdout] 08978dece86916037c939e9fda1e5feac52858165ac198fecc65db80f9655f89