[INFO] cloning repository https://github.com/michael-robbins/filemapper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michael-robbins/filemapper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-robbins%2Ffilemapper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-robbins%2Ffilemapper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d4164b46c3e9d25bf1fb00f8e67c9fd99e0f357 [INFO] testing michael-robbins/filemapper against try#ecabaf78506b7a4668d42dc20268c086b93f0fad for pr-87041 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-robbins%2Ffilemapper" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/michael-robbins/filemapper on toolchain ecabaf78506b7a4668d42dc20268c086b93f0fad [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/michael-robbins/filemapper [INFO] finished tweaking git repo https://github.com/michael-robbins/filemapper [INFO] tweaked toml for git repo https://github.com/michael-robbins/filemapper written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/michael-robbins/filemapper already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded aho-corasick v0.6.5 [INFO] [stderr] Downloaded regex v1.0.1 [INFO] [stderr] Downloaded regex-syntax v0.6.1 [INFO] [stderr] Downloaded csv v1.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] deb642147bbb506a55fd1b45adb226691f3eb6accac5f34cca6d2202f252070a [INFO] running `Command { std: "docker" "start" "-a" "deb642147bbb506a55fd1b45adb226691f3eb6accac5f34cca6d2202f252070a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "deb642147bbb506a55fd1b45adb226691f3eb6accac5f34cca6d2202f252070a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "deb642147bbb506a55fd1b45adb226691f3eb6accac5f34cca6d2202f252070a", kill_on_drop: false }` [INFO] [stdout] deb642147bbb506a55fd1b45adb226691f3eb6accac5f34cca6d2202f252070a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40f86c4d2c9b385505a312279ac559f54d04a9b2d3c1bb7ee3dd28e6ac03f7a9 [INFO] running `Command { std: "docker" "start" "-a" "40f86c4d2c9b385505a312279ac559f54d04a9b2d3c1bb7ee3dd28e6ac03f7a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.42 [INFO] [stderr] Compiling cc v1.0.17 [INFO] [stderr] Compiling serde v1.0.68 [INFO] [stderr] Compiling regex v1.0.1 [INFO] [stderr] Compiling lazy_static v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.4 [INFO] [stderr] Compiling linked-hash-map v0.5.1 [INFO] [stderr] Compiling getopts v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.6.1 [INFO] [stderr] Compiling humantime v1.1.1 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling yaml-rust v0.4.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling atty v0.2.10 [INFO] [stderr] Compiling aho-corasick v0.6.5 [INFO] [stderr] Compiling csv-core v0.1.4 [INFO] [stderr] Compiling miniz-sys v0.1.10 [INFO] [stderr] Compiling bzip2-sys v0.1.6 [INFO] [stderr] Compiling flate2 v1.0.1 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling env_logger v0.5.10 [INFO] [stderr] Compiling csv v1.0.0 [INFO] [stderr] Compiling file_mapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn open_file(filename: &str) -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | let decompressor: Box = match file_path.extension().unwrap_or_default().to_str() { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapping_file.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | cache: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MappingCache` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 24 | Err(err) => panic!("Couldn't read config file: {}", Error::description(&err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | Err(failure) => panic!(failure.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 123 | Err(failure) => panic!("{}", failure.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 123 | Err(failure) => std::panic::panic_any(failure.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 23.51s [INFO] running `Command { std: "docker" "inspect" "40f86c4d2c9b385505a312279ac559f54d04a9b2d3c1bb7ee3dd28e6ac03f7a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40f86c4d2c9b385505a312279ac559f54d04a9b2d3c1bb7ee3dd28e6ac03f7a9", kill_on_drop: false }` [INFO] [stdout] 40f86c4d2c9b385505a312279ac559f54d04a9b2d3c1bb7ee3dd28e6ac03f7a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1119cfb787097565e9d885136184c53e107f805daed3205242d711f111de574a [INFO] running `Command { std: "docker" "start" "-a" "1119cfb787097565e9d885136184c53e107f805daed3205242d711f111de574a", kill_on_drop: false }` [INFO] [stderr] Compiling file_mapper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn open_file(filename: &str) -> Box { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/helpers.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | let decompressor: Box = match file_path.extension().unwrap_or_default().to_str() { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/mapping_file.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | cache: Box, [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MappingCache` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/config.rs:24:65 [INFO] [stdout] | [INFO] [stdout] 24 | Err(err) => panic!("Couldn't read config file: {}", Error::description(&err)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/config.rs:123:32 [INFO] [stdout] | [INFO] [stdout] 123 | Err(failure) => panic!(failure.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 123 | Err(failure) => panic!("{}", failure.to_string()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 123 | Err(failure) => std::panic::panic_any(failure.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.80s [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1119cfb787097565e9d885136184c53e107f805daed3205242d711f111de574a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1119cfb787097565e9d885136184c53e107f805daed3205242d711f111de574a", kill_on_drop: false }` [INFO] [stdout] 1119cfb787097565e9d885136184c53e107f805daed3205242d711f111de574a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ecabaf78506b7a4668d42dc20268c086b93f0fad" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c4f89ab81f379eee776635eaf0b86d63c8ce74972d089a30b2444a9d826ff7d [INFO] running `Command { std: "docker" "start" "-a" "2c4f89ab81f379eee776635eaf0b86d63c8ce74972d089a30b2444a9d826ff7d", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/helpers.rs:12:41 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 12 | pub fn open_file(filename: &str) -> Box { [INFO] [stdout] [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/helpers.rs:22:27 [INFO] [stderr] | [INFO] [stderr] 22 | let decompressor: Box = match file_path.extension().unwrap_or_default().to_str() { [INFO] [stderr] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/mapping_file.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | cache: Box, [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn MappingCache` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see issue #80165 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/config.rs:24:65 [INFO] [stderr] | [INFO] [stderr] 24 | Err(err) => panic!("Couldn't read config file: {}", Error::description(&err)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/config.rs:123:32 [INFO] [stderr] | [INFO] [stderr] 123 | Err(failure) => panic!(failure.to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 123 | Err(failure) => panic!("{}", failure.to_string()), [INFO] [stderr] | ^^^^^ [INFO] [stderr] help: or use std::panic::panic_any instead [INFO] [stderr] | [INFO] [stderr] 123 | Err(failure) => std::panic::panic_any(failure.to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 5 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/file_mapper-c7123af4d3eb4a6b) [INFO] running `Command { std: "docker" "inspect" "2c4f89ab81f379eee776635eaf0b86d63c8ce74972d089a30b2444a9d826ff7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c4f89ab81f379eee776635eaf0b86d63c8ce74972d089a30b2444a9d826ff7d", kill_on_drop: false }` [INFO] [stdout] 2c4f89ab81f379eee776635eaf0b86d63c8ce74972d089a30b2444a9d826ff7d