[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#a5f164faad4a2fed606b8160fd7ecd2d5cbba381 for pr-84920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fiafisher%2Fpopquiz" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/iafisher/popquiz on toolchain a5f164faad4a2fed606b8160fd7ecd2d5cbba381 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "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-8/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" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 14d9099e3eac45fbdc1c0b0fe201b128479e68bc41c390659f3ac6e947f12748 [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" "14d9099e3eac45fbdc1c0b0fe201b128479e68bc41c390659f3ac6e947f12748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "14d9099e3eac45fbdc1c0b0fe201b128479e68bc41c390659f3ac6e947f12748", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "14d9099e3eac45fbdc1c0b0fe201b128479e68bc41c390659f3ac6e947f12748", kill_on_drop: false }` [INFO] [stdout] 14d9099e3eac45fbdc1c0b0fe201b128479e68bc41c390659f3ac6e947f12748 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a5f164faad4a2fed606b8160fd7ecd2d5cbba381" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 6d1df72b50a2a23029891dada2425ad663d6f4998717b3a7e8f0292769316843 [INFO] running `Command { std: "docker" "start" "-a" "6d1df72b50a2a23029891dada2425ad663d6f4998717b3a7e8f0292769316843", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.35 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Compiling winapi v0.3.7 [INFO] [stderr] Compiling nix v0.13.1 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Compiling ryu v0.2.8 [INFO] [stderr] Checking rgb v0.8.13 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking log v0.4.6 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking unicode-normalization v0.1.8 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking term_size v0.3.1 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking nix v0.15.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rustyline v4.1.0 [INFO] [stderr] Checking winconsole v0.10.0 [INFO] [stderr] Compiling serde_derive v1.0.92 [INFO] [stderr] Checking colored v1.8.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking serde_json v1.0.39 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 724 | "Exit code: {:?}", result.status.code() [INFO] [stdout] | -- -- [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [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: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 880 | [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] [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: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 889 | [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] [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: 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: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 05s [INFO] running `Command { std: "docker" "inspect" "6d1df72b50a2a23029891dada2425ad663d6f4998717b3a7e8f0292769316843", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d1df72b50a2a23029891dada2425ad663d6f4998717b3a7e8f0292769316843", kill_on_drop: false }` [INFO] [stdout] 6d1df72b50a2a23029891dada2425ad663d6f4998717b3a7e8f0292769316843