[INFO] cloning repository https://github.com/edwardwohaijun/unwrap [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/edwardwohaijun/unwrap" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardwohaijun%2Funwrap", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardwohaijun%2Funwrap'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea51b3fb4617fefb875e90081c9e1577228a8e1a [INFO] testing edwardwohaijun/unwrap against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardwohaijun%2Funwrap" "/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/edwardwohaijun/unwrap on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/edwardwohaijun/unwrap [INFO] finished tweaking git repo https://github.com/edwardwohaijun/unwrap [INFO] tweaked toml for git repo https://github.com/edwardwohaijun/unwrap written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/edwardwohaijun/unwrap already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c70bb53481e7c6da1d622bd9d751d4790c597f27c561d5b6113013eecc15e789 [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" "c70bb53481e7c6da1d622bd9d751d4790c597f27c561d5b6113013eecc15e789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c70bb53481e7c6da1d622bd9d751d4790c597f27c561d5b6113013eecc15e789", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c70bb53481e7c6da1d622bd9d751d4790c597f27c561d5b6113013eecc15e789", kill_on_drop: false }` [INFO] [stdout] c70bb53481e7c6da1d622bd9d751d4790c597f27c561d5b6113013eecc15e789 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cbef9b7454321301190180a8a36e56608a3e0692ce0fcfea764e2bbea56ae492 [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" "cbef9b7454321301190180a8a36e56608a3e0692ce0fcfea764e2bbea56ae492", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.46 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling cfg-if v0.1.6 [INFO] [stderr] Compiling rand_core v0.4.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling rust-lzma v0.4.0 [INFO] [stderr] Compiling unrar_sys v0.2.0 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling tar v0.4.20 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling zip v0.5.0 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling tree_magic v0.2.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling unrar v0.4.3 [INFO] [stderr] Compiling unwrap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn create_dir(path: &str) -> io::Result { // after moving this fn into a module, make this one private [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `path_digi_suffix` should have an upper case name [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | static ref path_digi_suffix: Regex = Regex::new(r"_\((\d+)\)$").unwrap(); // to match a directory name: this_is_a_directory_(123) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PATH_DIGI_SUFFIX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 59.92s [INFO] running `Command { std: "docker" "inspect" "cbef9b7454321301190180a8a36e56608a3e0692ce0fcfea764e2bbea56ae492", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbef9b7454321301190180a8a36e56608a3e0692ce0fcfea764e2bbea56ae492", kill_on_drop: false }` [INFO] [stdout] cbef9b7454321301190180a8a36e56608a3e0692ce0fcfea764e2bbea56ae492 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1766bbfadc9f566239c240bff260116521721c935e0ce903d90e8b67dfc4b843 [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" "1766bbfadc9f566239c240bff260116521721c935e0ce903d90e8b67dfc4b843", kill_on_drop: false }` [INFO] [stderr] Compiling unwrap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `create_dir` [INFO] [stdout] --> src/main.rs:251:4 [INFO] [stdout] | [INFO] [stdout] 251 | fn create_dir(path: &str) -> io::Result { // after moving this fn into a module, make this one private [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `path_digi_suffix` should have an upper case name [INFO] [stdout] --> src/main.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | static ref path_digi_suffix: Regex = Regex::new(r"_\((\d+)\)$").unwrap(); // to match a directory name: this_is_a_directory_(123) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PATH_DIGI_SUFFIX` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.21s [INFO] running `Command { std: "docker" "inspect" "1766bbfadc9f566239c240bff260116521721c935e0ce903d90e8b67dfc4b843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1766bbfadc9f566239c240bff260116521721c935e0ce903d90e8b67dfc4b843", kill_on_drop: false }` [INFO] [stdout] 1766bbfadc9f566239c240bff260116521721c935e0ce903d90e8b67dfc4b843 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", 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] a55ef911ea313f91f39638c1d62cf76b24bfef80cab84068a8cf8287c0ba0ee1 [INFO] running `Command { std: "docker" "start" "-a" "a55ef911ea313f91f39638c1d62cf76b24bfef80cab84068a8cf8287c0ba0ee1", kill_on_drop: false }` [INFO] [stderr] warning: function is never used: `create_dir` [INFO] [stderr] --> src/main.rs:251:4 [INFO] [stderr] | [INFO] [stderr] 251 | fn create_dir(path: &str) -> io::Result { // after moving this fn into a module, make this one private [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static variable `path_digi_suffix` should have an upper case name [INFO] [stderr] --> src/main.rs:35:16 [INFO] [stderr] | [INFO] [stderr] 35 | static ref path_digi_suffix: Regex = Regex::new(r"_\((\d+)\)$").unwrap(); // to match a directory name: this_is_a_directory_(123) [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `PATH_DIGI_SUFFIX` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/unwrap-acd9d331b25ee6f1) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a55ef911ea313f91f39638c1d62cf76b24bfef80cab84068a8cf8287c0ba0ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a55ef911ea313f91f39638c1d62cf76b24bfef80cab84068a8cf8287c0ba0ee1", kill_on_drop: false }` [INFO] [stdout] a55ef911ea313f91f39638c1d62cf76b24bfef80cab84068a8cf8287c0ba0ee1