[INFO] updating cached repository https://github.com/edwardwohaijun/unwrap [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] ea51b3fb4617fefb875e90081c9e1577228a8e1a [INFO] testing edwardwohaijun/unwrap against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fedwardwohaijun%2Funwrap" "/workspace/builds/worker-5/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/edwardwohaijun/unwrap on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-5/source/Cargo.toml [INFO] crate git repo https://github.com/edwardwohaijun/unwrap already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a7397b8d3a593b234abc3b68fd9b460ed9b6cd584d9342b80c5d9c1b69b272e0 [INFO] running `"docker" "start" "-a" "a7397b8d3a593b234abc3b68fd9b460ed9b6cd584d9342b80c5d9c1b69b272e0"` [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 cc v1.0.28 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling autocfg v0.1.2 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling byteorder v1.3.1 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling stable_deref_trait v1.1.1 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling ordermap v0.3.5 [INFO] [stderr] Compiling fixedbitset v0.1.9 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling adler32 v1.0.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling lazy_static v1.2.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling libc v0.1.12 [INFO] [stderr] Compiling bitflags v0.6.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling podio v0.1.6 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling nom v2.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.3 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling petgraph v0.4.13 [INFO] [stderr] Compiling regex-syntax v0.6.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rust-lzma v0.4.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling unrar_sys v0.2.0 [INFO] [stderr] Compiling smallvec v0.6.8 [INFO] [stderr] Compiling crc32fast v1.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bzip2-sys v0.1.7 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling rand_os v0.1.2 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.1.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling libflate v0.1.19 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling tar v0.4.20 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling bzip2 v0.3.3 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling parking_lot v0.4.8 [INFO] [stderr] Compiling zip v0.5.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling tree_magic v0.2.1 [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] [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 dev [unoptimized + debuginfo] target(s) in 2m 06s [INFO] running `"docker" "inspect" "a7397b8d3a593b234abc3b68fd9b460ed9b6cd584d9342b80c5d9c1b69b272e0"` [INFO] running `"docker" "rm" "-f" "a7397b8d3a593b234abc3b68fd9b460ed9b6cd584d9342b80c5d9c1b69b272e0"` [INFO] [stdout] a7397b8d3a593b234abc3b68fd9b460ed9b6cd584d9342b80c5d9c1b69b272e0 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 508c97908fefa3e9c1d3984948d0988d9d04187f4b7e5adac680c85b1003edd3 [INFO] running `"docker" "start" "-a" "508c97908fefa3e9c1d3984948d0988d9d04187f4b7e5adac680c85b1003edd3"` [INFO] [stderr] Compiling unwrap v0.1.0 (/opt/rustwide/workdir) [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 1.74s [INFO] running `"docker" "inspect" "508c97908fefa3e9c1d3984948d0988d9d04187f4b7e5adac680c85b1003edd3"` [INFO] running `"docker" "rm" "-f" "508c97908fefa3e9c1d3984948d0988d9d04187f4b7e5adac680c85b1003edd3"` [INFO] [stdout] 508c97908fefa3e9c1d3984948d0988d9d04187f4b7e5adac680c85b1003edd3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 1be51304cabc5e1ceb1b8293e84b94fd92fb299818cac454ec82ee847957e619 [INFO] running `"docker" "start" "-a" "1be51304cabc5e1ceb1b8293e84b94fd92fb299818cac454ec82ee847957e619"` [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.26s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/unwrap-b3c60bbdebe3a77b [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "1be51304cabc5e1ceb1b8293e84b94fd92fb299818cac454ec82ee847957e619"` [INFO] running `"docker" "rm" "-f" "1be51304cabc5e1ceb1b8293e84b94fd92fb299818cac454ec82ee847957e619"` [INFO] [stdout] 1be51304cabc5e1ceb1b8293e84b94fd92fb299818cac454ec82ee847957e619