[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] cfb82c3c3fa23b111ebf40e6aaa645b1f474db68 [INFO] checking smallswan/rust-by-example against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Frust-by-example" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smallswan/rust-by-example on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "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-11/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.50 [INFO] [stderr] Downloaded yasna v0.3.2 [INFO] [stderr] Downloaded libsm v0.4.0 [INFO] [stderr] Downloaded qrcode v0.11.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8d8f2be2bbc4ed996ec519657f6c25e48b5be82ba8d31dba30dd9ba8c39031e [INFO] running `Command { std: "docker" "start" "-a" "a8d8f2be2bbc4ed996ec519657f6c25e48b5be82ba8d31dba30dd9ba8c39031e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8d8f2be2bbc4ed996ec519657f6c25e48b5be82ba8d31dba30dd9ba8c39031e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8d8f2be2bbc4ed996ec519657f6c25e48b5be82ba8d31dba30dd9ba8c39031e", kill_on_drop: false }` [INFO] [stdout] a8d8f2be2bbc4ed996ec519657f6c25e48b5be82ba8d31dba30dd9ba8c39031e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4708ce562ab74806a050eb1695d4a35cf8d2ee0128663383d521fd5b9588ab20 [INFO] running `Command { std: "docker" "start" "-a" "4708ce562ab74806a050eb1695d4a35cf8d2ee0128663383d521fd5b9588ab20", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking bytemuck v1.2.0 [INFO] [stderr] Checking checked_int_cast v1.0.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking regex-syntax v0.6.12 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking data-encoding v2.3.2 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking tinyvec v1.2.0 [INFO] [stderr] Checking memchr v2.2.1 [INFO] [stderr] Checking bitflags v1.2.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking miniz_oxide v0.3.6 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [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-iter v0.1.42 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Checking deflate v0.8.4 [INFO] [stderr] Checking tiff v0.4.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking png v0.16.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [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 rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking regex v1.3.1 [INFO] [stderr] Checking num-complex v0.4.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 chrono v0.4.11 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking image v0.22.5 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking qrcode v0.11.2 [INFO] [stderr] Checking yasna v0.3.2 [INFO] [stderr] Checking jpeg-decoder v0.1.19 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking libsm v0.4.0 [INFO] [stderr] Checking url v2.2.1 [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] 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 toml v0.5.8 [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [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 46.35s [INFO] running `Command { std: "docker" "inspect" "4708ce562ab74806a050eb1695d4a35cf8d2ee0128663383d521fd5b9588ab20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4708ce562ab74806a050eb1695d4a35cf8d2ee0128663383d521fd5b9588ab20", kill_on_drop: false }` [INFO] [stdout] 4708ce562ab74806a050eb1695d4a35cf8d2ee0128663383d521fd5b9588ab20