[INFO] cloning repository https://github.com/smallswan/rust-by-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/smallswan/rust-by-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Frust-by-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Frust-by-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eddfef8b1b472bab15eae51ef46546453c61f704 [INFO] testing smallswan/rust-by-example against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Frust-by-example" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smallswan/rust-by-example on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/smallswan/rust-by-example [INFO] finished tweaking git repo https://github.com/smallswan/rust-by-example [INFO] tweaked toml for git repo https://github.com/smallswan/rust-by-example written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/smallswan/rust-by-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 563d679a53cbd8380d6dcc98b9e64afa52ab3ecaf35a08943db35e7ded04ca4f [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" "563d679a53cbd8380d6dcc98b9e64afa52ab3ecaf35a08943db35e7ded04ca4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "563d679a53cbd8380d6dcc98b9e64afa52ab3ecaf35a08943db35e7ded04ca4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "563d679a53cbd8380d6dcc98b9e64afa52ab3ecaf35a08943db35e7ded04ca4f", kill_on_drop: false }` [INFO] [stdout] 563d679a53cbd8380d6dcc98b9e64afa52ab3ecaf35a08943db35e7ded04ca4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc310e66e95a84bdb003abf9402cbde63e9fae365e91df6fcf185da68ef9062d [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" "fc310e66e95a84bdb003abf9402cbde63e9fae365e91df6fcf185da68ef9062d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling qrcode v0.11.2 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling rust-by-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 25 | | "worker Id can't be greater than {} or less than 0", [INFO] [stdout] 26 | | worker_id [INFO] [stdout] 27 | | )); [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] 24 | panic!( [INFO] [stdout] 25 | "worker Id can't be greater than {} or less than 0", [INFO] [stdout] 26 | worker_id [INFO] [stdout] 27 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | "datacenter Id can't be greater than {} or less than 0", [INFO] [stdout] 33 | | data_center_id [INFO] [stdout] 34 | | )); [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] 31 | panic!( [INFO] [stdout] 32 | "datacenter Id can't be greater than {} or less than 0", [INFO] [stdout] 33 | data_center_id [INFO] [stdout] 34 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 50 | | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stdout] 51 | | self.last_timestamp - timestamp [INFO] [stdout] 52 | | )); [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] 49 | panic!( [INFO] [stdout] 50 | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stdout] 51 | self.last_timestamp - timestamp [INFO] [stdout] 52 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 28s [INFO] running `Command { std: "docker" "inspect" "fc310e66e95a84bdb003abf9402cbde63e9fae365e91df6fcf185da68ef9062d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc310e66e95a84bdb003abf9402cbde63e9fae365e91df6fcf185da68ef9062d", kill_on_drop: false }` [INFO] [stdout] fc310e66e95a84bdb003abf9402cbde63e9fae365e91df6fcf185da68ef9062d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8053c9b7c62d9fc0507ec7d9491bf20efe345b4234940f265fa2891c168d5903 [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" "8053c9b7c62d9fc0507ec7d9491bf20efe345b4234940f265fa2891c168d5903", kill_on_drop: false }` [INFO] [stderr] Compiling rust-by-example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 25 | | "worker Id can't be greater than {} or less than 0", [INFO] [stdout] 26 | | worker_id [INFO] [stdout] 27 | | )); [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] 24 | panic!( [INFO] [stdout] 25 | "worker Id can't be greater than {} or less than 0", [INFO] [stdout] 26 | worker_id [INFO] [stdout] 27 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | "datacenter Id can't be greater than {} or less than 0", [INFO] [stdout] 33 | | data_center_id [INFO] [stdout] 34 | | )); [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] 31 | panic!( [INFO] [stdout] 32 | "datacenter Id can't be greater than {} or less than 0", [INFO] [stdout] 33 | data_center_id [INFO] [stdout] 34 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 50 | | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stdout] 51 | | self.last_timestamp - timestamp [INFO] [stdout] 52 | | )); [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] 49 | panic!( [INFO] [stdout] 50 | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stdout] 51 | self.last_timestamp - timestamp [INFO] [stdout] 52 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: an associated function with this name may be added to the standard library in the future [INFO] [stdout] --> src/closures.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | itertools::assert_equal((0..3).intersperse(8), vec![0, 8, 1, 8, 2]); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:24:20 [INFO] [stdout] | [INFO] [stdout] 24 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 25 | | "worker Id can't be greater than {} or less than 0", [INFO] [stdout] 26 | | worker_id [INFO] [stdout] 27 | | )); [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] 24 | panic!( [INFO] [stdout] 25 | "worker Id can't be greater than {} or less than 0", [INFO] [stdout] 26 | worker_id [INFO] [stdout] 27 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 32 | | "datacenter Id can't be greater than {} or less than 0", [INFO] [stdout] 33 | | data_center_id [INFO] [stdout] 34 | | )); [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] 31 | panic!( [INFO] [stdout] 32 | "datacenter Id can't be greater than {} or less than 0", [INFO] [stdout] 33 | data_center_id [INFO] [stdout] 34 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/snowflake.rs:49:20 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 50 | | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stdout] 51 | | self.last_timestamp - timestamp [INFO] [stdout] 52 | | )); [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] 49 | panic!( [INFO] [stdout] 50 | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stdout] 51 | self.last_timestamp - timestamp [INFO] [stdout] 52 | ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 13.81s [INFO] running `Command { std: "docker" "inspect" "8053c9b7c62d9fc0507ec7d9491bf20efe345b4234940f265fa2891c168d5903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8053c9b7c62d9fc0507ec7d9491bf20efe345b4234940f265fa2891c168d5903", kill_on_drop: false }` [INFO] [stdout] 8053c9b7c62d9fc0507ec7d9491bf20efe345b4234940f265fa2891c168d5903 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", 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] 7c0d7c7fc70c7eb72a194780329c10c4e8e91d87f9d54fbb8ecc1599466f719f [INFO] running `Command { std: "docker" "start" "-a" "7c0d7c7fc70c7eb72a194780329c10c4e8e91d87f9d54fbb8ecc1599466f719f", kill_on_drop: false }` [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/snowflake.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 25 | | "worker Id can't be greater than {} or less than 0", [INFO] [stderr] 26 | | worker_id [INFO] [stderr] 27 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 24 | panic!( [INFO] [stderr] 25 | "worker Id can't be greater than {} or less than 0", [INFO] [stderr] 26 | worker_id [INFO] [stderr] 27 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/snowflake.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 32 | | "datacenter Id can't be greater than {} or less than 0", [INFO] [stderr] 33 | | data_center_id [INFO] [stderr] 34 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 31 | panic!( [INFO] [stderr] 32 | "datacenter Id can't be greater than {} or less than 0", [INFO] [stderr] 33 | data_center_id [INFO] [stderr] 34 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/snowflake.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 50 | | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stderr] 51 | | self.last_timestamp - timestamp [INFO] [stderr] 52 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 49 | panic!( [INFO] [stderr] 50 | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stderr] 51 | self.last_timestamp - timestamp [INFO] [stderr] 52 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 3 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: an associated function with this name may be added to the standard library in the future [INFO] [stderr] --> src/closures.rs:146:36 [INFO] [stderr] | [INFO] [stderr] 146 | itertools::assert_equal((0..3).intersperse(8), vec![0, 8, 1, 8, 2]); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stderr] = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stderr] = note: for more information, see issue #48919 [INFO] [stderr] = help: call with fully qualified syntax `itertools::Itertools::intersperse(...)` to keep using the current method [INFO] [stderr] = help: add `#![feature(iter_intersperse)]` to the crate attributes to enable `std::iter::Iterator::intersperse` [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/snowflake.rs:24:20 [INFO] [stderr] | [INFO] [stderr] 24 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 25 | | "worker Id can't be greater than {} or less than 0", [INFO] [stderr] 26 | | worker_id [INFO] [stderr] 27 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panic)]` on by default [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 24 | panic!( [INFO] [stderr] 25 | "worker Id can't be greater than {} or less than 0", [INFO] [stderr] 26 | worker_id [INFO] [stderr] 27 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/snowflake.rs:31:20 [INFO] [stderr] | [INFO] [stderr] 31 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 32 | | "datacenter Id can't be greater than {} or less than 0", [INFO] [stderr] 33 | | data_center_id [INFO] [stderr] 34 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 31 | panic!( [INFO] [stderr] 32 | "datacenter Id can't be greater than {} or less than 0", [INFO] [stderr] 33 | data_center_id [INFO] [stderr] 34 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/snowflake.rs:49:20 [INFO] [stderr] | [INFO] [stderr] 49 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 50 | | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stderr] 51 | | self.last_timestamp - timestamp [INFO] [stderr] 52 | | )); [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this is no longer accepted in Rust 2021 [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 49 | panic!( [INFO] [stderr] 50 | "Clock moved backwards. Refusing to generate id for {} milliseconds", [INFO] [stderr] 51 | self.last_timestamp - timestamp [INFO] [stderr] 52 | ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 4 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_by_example-293352dd873ebf46) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test tests::drop_trait_demo ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test tests::leaf_node ... ok [INFO] [stdout] test tests::os_test ... ok [INFO] [stdout] test tests::rc ... ok [INFO] [stdout] test tests::it_sends_an_over_75_percent_warning_message ... ok [INFO] [stdout] test tests::hof ... ok [INFO] [stdout] test tests::demo_box ... ok [INFO] [stdout] test tests::for_iterator ... ok [INFO] [stdout] test tests::reference_cycles ... ok [INFO] [stdout] test tests::read_file_lines ... ok [INFO] [stdout] test tests::rc_demo ... ok [INFO] [stdout] test tests::qrcode_image ... ok [INFO] [stdout] test tests::rc_rcfcell ... ok [INFO] [stdout] test tests::return_result ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_by_example-42548e651ef2871b) [INFO] [stdout] test tests::another ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.11s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 30 tests [INFO] [stdout] test asyncprogram::demo ... ok [INFO] [stdout] test closures::iter_adaptors ... ok [INFO] [stdout] test random::tests::rand_demo2 ... ok [INFO] [stdout] test random::tests::first_demo ... ok [INFO] [stdout] test secret::rust_analyzer_demo ... ok [INFO] [stdout] test easyrust::collections_std ... ok [INFO] [stdout] test secret::derive_demo ... ok [INFO] [stdout] test dfa::set_iter ... ok [INFO] [stdout] test dfa::sub_str ... ok [INFO] [stdout] test serializing::attr_flatten ... ok [INFO] [stdout] test easyrust::helpful_methods_for_iterators_and_closure ... ok [INFO] [stdout] test serializing::three_ways_use_json ... ok [INFO] [stdout] test concurrent::rayon_par ... ok [INFO] [stdout] test concurrent::work_stealing_demo ... ok [INFO] [stdout] test dfa::read_file ... ok [INFO] [stdout] test serializing::generic_type ... ok [INFO] [stdout] test secret::rust_crypt ... ok [INFO] [stdout] test serializing::ser_de_demo ... ok [INFO] [stdout] test serializing::marco_json_demo ... ok [INFO] [stdout] test secret::alipay_sign ... ok [INFO] [stdout] test serializing::json_file ... ok [INFO] [stdout] test smartpointer::arc_demo ... ok [INFO] [stdout] test concurrent::understand_channel_and_condvar ... ok [INFO] [stdout] test validators::tests::identifiers_test ... ok [INFO] [stdout] test validators::tests::regex_demo ... ok [INFO] [stdout] test validators::tests::money_test ... ok [INFO] [stdout] test validators::tests::id_cards_test ... ok [INFO] [stdout] test snowflake::elapse_test ... ok [INFO] [stdout] test closures::closure_demo ... ok [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-d6f7a54c5625409a) [INFO] [stdout] test concurrent::move_ref_to_thread ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test sensitive_word ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests rust-by-example [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test src/lib.rs - div (line 444) ... ok [INFO] [stdout] test src/lib.rs - add (line 430) ... ok [INFO] [stdout] test src/lib.rs - div (line 453) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.61s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "7c0d7c7fc70c7eb72a194780329c10c4e8e91d87f9d54fbb8ecc1599466f719f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c0d7c7fc70c7eb72a194780329c10c4e8e91d87f9d54fbb8ecc1599466f719f", kill_on_drop: false }` [INFO] [stdout] 7c0d7c7fc70c7eb72a194780329c10c4e8e91d87f9d54fbb8ecc1599466f719f