[INFO] fetching crate mycelium_core 0.1.1... [INFO] checking mycelium_core-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate mycelium_core 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate mycelium_core 0.1.1 [INFO] finished tweaking crates.io crate mycelium_core 0.1.1 [INFO] tweaked toml for crates.io crate mycelium_core 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate mycelium_core 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 70 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding fern v0.5.9 (available: v0.7.1) [INFO] [stderr] Adding remove_dir_all v0.5.3 (available: v1.0.0) [INFO] [stderr] Adding ron v0.4.2 (available: v0.10.1) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mycelium_command v0.1.1 [INFO] [stderr] Downloaded ron v0.4.2 [INFO] [stderr] Downloaded fern v0.5.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62d63dd5cb64199aa411e47118e15188ddb41115015aefd269041280c12dfa25 [INFO] running `Command { std: "docker" "start" "-a" "62d63dd5cb64199aa411e47118e15188ddb41115015aefd269041280c12dfa25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62d63dd5cb64199aa411e47118e15188ddb41115015aefd269041280c12dfa25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62d63dd5cb64199aa411e47118e15188ddb41115015aefd269041280c12dfa25", kill_on_drop: false }` [INFO] [stdout] 62d63dd5cb64199aa411e47118e15188ddb41115015aefd269041280c12dfa25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdfcfd3e3e288dce097d9c4a3748cad6838d2149a5ecdc9b0f92ee4c43899279 [INFO] running `Command { std: "docker" "start" "-a" "cdfcfd3e3e288dce097d9c4a3748cad6838d2149a5ecdc9b0f92ee4c43899279", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking iana-time-zone v0.1.63 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking ron v0.4.2 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking mycelium_command v0.1.1 [INFO] [stderr] Checking fern v0.5.9 [INFO] [stderr] Checking mycelium_core v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/tests.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => (assert!(false, format!("Failure list_tags_test(): {:?}", e))), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 44 - Err(e) => (assert!(false, format!("Failure list_tags_test(): {:?}", e))), [INFO] [stdout] 44 + Err(e) => assert!(false, format!("Failure list_tags_test(): {:?}", e)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/persistence/mod.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:454:52 [INFO] [stdout] | [INFO] [stdout] 454 | error!("Error loading tags: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:641:65 [INFO] [stdout] | [INFO] [stdout] 641 | Err(e) => panic!("File permission check failure: {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/persistence/mod.rs:88:15 [INFO] [stdout] | [INFO] [stdout] 88 | e.description() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndexType` is never used [INFO] [stdout] --> src/ephemeral/page.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum IndexType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexPage` is never constructed [INFO] [stdout] --> src/ephemeral/page.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct IndexPage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty` is never read [INFO] [stdout] --> src/ephemeral/page.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 38 | #[serde(skip)] [INFO] [stdout] 39 | dirty: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | Err(e) => panic!(format!("Poison RwLock core::p_append(): {:?}", e)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 38 - Err(e) => panic!(format!("Poison RwLock core::p_append(): {:?}", e)), [INFO] [stdout] 38 + Err(e) => panic!("Poison RwLock core::p_append(): {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => panic!(format!("Poison mutex core::p_append(): {:?}", e)), [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] 52 - Err(e) => panic!(format!("Poison mutex core::p_append(): {:?}", e)), [INFO] [stdout] 52 + Err(e) => panic!("Poison mutex core::p_append(): {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/persistence/mod.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => panic!(format!("{:?}", e)), [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] 65 - Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] 65 + Err(e) => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:454:52 [INFO] [stdout] | [INFO] [stdout] 454 | error!("Error loading tags: {}", e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:641:65 [INFO] [stdout] | [INFO] [stdout] 641 | Err(e) => panic!("File permission check failure: {}", e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `IndexType` is never used [INFO] [stdout] --> src/ephemeral/page.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) enum IndexType { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IndexPage` is never constructed [INFO] [stdout] --> src/ephemeral/page.rs:15:19 [INFO] [stdout] | [INFO] [stdout] 15 | pub(crate) struct IndexPage { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dirty` is never read [INFO] [stdout] --> src/ephemeral/page.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Page { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 38 | #[serde(skip)] [INFO] [stdout] 39 | dirty: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Page` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestItem` is never constructed [INFO] [stdout] --> src/tests.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct TestItem { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core.rs:38:26 [INFO] [stdout] | [INFO] [stdout] 38 | Err(e) => panic!(format!("Poison RwLock core::p_append(): {:?}", e)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 38 - Err(e) => panic!(format!("Poison RwLock core::p_append(): {:?}", e)), [INFO] [stdout] 38 + Err(e) => panic!("Poison RwLock core::p_append(): {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/core.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | Err(e) => panic!(format!("Poison mutex core::p_append(): {:?}", e)), [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] 52 - Err(e) => panic!(format!("Poison mutex core::p_append(): {:?}", e)), [INFO] [stdout] 52 + Err(e) => panic!("Poison mutex core::p_append(): {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/persistence/mod.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | Err(e) => panic!(format!("{:?}", e)), [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] 65 - Err(e) => panic!(format!("{:?}", e)), [INFO] [stdout] 65 + Err(e) => panic!("{:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:44:35 [INFO] [stdout] | [INFO] [stdout] 44 | Err(e) => (assert!(false, format!("Failure list_tags_test(): {:?}", e))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 44 - Err(e) => (assert!(false, format!("Failure list_tags_test(): {:?}", e))), [INFO] [stdout] 44 + Err(e) => (assert!(false, "Failure list_tags_test(): {:?}", e)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/tests.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | Err(e) => assert!(false, format!("Failure refresh_test(): {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 69 - Err(e) => assert!(false, format!("Failure refresh_test(): {:?}", e)), [INFO] [stdout] 69 + Err(e) => assert!(false, "Failure refresh_test(): {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.85s [INFO] running `Command { std: "docker" "inspect" "cdfcfd3e3e288dce097d9c4a3748cad6838d2149a5ecdc9b0f92ee4c43899279", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdfcfd3e3e288dce097d9c4a3748cad6838d2149a5ecdc9b0f92ee4c43899279", kill_on_drop: false }` [INFO] [stdout] cdfcfd3e3e288dce097d9c4a3748cad6838d2149a5ecdc9b0f92ee4c43899279