[INFO] fetching crate spaced-repetition 1.1.0... [INFO] checking spaced-repetition-1.1.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate spaced-repetition 1.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate spaced-repetition 1.1.0 [INFO] finished tweaking crates.io crate spaced-repetition 1.1.0 [INFO] tweaked toml for crates.io crate spaced-repetition 1.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spaced-repetition 1.1.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 45 packages to latest compatible versions [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.2) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding rand_distr v0.4.3 (available: v0.5.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d07531717dac7778708596d97bd366c58d08b1d3a8af4ec4d5cc781778b32407 [INFO] running `Command { std: "docker" "start" "-a" "d07531717dac7778708596d97bd366c58d08b1d3a8af4ec4d5cc781778b32407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d07531717dac7778708596d97bd366c58d08b1d3a8af4ec4d5cc781778b32407", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d07531717dac7778708596d97bd366c58d08b1d3a8af4ec4d5cc781778b32407", kill_on_drop: false }` [INFO] [stdout] d07531717dac7778708596d97bd366c58d08b1d3a8af4ec4d5cc781778b32407 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9c8788aac4c4b8b97350e0536e91878c99989a1163c680575ba2d369dcef6d6 [INFO] running `Command { std: "docker" "start" "-a" "c9c8788aac4c4b8b97350e0536e91878c99989a1163c680575ba2d369dcef6d6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking spaced-repetition v1.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 477 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(serde)] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:312:12 [INFO] [stdout] | [INFO] [stdout] 312 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:434:12 [INFO] [stdout] | [INFO] [stdout] 434 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `serde` [INFO] [stdout] --> src/lib.rs:477:12 [INFO] [stdout] | [INFO] [stdout] 477 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stdout] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stdout] --> src/tests.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | DateTime::::from_utc( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stdout] --> src/tests.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | NaiveDate::from_ymd(2000, 1, 1), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stdout] --> src/tests.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | NaiveTime::from_hms(1, 0, 0), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.17s [INFO] running `Command { std: "docker" "inspect" "c9c8788aac4c4b8b97350e0536e91878c99989a1163c680575ba2d369dcef6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c8788aac4c4b8b97350e0536e91878c99989a1163c680575ba2d369dcef6d6", kill_on_drop: false }` [INFO] [stdout] c9c8788aac4c4b8b97350e0536e91878c99989a1163c680575ba2d369dcef6d6