[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] testing smallswan/rust-by-example against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsmallswan%2Frust-by-example" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/smallswan/rust-by-example on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-22/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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb1529cc3703b42614cf47f4107e5abce5bb5df44f46ac995672eac33fef2fa4 [INFO] running `Command { std: "docker" "start" "-a" "fb1529cc3703b42614cf47f4107e5abce5bb5df44f46ac995672eac33fef2fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb1529cc3703b42614cf47f4107e5abce5bb5df44f46ac995672eac33fef2fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb1529cc3703b42614cf47f4107e5abce5bb5df44f46ac995672eac33fef2fa4", kill_on_drop: false }` [INFO] [stdout] fb1529cc3703b42614cf47f4107e5abce5bb5df44f46ac995672eac33fef2fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eeaa0734c2177568fde5e617b2149ea44e837130e85686bbd0a53a53c838b78c [INFO] running `Command { std: "docker" "start" "-a" "eeaa0734c2177568fde5e617b2149ea44e837130e85686bbd0a53a53c838b78c", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling const_fn v0.4.5 [INFO] [stderr] Compiling once_cell v1.7.2 [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] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling checked_int_cast v1.0.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling bytemuck v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling rust-crypto v0.2.36 [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-utils v0.8.1 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [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.4.0 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling deflate v0.8.4 [INFO] [stderr] Compiling tiff v0.4.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling png v0.16.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.1 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling image v0.22.5 [INFO] [stderr] Compiling crossbeam v0.8.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling yasna v0.3.2 [INFO] [stderr] Compiling qrcode v0.11.2 [INFO] [stderr] Compiling libsm v0.4.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.19 [INFO] [stderr] Compiling image v0.23.4 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.5 [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 futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling toml v0.5.8 [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_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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.98s [INFO] running `Command { std: "docker" "inspect" "eeaa0734c2177568fde5e617b2149ea44e837130e85686bbd0a53a53c838b78c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eeaa0734c2177568fde5e617b2149ea44e837130e85686bbd0a53a53c838b78c", kill_on_drop: false }` [INFO] [stdout] eeaa0734c2177568fde5e617b2149ea44e837130e85686bbd0a53a53c838b78c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db7d19ee9b1627cf8ebe711f305f7baa2ed64dd86f591c51e784d759b71757fe [INFO] running `Command { std: "docker" "start" "-a" "db7d19ee9b1627cf8ebe711f305f7baa2ed64dd86f591c51e784d759b71757fe", 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_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: field is never read: `value` [INFO] [stdout] --> src/lib.rs:334:9 [INFO] [stdout] | [INFO] [stdout] 334 | value: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:332:14 [INFO] [stdout] | [INFO] [stdout] 332 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `children` [INFO] [stdout] --> src/lib.rs:336:9 [INFO] [stdout] | [INFO] [stdout] 336 | children: RefCell>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/lib.rs:332:14 [INFO] [stdout] | [INFO] [stdout] 332 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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] [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: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.56s [INFO] running `Command { std: "docker" "inspect" "db7d19ee9b1627cf8ebe711f305f7baa2ed64dd86f591c51e784d759b71757fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7d19ee9b1627cf8ebe711f305f7baa2ed64dd86f591c51e784d759b71757fe", kill_on_drop: false }` [INFO] [stdout] db7d19ee9b1627cf8ebe711f305f7baa2ed64dd86f591c51e784d759b71757fe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 67181a181a90e9be331626515a8115aa38488b0497e99c2fe8ea9e2dd617ba0f [INFO] running `Command { std: "docker" "start" "-a" "67181a181a90e9be331626515a8115aa38488b0497e99c2fe8ea9e2dd617ba0f", kill_on_drop: false }` [INFO] [stderr] warning: field is never read: `value` [INFO] [stderr] --> src/lib.rs:334:9 [INFO] [stderr] | [INFO] [stderr] 334 | value: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:332:14 [INFO] [stderr] | [INFO] [stderr] 332 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `children` [INFO] [stderr] --> src/lib.rs:336:9 [INFO] [stderr] | [INFO] [stderr] 336 | children: RefCell>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/lib.rs:332:14 [INFO] [stderr] | [INFO] [stderr] 332 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rust-by-example` (lib test) generated 2 warnings [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] [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_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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 usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [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: `rust-by-example` (bin "rust-by-example" test) generated 4 warnings [INFO] [stderr] warning: `rust-by-example` (bin "rust-by-example") generated 3 warnings (3 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_by_example-c7aeb037bf7c7c60) [INFO] [stdout] [INFO] [stdout] running 16 tests [INFO] [stdout] test tests::demo_box ... ok [INFO] [stdout] test tests::for_iterator ... ok [INFO] [stdout] test tests::drop_trait_demo ... ok [INFO] [stdout] test tests::hof ... ok [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test tests::it_sends_an_over_75_percent_warning_message ... 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::rc_rcfcell ... ok [INFO] [stdout] test tests::rc_demo ... ok [INFO] [stdout] test tests::read_file_lines ... ok [INFO] [stdout] test tests::reference_cycles ... ok [INFO] [stdout] test tests::return_result ... ok [INFO] [stdout] test tests::qrcode_image ... ok [INFO] [stdout] test tests::another - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/rust_by_example-df7d57ef1f7f892d) [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test asyncprogram::demo ... ok [INFO] [stdout] test closures::iter_adaptors ... ok [INFO] [stdout] test datetime::cal ... ok [INFO] [stdout] test datetime::formatting_and_parsing ... ok [INFO] [stdout] test dfa::sub_str ... ok [INFO] [stdout] test easyrust::collections_std ... ok [INFO] [stdout] test dfa::set_iter ... ok [INFO] [stdout] test concurrent::understand_channel_and_condvar ... ok [INFO] [stdout] test secret::base64_demo ... ok [INFO] [stdout] test secret::derive_demo ... ok [INFO] [stdout] test random::tests::first_demo ... ok [INFO] [stdout] test secret::big_int ... ok [INFO] [stdout] test secret::hex_encode ... ok [INFO] [stdout] test secret::alipay_sign ... ok [INFO] [stdout] test random::tests::rand_demo2 ... ok [INFO] [stdout] test secret::percent_encode ... ok [INFO] [stdout] test secret::rust_analyzer_demo ... ok [INFO] [stdout] test dfa::read_file ... ok [INFO] [stdout] test secret::sm ... ok [INFO] [stdout] test serializing::generic_type ... ok [INFO] [stdout] test serializing::attr_flatten ... ok [INFO] [stdout] test serializing::marco_json_demo ... ok [INFO] [stdout] test serializing::ser_de_demo ... ok [INFO] [stdout] test serializing::json_file ... ok [INFO] [stdout] test serializing::three_ways_use_json ... ok [INFO] [stdout] test serializing::toml_example ... ok [INFO] [stdout] test smartpointer::arc_demo ... ok [INFO] [stdout] test easyrust::helpful_methods_for_iterators_and_closure ... ok [INFO] [stdout] test validators::tests::identifiers_test ... ok [INFO] [stdout] test validators::tests::money_test ... ok [INFO] [stdout] test validators::tests::regex_demo ... ok [INFO] [stdout] test validators::tests::id_cards_test ... ok [INFO] [stdout] test secret::rust_crypt ... ok [INFO] [stdout] test concurrent::rayon_par ... ok [INFO] [stdout] test concurrent::work_stealing_demo ... ok [INFO] [stdout] test snowflake::elapse_test ... ok [INFO] [stdout] test closures::closure_demo ... ok [INFO] [stdout] test concurrent::move_ref_to_thread ... ok [INFO] [stdout] test secret::pbkdf2 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 3.52s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-7fce6de5d7a92967) [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 - add (line 430) ... ok [INFO] [stdout] test src/lib.rs - div (line 444) ... 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 0.59s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "67181a181a90e9be331626515a8115aa38488b0497e99c2fe8ea9e2dd617ba0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "67181a181a90e9be331626515a8115aa38488b0497e99c2fe8ea9e2dd617ba0f", kill_on_drop: false }` [INFO] [stdout] 67181a181a90e9be331626515a8115aa38488b0497e99c2fe8ea9e2dd617ba0f