[INFO] cloning repository https://github.com/iafisher/popquiz [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/iafisher/popquiz" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 59157bd1703b121e8e12eda068f2de3ab27da730 [INFO] checking iafisher/popquiz against master#36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 for pr-81863 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iafisher/popquiz on toolchain 36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/iafisher/popquiz [INFO] finished tweaking git repo https://github.com/iafisher/popquiz [INFO] tweaked toml for git repo https://github.com/iafisher/popquiz written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/iafisher/popquiz already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ed40c0f6c48da0bdfd8a4ecde129d9cd4c8a1005a67e7529929b1e7f1593a973 [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" "ed40c0f6c48da0bdfd8a4ecde129d9cd4c8a1005a67e7529929b1e7f1593a973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed40c0f6c48da0bdfd8a4ecde129d9cd4c8a1005a67e7529929b1e7f1593a973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed40c0f6c48da0bdfd8a4ecde129d9cd4c8a1005a67e7529929b1e7f1593a973", kill_on_drop: false }` [INFO] [stdout] ed40c0f6c48da0bdfd8a4ecde129d9cd4c8a1005a67e7529929b1e7f1593a973 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+36ecbc94eb6be90bc38b2d0fdd4bfac3f34d9923" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caaa10a15c2b0ee21ea8a500214f335fa679336d104077841b3995a0b3efb76d [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" "caaa10a15c2b0ee21ea8a500214f335fa679336d104077841b3995a0b3efb76d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Checking unicode-width v0.1.5 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Compiling nix v0.15.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking regex v1.1.9 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Checking cgmath v0.16.1 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking rustyline v4.1.0 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking drill v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/persistence.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | questions: &'a Vec>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Vec<&'a Box> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn cmp_questions_in_order(a: &&Box, b: &&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:111:56 [INFO] [stdout] | [INFO] [stdout] 111 | fn cmp_questions_in_order(a: &&Box, b: &&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 128 | fn cmp_questions_oldest_first(a: &&&Box, b: &&&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:128:62 [INFO] [stdout] | [INFO] [stdout] 128 | fn cmp_questions_oldest_first(a: &&&Box, b: &&&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `tags` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(n) = tags.get(tag.as_str()) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 476 | tags.insert(tag.as_str(), n + 1); [INFO] [stdout] | ^^^^ - immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/common.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 78 | fn cause(&self) -> Option<&error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/persistence.rs:147:17 [INFO] [stdout] | [INFO] [stdout] 147 | ) -> Result> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | questions: &'a Vec>, [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | ) -> Vec<&'a Box> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:111:36 [INFO] [stdout] | [INFO] [stdout] 111 | fn cmp_questions_in_order(a: &&Box, b: &&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:111:56 [INFO] [stdout] | [INFO] [stdout] 111 | fn cmp_questions_in_order(a: &&Box, b: &&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:128:41 [INFO] [stdout] | [INFO] [stdout] 128 | fn cmp_questions_oldest_first(a: &&&Box, b: &&&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/repetition.rs:128:62 [INFO] [stdout] | [INFO] [stdout] 128 | fn cmp_questions_oldest_first(a: &&&Box, b: &&&Box) -> cmp::Ordering { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn Question` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/e2e_tests.rs:724:9 [INFO] [stdout] | [INFO] [stdout] 724 | format!("Exit code: {:?}", result.status.code()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/e2e_tests.rs:880:13 [INFO] [stdout] | [INFO] [stdout] 880 | / format!( [INFO] [stdout] 881 | | "\n\nFailed to match {:?} against pattern {:?}\n\n", [INFO] [stdout] 882 | | got.trim(), [INFO] [stdout] 883 | | expected, [INFO] [stdout] 884 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> tests/e2e_tests.rs:889:13 [INFO] [stdout] | [INFO] [stdout] 889 | / format!( [INFO] [stdout] 890 | | "\n\nExpected:\n {:?}\n\ngot:\n {:?}\n\n", [INFO] [stdout] 891 | | expected.trim(), [INFO] [stdout] 892 | | got.trim() [INFO] [stdout] 893 | | ), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this is no longer accepted in Rust 2021 [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: cannot borrow `tags` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/main.rs:476:17 [INFO] [stdout] | [INFO] [stdout] 475 | if let Some(n) = tags.get(tag.as_str()) { [INFO] [stdout] | ---- immutable borrow occurs here [INFO] [stdout] 476 | tags.insert(tag.as_str(), n + 1); [INFO] [stdout] | ^^^^ - immutable borrow later used here [INFO] [stdout] | | [INFO] [stdout] | mutable borrow occurs here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mutable_borrow_reservation_conflict)]` on by default [INFO] [stdout] = warning: this borrowing pattern was not meant to be accepted, and may become a hard error in the future [INFO] [stdout] = note: for more information, see issue #59159 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.35s [INFO] running `Command { std: "docker" "inspect" "caaa10a15c2b0ee21ea8a500214f335fa679336d104077841b3995a0b3efb76d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caaa10a15c2b0ee21ea8a500214f335fa679336d104077841b3995a0b3efb76d", kill_on_drop: false }` [INFO] [stdout] caaa10a15c2b0ee21ea8a500214f335fa679336d104077841b3995a0b3efb76d