[INFO] fetching crate spaced-repetition 1.1.0... [INFO] testing spaced-repetition-1.1.0 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] extracting crate spaced-repetition 1.1.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spaced-repetition 1.1.0 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 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f860b222ba03a0e8a1d8bbc2dfd856824ed7aaae7d34d8728fcc1fe7d3112d48 [INFO] running `Command { std: "docker" "start" "-a" "f860b222ba03a0e8a1d8bbc2dfd856824ed7aaae7d34d8728fcc1fe7d3112d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f860b222ba03a0e8a1d8bbc2dfd856824ed7aaae7d34d8728fcc1fe7d3112d48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f860b222ba03a0e8a1d8bbc2dfd856824ed7aaae7d34d8728fcc1fe7d3112d48", kill_on_drop: false }` [INFO] [stdout] f860b222ba03a0e8a1d8bbc2dfd856824ed7aaae7d34d8728fcc1fe7d3112d48 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff42387c9e1c9766c53267b872875744656e22fce59b275e4afb9134eb51fbea [INFO] running `Command { std: "docker" "start" "-a" "ff42387c9e1c9766c53267b872875744656e22fce59b275e4afb9134eb51fbea", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.51s [INFO] running `Command { std: "docker" "inspect" "ff42387c9e1c9766c53267b872875744656e22fce59b275e4afb9134eb51fbea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff42387c9e1c9766c53267b872875744656e22fce59b275e4afb9134eb51fbea", kill_on_drop: false }` [INFO] [stdout] ff42387c9e1c9766c53267b872875744656e22fce59b275e4afb9134eb51fbea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3af4ce359e52ae6b07918c4a9569f8c4d365e1cb6fb0abb856769d07469eab64 [INFO] running `Command { std: "docker" "start" "-a" "3af4ce359e52ae6b07918c4a9569f8c4d365e1cb6fb0abb856769d07469eab64", kill_on_drop: false }` [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling 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 `test` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "3af4ce359e52ae6b07918c4a9569f8c4d365e1cb6fb0abb856769d07469eab64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3af4ce359e52ae6b07918c4a9569f8c4d365e1cb6fb0abb856769d07469eab64", kill_on_drop: false }` [INFO] [stdout] 3af4ce359e52ae6b07918c4a9569f8c4d365e1cb6fb0abb856769d07469eab64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 090cadacdb21ad4f7037d38a7d5978ea0f1d7927b45e0a08bdf87eca0100d67d [INFO] running `Command { std: "docker" "start" "-a" "090cadacdb21ad4f7037d38a7d5978ea0f1d7927b45e0a08bdf87eca0100d67d", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition name: `serde` [INFO] [stderr] --> src/lib.rs:10:7 [INFO] [stderr] | [INFO] [stderr] 10 | #[cfg(serde)] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stderr] | [INFO] [stderr] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `serde` [INFO] [stderr] --> src/lib.rs:19:12 [INFO] [stderr] | [INFO] [stderr] 19 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `serde` [INFO] [stderr] --> src/lib.rs:312:12 [INFO] [stderr] | [INFO] [stderr] 312 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `serde` [INFO] [stderr] --> src/lib.rs:434:12 [INFO] [stderr] | [INFO] [stderr] 434 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition name: `serde` [INFO] [stderr] --> src/lib.rs:477:12 [INFO] [stderr] | [INFO] [stderr] 477 | #[cfg_attr(serde, derive(Serialize, Deserialize))] [INFO] [stderr] | ^^^^^ help: found config with similar value: `feature = "serde"` [INFO] [stderr] | [INFO] [stderr] = help: consider using a Cargo feature instead [INFO] [stderr] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stderr] [lints.rust] [INFO] [stderr] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(serde)'] } [INFO] [stderr] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(serde)");` to the top of the `build.rs` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::DateTime::::from_utc`: Use TimeZone::from_utc_datetime() or DateTime::from_naive_utc_and_offset instead [INFO] [stderr] --> src/tests.rs:29:22 [INFO] [stderr] | [INFO] [stderr] 29 | DateTime::::from_utc( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveDate::from_ymd`: use `from_ymd_opt()` instead [INFO] [stderr] --> src/tests.rs:31:24 [INFO] [stderr] | [INFO] [stderr] 31 | NaiveDate::from_ymd(2000, 1, 1), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `chrono::NaiveTime::from_hms`: use `from_hms_opt()` instead [INFO] [stderr] --> src/tests.rs:32:24 [INFO] [stderr] | [INFO] [stderr] 32 | NaiveTime::from_hms(1, 0, 0), [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `spaced-repetition` (lib) generated 5 warnings [INFO] [stderr] warning: `spaced-repetition` (lib test) generated 8 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/spaced_repetition-8862aa7c66c3bfec) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test tests::test_learning_phase_easy ... ok [INFO] [stdout] test tests::test_learning_phase_hard ... ok [INFO] [stdout] test tests::test_early_repetitions ... ok [INFO] [stdout] test tests::test_jitter ... ok [INFO] [stdout] test tests::test_learning_phase_normal ... ok [INFO] [stdout] test tests::test_reviewing_phase ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests spaced_repetition [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "090cadacdb21ad4f7037d38a7d5978ea0f1d7927b45e0a08bdf87eca0100d67d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "090cadacdb21ad4f7037d38a7d5978ea0f1d7927b45e0a08bdf87eca0100d67d", kill_on_drop: false }` [INFO] [stdout] 090cadacdb21ad4f7037d38a7d5978ea0f1d7927b45e0a08bdf87eca0100d67d