[INFO] updating cached repository codesections/mnemonic [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/codesections/mnemonic [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/codesections/mnemonic" "work/ex/beta-1.38-1/sources/1.37.0/gh/codesections/mnemonic"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/codesections/mnemonic'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/codesections/mnemonic" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/codesections/mnemonic"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/codesections/mnemonic'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] c63b320f2a323cd661cc51ceb520f86c80cb8af9 [INFO] sha for GitHub repo codesections/mnemonic: c63b320f2a323cd661cc51ceb520f86c80cb8af9 [INFO] validating manifest of codesections/mnemonic on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of codesections/mnemonic on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing codesections/mnemonic [INFO] finished frobbing codesections/mnemonic [INFO] frobbed toml for codesections/mnemonic written to work/ex/beta-1.38-1/sources/1.37.0/gh/codesections/mnemonic/Cargo.toml [INFO] started frobbing codesections/mnemonic [INFO] finished frobbing codesections/mnemonic [INFO] frobbed toml for codesections/mnemonic written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/codesections/mnemonic/Cargo.toml [INFO] crate codesections/mnemonic already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing codesections/mnemonic against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/codesections/mnemonic:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 20eafb3093a77d0b436684eb5753968ec43899ead0770bf2b9e454ba4350064f [INFO] running `"docker" "start" "-a" "20eafb3093a77d0b436684eb5753968ec43899ead0770bf2b9e454ba4350064f"` [INFO] [stderr] Compiling ident_case v1.0.0 [INFO] [stderr] Compiling plist v0.3.0 [INFO] [stderr] Compiling derive_builder v0.7.0 [INFO] [stderr] Compiling roff v0.1.0 [INFO] [stderr] Compiling shell-words v0.1.0 [INFO] [stderr] Compiling ansi_colours v1.0.1 [INFO] [stderr] Compiling onig_sys v69.1.0 [INFO] [stderr] Compiling colored v1.7.0 [INFO] [stderr] Compiling rand_os v0.1.1 [INFO] [stderr] Compiling clicolors-control v0.2.0 [INFO] [stderr] Compiling termios v0.3.1 [INFO] [stderr] Compiling directories v1.0.2 [INFO] [stderr] Compiling bincode v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.37 [INFO] [stderr] Compiling content_inspector v0.2.4 [INFO] [stderr] Compiling combine v3.6.6 [INFO] [stderr] Compiling man v0.3.0 [INFO] [stderr] Compiling flate2 v1.0.6 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling darling_core v0.8.3 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling error-chain v0.12.0 [INFO] [stderr] Compiling rand v0.6.4 [INFO] [stderr] Compiling globset v0.4.2 [INFO] [stderr] Compiling predicates v1.0.0 [INFO] [stderr] Compiling onig v4.3.1 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling tempfile v3.0.5 [INFO] [stderr] Compiling darling_macro v0.8.3 [INFO] [stderr] Compiling syntect v3.0.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling ignore v0.4.6 [INFO] [stderr] Compiling console v0.6.2 [INFO] [stderr] Compiling darling v0.8.3 [INFO] [stderr] Compiling derive_builder_core v0.4.0 [INFO] [stderr] Compiling globwalk v0.5.0 [INFO] [stderr] Compiling assert_fs v0.11.3 [INFO] [stderr] Compiling prettyprint v0.4.1 [INFO] [stderr] Compiling toml_edit v0.1.3 [INFO] [stderr] warning[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:55:65 [INFO] [stderr] | [INFO] [stderr] 44 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stderr] | -- lifetime `'v` defined here [INFO] [stderr] 45 | / match *v { [INFO] [stderr] 46 | | Item::ArrayOfTables(ref mut vec) => { [INFO] [stderr] 47 | | vec.values.get_mut(*self).expect("index out of bounds") [INFO] [stderr] 48 | | } [INFO] [stderr] 49 | | Item::Value(ref mut a) if a.is_array() => a [INFO] [stderr] | | --------- mutable borrow occurs here [INFO] [stderr] ... | [INFO] [stderr] 55 | | _ => panic!("cannot access index {} in {:?}", self, v), [INFO] [stderr] | | ^ immutable borrow occurs here [INFO] [stderr] 56 | | } [INFO] [stderr] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] warning[E0502]: cannot borrow `v` as immutable because it is also borrowed as mutable [INFO] [stderr] --> /opt/crater/cargo-home/registry/src/github.com-1ecc6299db9ec823/toml_edit-0.1.3/src/index.rs:88:63 [INFO] [stderr] | [INFO] [stderr] 70 | fn index_or_insert<'v>(&self, v: &'v mut Item) -> &'v mut Item { [INFO] [stderr] | -- lifetime `'v` defined here [INFO] [stderr] ... [INFO] [stderr] 77 | / match *v { [INFO] [stderr] 78 | | Item::Table(ref mut t) => t.entry(self).or_insert(Item::None), [INFO] [stderr] 79 | | Item::Value(ref mut v) if v.is_inline_table() => { [INFO] [stderr] | | --------- mutable borrow occurs here [INFO] [stderr] 80 | | &mut v [INFO] [stderr] ... | [INFO] [stderr] 88 | | _ => panic!("cannot access key {} in {:?}", self, v), [INFO] [stderr] | | ^ immutable borrow occurs here [INFO] [stderr] 89 | | } [INFO] [stderr] | |_________- returning this value requires that `v.0` is borrowed for `'v` [INFO] [stderr] | [INFO] [stderr] = warning: this error has been downgraded to a warning for backwards compatibility with previous releases [INFO] [stderr] = warning: this represents potential undefined behavior in your code and this warning will become a hard error in the future [INFO] [stderr] = note: for more information, try `rustc --explain E0729` [INFO] [stderr] [INFO] [stderr] Compiling mn v0.2.1 (/opt/crater/workdir) [INFO] [stderr] warning: the item `default_toml_config` is imported redundantly [INFO] [stderr] --> src/state/mod.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 1 | mod default_toml_config; [INFO] [stderr] | ------------------------ the item `default_toml_config` is already defined here [INFO] [stderr] ... [INFO] [stderr] 64 | use default_toml_config; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: the item `fs` is imported redundantly [INFO] [stderr] --> src/state/mod.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 8 | use std::{fs, io::prelude::*}; [INFO] [stderr] | -- the item `fs` is already imported here [INFO] [stderr] ... [INFO] [stderr] 66 | use std::{fs, io::Read}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Read` is imported redundantly [INFO] [stderr] --> src/state/mod.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 8 | use std::{fs, io::prelude::*}; [INFO] [stderr] | -------------- the item `Read` is already imported here [INFO] [stderr] ... [INFO] [stderr] 66 | use std::{fs, io::Read}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 59s [INFO] running `"docker" "inspect" "20eafb3093a77d0b436684eb5753968ec43899ead0770bf2b9e454ba4350064f"` [INFO] running `"docker" "rm" "-f" "20eafb3093a77d0b436684eb5753968ec43899ead0770bf2b9e454ba4350064f"` [INFO] [stdout] 20eafb3093a77d0b436684eb5753968ec43899ead0770bf2b9e454ba4350064f [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/codesections/mnemonic:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen" "--no-run"` [INFO] [stdout] 0282811d3a614bcb92af3c47053806193d1d7333ce1232cb43bd2d8b2276d8d7 [INFO] running `"docker" "start" "-a" "0282811d3a614bcb92af3c47053806193d1d7333ce1232cb43bd2d8b2276d8d7"` [INFO] [stderr] Compiling mn v0.2.1 (/opt/crater/workdir) [INFO] [stderr] warning: the item `default_toml_config` is imported redundantly [INFO] [stderr] --> src/state/mod.rs:64:13 [INFO] [stderr] | [INFO] [stderr] 1 | mod default_toml_config; [INFO] [stderr] | ------------------------ the item `default_toml_config` is already defined here [INFO] [stderr] ... [INFO] [stderr] 64 | use default_toml_config; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: the item `fs` is imported redundantly [INFO] [stderr] --> src/state/mod.rs:66:19 [INFO] [stderr] | [INFO] [stderr] 8 | use std::{fs, io::prelude::*}; [INFO] [stderr] | -- the item `fs` is already imported here [INFO] [stderr] ... [INFO] [stderr] 66 | use std::{fs, io::Read}; [INFO] [stderr] | ^^ [INFO] [stderr] [INFO] [stderr] warning: the item `Read` is imported redundantly [INFO] [stderr] --> src/state/mod.rs:66:23 [INFO] [stderr] | [INFO] [stderr] 8 | use std::{fs, io::prelude::*}; [INFO] [stderr] | -------------- the item `Read` is already imported here [INFO] [stderr] ... [INFO] [stderr] 66 | use std::{fs, io::Read}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `editor` [INFO] [stderr] --> src/state/mod.rs:271:5 [INFO] [stderr] | [INFO] [stderr] 271 | pub fn editor(&self) -> &String { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 8.42s [INFO] running `"docker" "inspect" "0282811d3a614bcb92af3c47053806193d1d7333ce1232cb43bd2d8b2276d8d7"` [INFO] running `"docker" "rm" "-f" "0282811d3a614bcb92af3c47053806193d1d7333ce1232cb43bd2d8b2276d8d7"` [INFO] [stdout] 0282811d3a614bcb92af3c47053806193d1d7333ce1232cb43bd2d8b2276d8d7 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-4/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/codesections/mnemonic:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "test" "--frozen"` [INFO] [stdout] 01fd023a4228f7c4347f154627fbd703049a1a3b2b0fa0b3588b8d3de672f9ec [INFO] running `"docker" "start" "-a" "01fd023a4228f7c4347f154627fbd703049a1a3b2b0fa0b3588b8d3de672f9ec"` [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.19s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/crater/target/debug/deps/generate_docs-bc36702b6d543d55 [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Running /opt/crater/target/debug/deps/mn-2ee62e31404e7c22 [INFO] [stdout] [INFO] [stdout] running 20 tests [INFO] [stdout] test add::tests::add_a_new_mn_with_editor ... ok [INFO] [stdout] test add::tests::add_a_blank_mn ... ok [INFO] [stdout] test add::tests::add_a_new_mn_with_xdg_open ... ok [INFO] [stdout] test edit::tests::append_to_a_mn ... ok [INFO] [stdout] test add::tests::add_mn_that_exitst ... ok [INFO] [stdout] test rm::tests::delete_a_file ... ok [INFO] [stdout] test edit::tests::edit_non_existant_mn ... ok [INFO] [stdout] test list::tests::list_one_mn ... ok [INFO] [stdout] test edit::tests::edit_mn_with_editor ... ok [INFO] [stdout] test list::tests::list_multiple_mns ... ok [INFO] [stdout] test rm::tests::rm_force_flag ... ok [INFO] [stdout] test list::tests::list_zero_mns ... ok [INFO] [stdout] test rm::tests::rm_invalid_file ... ok [INFO] [stdout] test show::tests::show_plaintext ... ok [INFO] [stdout] test show::tests::show_invalid_mn ... ok [INFO] [stdout] test edit::tests::edit_mn_with_xdg_open ... ok [INFO] [stdout] test show::tests::print_color_syntax ... ok [INFO] [stdout] test show::tests::print_color_theme ... ok [INFO] [stdout] test show::tests::print_color_no_args ... ok [INFO] [stdout] test show::tests::show_no_flags ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 20 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "01fd023a4228f7c4347f154627fbd703049a1a3b2b0fa0b3588b8d3de672f9ec"` [INFO] running `"docker" "rm" "-f" "01fd023a4228f7c4347f154627fbd703049a1a3b2b0fa0b3588b8d3de672f9ec"` [INFO] [stdout] 01fd023a4228f7c4347f154627fbd703049a1a3b2b0fa0b3588b8d3de672f9ec