[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] checking smallswan/rust-by-example against try#3bb2879ea9e58d65b875f9a98df44f4a43ce2597 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Frust-by-example" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smallswan/rust-by-example on toolchain 3bb2879ea9e58d65b875f9a98df44f4a43ce2597 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "fetch" "--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-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "metadata" "--no-deps" "--format-version=1", 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] a2a17dbc7edbbf19fae064d530af7d9badc265ca957ad3d2a6e8a3f34520331b [INFO] running `Command { std: "docker" "start" "-a" "a2a17dbc7edbbf19fae064d530af7d9badc265ca957ad3d2a6e8a3f34520331b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2a17dbc7edbbf19fae064d530af7d9badc265ca957ad3d2a6e8a3f34520331b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2a17dbc7edbbf19fae064d530af7d9badc265ca957ad3d2a6e8a3f34520331b", kill_on_drop: false }` [INFO] [stdout] a2a17dbc7edbbf19fae064d530af7d9badc265ca957ad3d2a6e8a3f34520331b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+3bb2879ea9e58d65b875f9a98df44f4a43ce2597" "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] 1388f0f308e92347680c558c39aac13ee42ef1e15626d7d80bdf7561aacd29fa [INFO] running `Command { std: "docker" "start" "-a" "1388f0f308e92347680c558c39aac13ee42ef1e15626d7d80bdf7561aacd29fa", kill_on_drop: false }` [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Compiling memoffset v0.5.4 [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 itertools v0.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.1.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Checking crossbeam-epoch v0.8.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-queue v0.3.1 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking qrcode v0.11.2 [INFO] [stderr] Checking crossbeam v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking image v0.23.4 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [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] 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 38.02s [INFO] running `Command { std: "docker" "inspect" "1388f0f308e92347680c558c39aac13ee42ef1e15626d7d80bdf7561aacd29fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1388f0f308e92347680c558c39aac13ee42ef1e15626d7d80bdf7561aacd29fa", kill_on_drop: false }` [INFO] [stdout] 1388f0f308e92347680c558c39aac13ee42ef1e15626d7d80bdf7561aacd29fa