[INFO] updating cached repository iafisher/popquiz [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/iafisher/popquiz [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/iafisher/popquiz" "work/ex/beta-1.38-1/sources/1.37.0/gh/iafisher/popquiz"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/iafisher/popquiz'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/iafisher/popquiz" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/iafisher/popquiz"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/iafisher/popquiz'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f71b546f3f12b910949c36fc6d55aade76d29bb8 [INFO] sha for GitHub repo iafisher/popquiz: f71b546f3f12b910949c36fc6d55aade76d29bb8 [INFO] validating manifest of iafisher/popquiz 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 iafisher/popquiz 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 iafisher/popquiz [INFO] finished frobbing iafisher/popquiz [INFO] frobbed toml for iafisher/popquiz written to work/ex/beta-1.38-1/sources/1.37.0/gh/iafisher/popquiz/Cargo.toml [INFO] started frobbing iafisher/popquiz [INFO] finished frobbing iafisher/popquiz [INFO] frobbed toml for iafisher/popquiz written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/iafisher/popquiz/Cargo.toml [INFO] crate iafisher/popquiz 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] testing iafisher/popquiz 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-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/iafisher/popquiz:/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] 06d4b4548d25e6635dd18bd77067db2ef664168874458e1f4ac6854e6ab62a88 [INFO] running `"docker" "start" "-a" "06d4b4548d25e6635dd18bd77067db2ef664168874458e1f4ac6854e6ab62a88"` [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Compiling term_size v0.3.1 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling winconsole v0.10.0 [INFO] [stderr] Compiling colored v1.8.0 [INFO] [stderr] Compiling rustyline v4.1.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Compiling structopt-derive v0.2.16 [INFO] [stderr] Compiling structopt v0.2.16 [INFO] [stderr] Compiling serde v1.0.92 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling popquiz v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1168:32 [INFO] [stderr] | [INFO] [stderr] 1168 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `tags` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:803:17 [INFO] [stderr] | [INFO] [stderr] 802 | if let Some(n) = tags.get(tag.as_str()) { [INFO] [stderr] | ---- immutable borrow occurs here [INFO] [stderr] 803 | tags.insert(tag.as_str(), n+1); [INFO] [stderr] | ^^^^ - immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: #[warn(mutable_borrow_reservation_conflict)] on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `ret` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:971:13 [INFO] [stderr] | [INFO] [stderr] 969 | if let Some(text) = ret.get("text") { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] 970 | if text.is_string() { [INFO] [stderr] 971 | ret.insert(String::from("text"), serde_json::json!([text])); [INFO] [stderr] | ^^^ mutable borrow occurs here ------------------------- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `ret` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:981:17 [INFO] [stderr] | [INFO] [stderr] 978 | if let Some(answer) = ret.get("answer") { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 981 | ret.insert( [INFO] [stderr] | ^^^ mutable borrow occurs here [INFO] [stderr] 982 | String::from("answer_list"), [INFO] [stderr] 983 | serde_json::json!([{"variants": answer.clone()}]) [INFO] [stderr] | ------ immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `ret` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:987:17 [INFO] [stderr] | [INFO] [stderr] 978 | if let Some(answer) = ret.get("answer") { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 987 | ret.insert( [INFO] [stderr] | ^^^ mutable borrow occurs here [INFO] [stderr] 988 | String::from("answer_list"), [INFO] [stderr] 989 | serde_json::json!([{"variants": [answer.clone()]}]) [INFO] [stderr] | ------ immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/lib.rs:465:5 [INFO] [stderr] | [INFO] [stderr] 465 | fn new(text: &str, answer: &str) -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/lib.rs:727:5 [INFO] [stderr] | [INFO] [stderr] 727 | fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `"docker" "inspect" "06d4b4548d25e6635dd18bd77067db2ef664168874458e1f4ac6854e6ab62a88"` [INFO] running `"docker" "rm" "-f" "06d4b4548d25e6635dd18bd77067db2ef664168874458e1f4ac6854e6ab62a88"` [INFO] [stdout] 06d4b4548d25e6635dd18bd77067db2ef664168874458e1f4ac6854e6ab62a88 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/iafisher/popquiz:/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] c9b120ed1b3dc568a0fcd420c3ba1713e7f3e29ac10ec548e2e1c9f3338705ee [INFO] running `"docker" "start" "-a" "c9b120ed1b3dc568a0fcd420c3ba1713e7f3e29ac10ec548e2e1c9f3338705ee"` [INFO] [stderr] Compiling popquiz v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:1168:32 [INFO] [stderr] | [INFO] [stderr] 1168 | fn cause(&self) -> Option<&error::Error> { [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] | [INFO] [stderr] = note: #[warn(bare_trait_objects)] on by default [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `tags` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:803:17 [INFO] [stderr] | [INFO] [stderr] 802 | if let Some(n) = tags.get(tag.as_str()) { [INFO] [stderr] | ---- immutable borrow occurs here [INFO] [stderr] 803 | tags.insert(tag.as_str(), n+1); [INFO] [stderr] | ^^^^ - immutable borrow later used here [INFO] [stderr] | | [INFO] [stderr] | mutable borrow occurs here [INFO] [stderr] | [INFO] [stderr] = note: #[warn(mutable_borrow_reservation_conflict)] on by default [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `ret` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:971:13 [INFO] [stderr] | [INFO] [stderr] 969 | if let Some(text) = ret.get("text") { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] 970 | if text.is_string() { [INFO] [stderr] 971 | ret.insert(String::from("text"), serde_json::json!([text])); [INFO] [stderr] | ^^^ mutable borrow occurs here ------------------------- immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `ret` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:981:17 [INFO] [stderr] | [INFO] [stderr] 978 | if let Some(answer) = ret.get("answer") { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 981 | ret.insert( [INFO] [stderr] | ^^^ mutable borrow occurs here [INFO] [stderr] 982 | String::from("answer_list"), [INFO] [stderr] 983 | serde_json::json!([{"variants": answer.clone()}]) [INFO] [stderr] | ------ immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] warning: cannot borrow `ret` as mutable because it is also borrowed as immutable [INFO] [stderr] --> src/lib.rs:987:17 [INFO] [stderr] | [INFO] [stderr] 978 | if let Some(answer) = ret.get("answer") { [INFO] [stderr] | --- immutable borrow occurs here [INFO] [stderr] ... [INFO] [stderr] 987 | ret.insert( [INFO] [stderr] | ^^^ mutable borrow occurs here [INFO] [stderr] 988 | String::from("answer_list"), [INFO] [stderr] 989 | serde_json::json!([{"variants": [answer.clone()]}]) [INFO] [stderr] | ------ immutable borrow later used here [INFO] [stderr] | [INFO] [stderr] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stderr] = note: for more information, see issue #59159 [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.54s [INFO] running `"docker" "inspect" "c9b120ed1b3dc568a0fcd420c3ba1713e7f3e29ac10ec548e2e1c9f3338705ee"` [INFO] running `"docker" "rm" "-f" "c9b120ed1b3dc568a0fcd420c3ba1713e7f3e29ac10ec548e2e1c9f3338705ee"` [INFO] [stdout] c9b120ed1b3dc568a0fcd420c3ba1713e7f3e29ac10ec548e2e1c9f3338705ee [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/iafisher/popquiz:/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] f2ac460c0744884c1e9c0e48e93a028ffc65f6688a44e360406cdc1198b4998d [INFO] running `"docker" "start" "-a" "f2ac460c0744884c1e9c0e48e93a028ffc65f6688a44e360406cdc1198b4998d"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running /opt/crater/target/debug/deps/popquiz-9cee7694292aa693 [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test tests::checking_answers_works ... ok [INFO] [stdout] test tests::can_filter_by_tag ... ok [INFO] [stdout] test tests::can_filter_by_keyword ... ok [INFO] [stdout] test tests::can_expand_multiple_choice_json ... ok [INFO] [stdout] test tests::can_expand_list_answer_json ... ok [INFO] [stdout] test tests::can_expand_short_answer_json ... ok [INFO] [stdout] test tests::can_filter_by_excluding_tag ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [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] [stderr] Running /opt/crater/target/debug/deps/popquiz-b82fc05bee52c1e0 [INFO] [stderr] Doc-tests popquiz [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" "f2ac460c0744884c1e9c0e48e93a028ffc65f6688a44e360406cdc1198b4998d"` [INFO] running `"docker" "rm" "-f" "f2ac460c0744884c1e9c0e48e93a028ffc65f6688a44e360406cdc1198b4998d"` [INFO] [stdout] f2ac460c0744884c1e9c0e48e93a028ffc65f6688a44e360406cdc1198b4998d