[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] 9995b27f1fe805185c7e36a16ac5e2473c8ea1c4 [INFO] checking smallswan/rust-by-example against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Frust-by-example" "/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/smallswan/rust-by-example on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-8/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded qrcode v0.11.2 [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e223b9c283f445003d2352ba85c97728e6ad334632f5760b06fc5b41387fe0bf [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" "e223b9c283f445003d2352ba85c97728e6ad334632f5760b06fc5b41387fe0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e223b9c283f445003d2352ba85c97728e6ad334632f5760b06fc5b41387fe0bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e223b9c283f445003d2352ba85c97728e6ad334632f5760b06fc5b41387fe0bf", kill_on_drop: false }` [INFO] [stdout] e223b9c283f445003d2352ba85c97728e6ad334632f5760b06fc5b41387fe0bf [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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1044bffa1eaf6341e9babeb9ba099dbc6f6fdcc0b7fcdc6e169f8e9053ff96d [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" "d1044bffa1eaf6341e9babeb9ba099dbc6f6fdcc0b7fcdc6e169f8e9053ff96d", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Checking cfg-if v1.0.0 [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] Checking once_cell v1.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon-core v1.7.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking qrcode v0.11.2 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking futures-executor v0.3.5 [INFO] [stderr] Checking futures v0.3.5 [INFO] [stderr] Checking serde_json v1.0.50 [INFO] [stderr] Checking rust-by-example v0.1.0 (/opt/rustwide/workdir) [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: 3 warnings emitted [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 dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "d1044bffa1eaf6341e9babeb9ba099dbc6f6fdcc0b7fcdc6e169f8e9053ff96d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1044bffa1eaf6341e9babeb9ba099dbc6f6fdcc0b7fcdc6e169f8e9053ff96d", kill_on_drop: false }` [INFO] [stdout] d1044bffa1eaf6341e9babeb9ba099dbc6f6fdcc0b7fcdc6e169f8e9053ff96d