[INFO] cloning repository https://github.com/andyyu2004/bit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/andyyu2004/bit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fbit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fbit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9b2fe4db836b679dcdc4bc5b9696aa68c9ad95c [INFO] testing andyyu2004/bit against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fandyyu2004%2Fbit" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/andyyu2004/bit on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/andyyu2004/bit [INFO] finished tweaking git repo https://github.com/andyyu2004/bit [INFO] tweaked toml for git repo https://github.com/andyyu2004/bit written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/andyyu2004/bit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/andyyu2004/diffy` [INFO] [stderr] Updating git repository `https://github.com/andyyu2004/rust-fallible-iterator` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha2 v0.9.5 [INFO] [stderr] Downloaded half v1.7.1 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded enumflags2 v0.7.1 [INFO] [stderr] Downloaded dirs-sys v0.3.6 [INFO] [stderr] Downloaded predicates v1.0.8 [INFO] [stderr] Downloaded criterion-plot v0.4.3 [INFO] [stderr] Downloaded assert_cmd v1.0.5 [INFO] [stderr] Downloaded snailquote v0.3.0 [INFO] [stderr] Downloaded ignore v0.4.17 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.5 [INFO] [stderr] Downloaded itertools v0.10.0 [INFO] [stderr] Downloaded criterion v0.3.4 [INFO] [stderr] Downloaded owo-colors v2.0.0 [INFO] [stderr] Downloaded plotters-backend v0.3.0 [INFO] [stderr] Downloaded quickcheck_macros v1.0.0 [INFO] [stderr] Downloaded plotters v0.3.1 [INFO] [stderr] Downloaded pathdiff v0.2.0 [INFO] [stderr] Downloaded quickcheck v1.0.3 [INFO] [stderr] Downloaded rayon v1.5.1 [INFO] [stderr] Downloaded plotters-svg v0.3.0 [INFO] [stderr] Downloaded cast v0.2.6 [INFO] [stderr] Downloaded tinytemplate v1.2.1 [INFO] [stderr] Downloaded git-config v0.1.1 [INFO] [stderr] Downloaded dirs v3.0.2 [INFO] [stderr] Downloaded enumflags2_derive v0.7.0 [INFO] [stderr] Downloaded index_vec v0.1.2 [INFO] [stderr] Downloaded rayon-core v1.9.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "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] 3784ff273ff55e85df9f872700c48a76c5e5cc91f60a9b4402f4bdfe85861580 [INFO] running `Command { std: "docker" "start" "-a" "3784ff273ff55e85df9f872700c48a76c5e5cc91f60a9b4402f4bdfe85861580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3784ff273ff55e85df9f872700c48a76c5e5cc91f60a9b4402f4bdfe85861580", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3784ff273ff55e85df9f872700c48a76c5e5cc91f60a9b4402f4bdfe85861580", kill_on_drop: false }` [INFO] [stdout] 3784ff273ff55e85df9f872700c48a76c5e5cc91f60a9b4402f4bdfe85861580 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0fd6e64e639ba179224fbab1c983817f03270b99f80ce9447c57d69c34a0f54b [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" "0fd6e64e639ba179224fbab1c983817f03270b99f80ce9447c57d69c34a0f54b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling fallible-iterator v0.2.0 (https://github.com/andyyu2004/rust-fallible-iterator#c84b1879) [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling indent_write v2.2.0 [INFO] [stderr] Compiling index_vec v0.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling owo-colors v2.0.0 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling pathdiff v0.2.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling thread_local v1.1.3 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.10.0 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling diffy v0.2.1 (https://github.com/andyyu2004/diffy#08ca73c6) [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling sha2 v0.9.5 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling git-config v0.1.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling globset v0.4.6 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling ignore v0.4.17 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling enumflags2_derive v0.7.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling num_enum_derive v0.5.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling bit_derive v0.1.0 (/opt/rustwide/workdir/bit_derive) [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling enumflags2 v0.7.1 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling snailquote v0.3.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling num_enum v0.5.1 [INFO] [stderr] Compiling libbit v0.1.0 (/opt/rustwide/workdir/libbit) [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> libbit/src/pathspec.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | path: BitPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> libbit/src/pathspec.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | parent: BitPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(offset: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn with_capacity(offset: isize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `something` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | something: &'a (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit v0.1.0 (/opt/rustwide/workdir/bit) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 35s [INFO] running `Command { std: "docker" "inspect" "0fd6e64e639ba179224fbab1c983817f03270b99f80ce9447c57d69c34a0f54b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fd6e64e639ba179224fbab1c983817f03270b99f80ce9447c57d69c34a0f54b", kill_on_drop: false }` [INFO] [stdout] 0fd6e64e639ba179224fbab1c983817f03270b99f80ce9447c57d69c34a0f54b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9cf3035fe7b8dfa77c85526e231ac5af1bb747a06979205106853206b5c7b7ad [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" "9cf3035fe7b8dfa77c85526e231ac5af1bb747a06979205106853206b5c7b7ad", kill_on_drop: false }` [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling plotters-backend v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling predicates-core v1.0.2 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling difference v2.0.0 [INFO] [stderr] Compiling treeline v0.1.0 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling wait-timeout v0.2.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling quickcheck_macros v1.0.0 [INFO] [stderr] Compiling bit_derive v0.1.0 (/opt/rustwide/workdir/bit_derive) [INFO] [stderr] Compiling predicates-tree v1.0.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling predicates v1.0.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling serde_cbor v0.11.1 [INFO] [stderr] Compiling plotters-svg v0.3.0 [INFO] [stderr] Compiling quickcheck v1.0.3 [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> libbit/src/pathspec.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | path: BitPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> libbit/src/pathspec.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | parent: BitPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(offset: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn with_capacity(offset: isize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `something` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | something: &'a (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling assert_cmd v1.0.5 [INFO] [stderr] Compiling bit v0.1.0 (/opt/rustwide/workdir/bit) [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Compiling cast v0.2.6 [INFO] [stderr] Compiling criterion-plot v0.4.3 [INFO] [stderr] Compiling criterion v0.3.4 [INFO] [stderr] Compiling libbit v0.1.0 (/opt/rustwide/workdir/libbit) [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> libbit/src/test_utils.rs:204:1 [INFO] [stdout] | [INFO] [stdout] 204 | / macro_rules! enable_log { [INFO] [stdout] 205 | | () => { [INFO] [stdout] 206 | | env_logger::builder().parse_env("BIT_LOG").init(); [INFO] [stdout] 207 | | }; [INFO] [stdout] 208 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> libbit/src/test_utils.rs:210:1 [INFO] [stdout] | [INFO] [stdout] 210 | / macro_rules! stat { [INFO] [stdout] 211 | | ($repo:ident: $path:literal) => { [INFO] [stdout] 212 | | #[allow(unused_imports)] [INFO] [stdout] 213 | | use std::os::linux::fs::*; [INFO] [stdout] ... | [INFO] [stdout] 223 | | }; [INFO] [stdout] 224 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> libbit/src/test_utils.rs:276:1 [INFO] [stdout] | [INFO] [stdout] 276 | / macro_rules! hash_file { [INFO] [stdout] 277 | | ($repo:ident: $path:expr) => { [INFO] [stdout] 278 | | hash_blob!(cat!($repo: $path).as_bytes()) [INFO] [stdout] 279 | | }; [INFO] [stdout] 280 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> libbit/src/pathspec.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | path: BitPath, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `parent` [INFO] [stdout] --> libbit/src/pathspec.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | parent: BitPath, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn new(offset: isize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_capacity` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn with_capacity(offset: isize, capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `something` [INFO] [stdout] --> libbit/src/xdiff/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | something: &'a (), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1m 30s [INFO] running `Command { std: "docker" "inspect" "9cf3035fe7b8dfa77c85526e231ac5af1bb747a06979205106853206b5c7b7ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cf3035fe7b8dfa77c85526e231ac5af1bb747a06979205106853206b5c7b7ad", kill_on_drop: false }` [INFO] [stdout] 9cf3035fe7b8dfa77c85526e231ac5af1bb747a06979205106853206b5c7b7ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bad5ab124ba49b97e1f1b48c94d9b6f38f946a5f2e7672c185ffd51293bb0307 [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" "bad5ab124ba49b97e1f1b48c94d9b6f38f946a5f2e7672c185ffd51293bb0307", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `path` [INFO] [stderr] --> libbit/src/pathspec.rs:110:5 [INFO] [stderr] | [INFO] [stderr] 110 | path: BitPath, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `parent` [INFO] [stderr] --> libbit/src/pathspec.rs:111:5 [INFO] [stderr] | [INFO] [stderr] 111 | parent: BitPath, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> libbit/src/xdiff/mod.rs:26:12 [INFO] [stderr] | [INFO] [stderr] 26 | pub fn new(offset: isize) -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_capacity` [INFO] [stderr] --> libbit/src/xdiff/mod.rs:30:12 [INFO] [stderr] | [INFO] [stderr] 30 | pub fn with_capacity(offset: isize, capacity: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `something` [INFO] [stderr] --> libbit/src/xdiff/mod.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 56 | something: &'a (), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `libbit` (lib) generated 5 warnings [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> libbit/src/test_utils.rs:204:1 [INFO] [stderr] | [INFO] [stderr] 204 | / macro_rules! enable_log { [INFO] [stderr] 205 | | () => { [INFO] [stderr] 206 | | env_logger::builder().parse_env("BIT_LOG").init(); [INFO] [stderr] 207 | | }; [INFO] [stderr] 208 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> libbit/src/test_utils.rs:210:1 [INFO] [stderr] | [INFO] [stderr] 210 | / macro_rules! stat { [INFO] [stderr] 211 | | ($repo:ident: $path:literal) => { [INFO] [stderr] 212 | | #[allow(unused_imports)] [INFO] [stderr] 213 | | use std::os::linux::fs::*; [INFO] [stderr] ... | [INFO] [stderr] 223 | | }; [INFO] [stderr] 224 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> libbit/src/test_utils.rs:276:1 [INFO] [stderr] | [INFO] [stderr] 276 | / macro_rules! hash_file { [INFO] [stderr] 277 | | ($repo:ident: $path:expr) => { [INFO] [stderr] 278 | | hash_blob!(cat!($repo: $path).as_bytes()) [INFO] [stderr] 279 | | }; [INFO] [stderr] 280 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `libbit` (lib test) generated 8 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.39s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bit-82dfa50c13bb37ee) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test cli::cli_switch::tests::parse_switch_opts_create_branch_from_head ... ok [INFO] [stdout] test cli::cli_switch::tests::parse_switch_opts_create_branch_from_revision ... ok [INFO] [stdout] test cli::cli_bit_diff::tests::test_cli_parse_bit_diff_staged ... ok [INFO] [stdout] test cli::cli_revlist::tests::test_parse_revlist_cli ... ok [INFO] [stdout] test cli::cli_revlist::tests::test_parse_revlist_requires_at_least_one_revision ... ok [INFO] [stdout] test cli::cli_switch::tests::parse_switch_opts ... ok [INFO] [stdout] test tests::bit_cat_file_tests::test_cli_cat_file_pretty_commit_output ... ok [INFO] [stdout] test tests::bit_cat_file_tests::test_cli_cat_file_partial_oid ... ok [INFO] [stdout] test tests::bit_cat_file_tests::test_cli_cat_file_blob ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- tests::bit_cat_file_tests::test_cli_cat_file_blob stdout ---- [INFO] [stdout] thread 'tests::bit_cat_file_tests::test_cli_cat_file_blob' panicked at 'Unexpected stdout, failed var - original <= 0 [INFO] [stdout] ├── original: tree 83aa323eb021e908251a5af652b1010cf1efc009 [INFO] [stdout] author Andy Yu 1621330843 +1200 [INFO] [stdout] committer Andy Yu 1621330907 +1200 [INFO] [stdout] [INFO] [stdout] init [INFO] [stdout] [INFO] [stdout] ├── actual distance: 5 [INFO] [stdout] ├── diff: tree 83aa323eb021e908251a5af652b1010cf1efc009 [INFO] [stdout] author Andy Yu 1621330843 +1200 [INFO] [stdout] committer Andy Yu 1621330907 +1200 [INFO] [stdout] [INFO] [stdout] init [INFO] [stdout]  [INFO] [stdout] [INFO] [stdout] └── var as str: [INFO] [stdout] [INFO] [stdout] command=`"/opt/rustwide/target/debug/bit" "-C" "tests/repos/foo" "cat-file" "-p" "HEAD"` [INFO] [stdout] code=0 [INFO] [stdout] stdout=```""``` [INFO] [stdout] stderr=```"failed to create file `/opt/rustwide/workdir/bit/tests/repos/foo/.bit/HEAD`\n"``` [INFO] [stdout] ', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-1.0.5/src/assert.rs:341:17 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55a6b0441a70 - std::backtrace_rs::backtrace::libunwind::trace::h99dbb39dca18857d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/libunwind.rs:90:5 [INFO] [stdout] 1: 0x55a6b0441a70 - std::backtrace_rs::backtrace::trace_unsynchronized::h832861927e9cfedf [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55a6b0441a70 - std::sys_common::backtrace::_print_fmt::h3d18154c77dcf310 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55a6b0441a70 - ::fmt::he312f4ad5b9bb346 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55a6b0465b0c - core::fmt::write::h9a6d9c74526a6c1b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/fmt/mod.rs:1115:17 [INFO] [stdout] 5: 0x55a6b043db75 - std::io::Write::write_fmt::h65d36b96410d80d7 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/io/mod.rs:1665:15 [INFO] [stdout] 6: 0x55a6b0443c1b - std::sys_common::backtrace::_print::h65d996766de40da4 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55a6b0443c1b - std::sys_common::backtrace::print::h40df9727e635f303 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55a6b0443c1b - std::panicking::default_hook::{{closure}}::hd2da4327dea91a51 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:208:50 [INFO] [stdout] 9: 0x55a6b044372c - std::panicking::default_hook::h3d55120ad6ada158 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:222:9 [INFO] [stdout] 10: 0x55a6b04442e4 - std::panicking::rust_panic_with_hook::hf85dd0bb545e3b55 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:622:17 [INFO] [stdout] 11: 0x55a6b0443dc7 - std::panicking::begin_panic_handler::{{closure}}::h736ae969434da9fa [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:519:13 [INFO] [stdout] 12: 0x55a6b0441f4c - std::sys_common::backtrace::__rust_end_short_backtrace::h6133bb80b1d6c3e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:141:18 [INFO] [stdout] 13: 0x55a6b0443d29 - rust_begin_unwind [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:515:5 [INFO] [stdout] 14: 0x55a6b01d7cfb - std::panicking::begin_panic_fmt::hf70e90a601287d8b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:457:5 [INFO] [stdout] 15: 0x55a6b01f4885 - assert_cmd::assert::Assert::stdout_impl::h8f1b590742d477e8 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-1.0.5/src/assert.rs:341:17 [INFO] [stdout] 16: 0x55a6b01e56e5 - assert_cmd::assert::Assert::stdout::h4af732adaead85c0 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assert_cmd-1.0.5/src/assert.rs:334:9 [INFO] [stdout] 17: 0x55a6b01dd71c - bit::tests::bit_cat_file_tests::test_cli_cat_file_blob::hafc0baf85707588d [INFO] [stdout] at /opt/rustwide/workdir/bit/src/tests/bit_cat_file_tests/mod.rs:11:5 [INFO] [stdout] 18: 0x55a6b01dd5fa - bit::tests::bit_cat_file_tests::test_cli_cat_file_blob::{{closure}}::hcc8242f128917f20 [INFO] [stdout] at /opt/rustwide/workdir/bit/src/tests/bit_cat_file_tests/mod.rs:4:1 [INFO] [stdout] 19: 0x55a6b01ec52e - core::ops::function::FnOnce::call_once::hbf3b0c6068be7792 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 20: 0x55a6b0268923 - core::ops::function::FnOnce::call_once::h227fa683a5745bd3 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55a6b0268923 - test::__rust_begin_short_backtrace::h3a193bd570ada00a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:578:5 [INFO] [stdout] 22: 0x55a6b0267398 - as core::ops::function::FnOnce>::call_once::h262d2f411717179a [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 23: 0x55a6b0267398 - as core::ops::function::FnOnce<()>>::call_once::hfec00caec3e52a7b [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 24: 0x55a6b0267398 - std::panicking::try::do_call::ha5f42e76ffda569d [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 25: 0x55a6b0267398 - std::panicking::try::h53f36df0935b9500 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 26: 0x55a6b0267398 - std::panic::catch_unwind::h5a497f74b0ce006f [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 27: 0x55a6b0267398 - test::run_test_in_process::hab0aead337f48a88 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:601:18 [INFO] [stdout] 28: 0x55a6b0267398 - test::run_test::run_test_inner::{{closure}}::h632c383164d4cba2 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:493:39 [INFO] [stdout] 29: 0x55a6b0235b1d - test::run_test::run_test_inner::{{closure}}::h7c4b3612891a4b58 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/test/src/lib.rs:520:37 [INFO] [stdout] 30: 0x55a6b0235b1d - std::sys_common::backtrace::__rust_begin_short_backtrace::habf7d8a08419d00e [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys_common/backtrace.rs:125:18 [INFO] [stdout] 31: 0x55a6b023a248 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h3acba502e2068204 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:476:17 [INFO] [stdout] 32: 0x55a6b023a248 - as core::ops::function::FnOnce<()>>::call_once::h526ef819c1964a35 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:347:9 [INFO] [stdout] 33: 0x55a6b023a248 - std::panicking::try::do_call::hc0b5663d6373cec8 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:401:40 [INFO] [stdout] 34: 0x55a6b023a248 - std::panicking::try::ha9007ede9d35dcd6 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panicking.rs:365:19 [INFO] [stdout] 35: 0x55a6b023a248 - std::panic::catch_unwind::hf60d56329ebbb81c [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/panic.rs:434:14 [INFO] [stdout] 36: 0x55a6b023a248 - std::thread::Builder::spawn_unchecked::{{closure}}::hb1722d498f4ce777 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/thread/mod.rs:475:30 [INFO] [stdout] 37: 0x55a6b023a248 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h15eb01325730c962 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 38: 0x55a6b0449277 - as core::ops::function::FnOnce>::call_once::h09f167e08fc945ff [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 39: 0x55a6b0449277 - as core::ops::function::FnOnce>::call_once::hf814fe85eeb118e0 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/alloc/src/boxed.rs:1572:9 [INFO] [stdout] 40: 0x55a6b0449277 - std::sys::unix::thread::Thread::new::thread_start::hb71b17934c5f5e68 [INFO] [stdout] at /rustc/d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2/library/std/src/sys/unix/thread.rs:91:17 [INFO] [stdout] 41: 0x7f2b61c09609 - start_thread [INFO] [stdout] 42: 0x7f2b619db293 - clone [INFO] [stdout] 43: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] tests::bit_cat_file_tests::test_cli_cat_file_blob [INFO] [stdout] [INFO] [stdout] test result: FAILED. 8 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.13s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '-p bit --bin bit' [INFO] running `Command { std: "docker" "inspect" "bad5ab124ba49b97e1f1b48c94d9b6f38f946a5f2e7672c185ffd51293bb0307", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bad5ab124ba49b97e1f1b48c94d9b6f38f946a5f2e7672c185ffd51293bb0307", kill_on_drop: false }` [INFO] [stdout] bad5ab124ba49b97e1f1b48c94d9b6f38f946a5f2e7672c185ffd51293bb0307