[INFO] fetching crate tinytime 0.14.3... [INFO] checking tinytime-0.14.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate tinytime 0.14.3 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate tinytime 0.14.3 [INFO] finished tweaking crates.io crate tinytime 0.14.3 [INFO] tweaked toml for crates.io crate tinytime 0.14.3 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tinytime 0.14.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tinytime 0.14.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 129ccd713aa181b275f6a9d0698073f1b0d502342fac554f69dc7a3a59609ea0 [INFO] running `Command { std: "docker" "start" "-a" "129ccd713aa181b275f6a9d0698073f1b0d502342fac554f69dc7a3a59609ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "129ccd713aa181b275f6a9d0698073f1b0d502342fac554f69dc7a3a59609ea0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "129ccd713aa181b275f6a9d0698073f1b0d502342fac554f69dc7a3a59609ea0", kill_on_drop: false }` [INFO] [stdout] 129ccd713aa181b275f6a9d0698073f1b0d502342fac554f69dc7a3a59609ea0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e99eb9a699a8923c0b4000b5e678c2b6f8ed59a3b36c1a91ca29e68ba2a9475a [INFO] running `Command { std: "docker" "start" "-a" "e99eb9a699a8923c0b4000b5e678c2b6f8ed59a3b36c1a91ca29e68ba2a9475a", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling virtue v0.0.18 [INFO] [stderr] Checking unty v0.0.4 [INFO] [stderr] Checking tinytime v0.14.3 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bincode_derive v2.0.1 [INFO] [stderr] Checking bincode v2.0.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stdout] warning: extern crate `bincode` is unused in crate `tinytime` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use bincode as _;` to the crate root [INFO] [stdout] = note: requested on the command line with `-W unused-crate-dependencies` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: extern crate `serde_json` is unused in crate `tinytime` [INFO] [stdout] | [INFO] [stdout] = help: remove the dependency or add `use serde_json as _;` to the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `to_rfc3339` found for struct `Time` in the current scope [INFO] [stdout] --> src/lib.rs:1545:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Time(i64); [INFO] [stdout] | --------------- method `to_rfc3339` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1545 | test.input.to_rfc3339(), [INFO] [stdout] | ^^^^^^^^^^ method not found in `Time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `format` found for struct `Time` in the current scope [INFO] [stdout] --> src/lib.rs:1551:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct Time(i64); [INFO] [stdout] | --------------- method `format` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 1551 | test.input.format("%Y-%m-%dT%H:%M:%S+00:00").to_string(), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `fmt` with a similar name [INFO] [stdout] | [INFO] [stdout] 1551 - test.input.format("%Y-%m-%dT%H:%M:%S+00:00").to_string(), [INFO] [stdout] 1551 + test.input.fmt("%Y-%m-%dT%H:%M:%S+00:00").to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `TimeWindow` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:1671:53 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct TimeWindow { [INFO] [stdout] | --------------------- method `to_string` not found for this struct because it doesn't satisfy `TimeWindow: ToString` or `TimeWindow: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 1671 | TimeWindow::new(Time::EPOCH, Time::MAX).to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `TimeWindow` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TimeWindow: std::fmt::Display` [INFO] [stdout] which is required by `TimeWindow: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/fmt/mod.rs:1003:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: `TimeWindow` doesn't implement `std::fmt::Display` [INFO] [stdout] --> src/lib.rs:1675:78 [INFO] [stdout] | [INFO] [stdout] 329 | pub struct TimeWindow { [INFO] [stdout] | --------------------- method `to_string` not found for this struct because it doesn't satisfy `TimeWindow: ToString` or `TimeWindow: std::fmt::Display` [INFO] [stdout] ... [INFO] [stdout] 1675 | TimeWindow::new(Time::hours(1), Time::millis(1_707_238_427_962)).to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `TimeWindow` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `TimeWindow: std::fmt::Display` [INFO] [stdout] which is required by `TimeWindow: ToString` [INFO] [stdout] note: the trait `std::fmt::Display` must be implemented [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/core/src/fmt/mod.rs:1003:1 [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `to_string`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `ToString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tinytime` (lib test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e99eb9a699a8923c0b4000b5e678c2b6f8ed59a3b36c1a91ca29e68ba2a9475a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e99eb9a699a8923c0b4000b5e678c2b6f8ed59a3b36c1a91ca29e68ba2a9475a", kill_on_drop: false }` [INFO] [stdout] e99eb9a699a8923c0b4000b5e678c2b6f8ed59a3b36c1a91ca29e68ba2a9475a