[INFO] cloning repository https://github.com/thorncp/scrummin-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thorncp/scrummin-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorncp%2Fscrummin-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorncp%2Fscrummin-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2a383498d90400454aabf7fe4c20442b39796c5f [INFO] checking thorncp/scrummin-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorncp%2Fscrummin-rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thorncp/scrummin-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thorncp/scrummin-rs [INFO] finished tweaking git repo https://github.com/thorncp/scrummin-rs [INFO] tweaked toml for git repo https://github.com/thorncp/scrummin-rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/thorncp/scrummin-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/lifthrasiir/rust-chrono` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/lifthrasiir/rust-chrono` [INFO] [stderr] warning: fetching `master` branch from `https://github.com/lifthrasiir/rust-chrono` but the `HEAD` reference for this repository is not the `master` branch. This behavior will change in Cargo in the future and your build may break, so it's recommended to place `branch = "master"` in Cargo.toml when depending on this git repository to ensure that your build will continue to work. [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 202e6d81dc8c37b449b33ae84c691a22ae316c4448c225954c6d81d302ebc380 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "202e6d81dc8c37b449b33ae84c691a22ae316c4448c225954c6d81d302ebc380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "202e6d81dc8c37b449b33ae84c691a22ae316c4448c225954c6d81d302ebc380", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "202e6d81dc8c37b449b33ae84c691a22ae316c4448c225954c6d81d302ebc380", kill_on_drop: false }` [INFO] [stdout] 202e6d81dc8c37b449b33ae84c691a22ae316c4448c225954c6d81d302ebc380 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46466a4994c0f7674388da97dd3806161fe72793de7210f3197bdc331068ba4c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "46466a4994c0f7674388da97dd3806161fe72793de7210f3197bdc331068ba4c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.13 (https://github.com/lifthrasiir/rust-chrono#130253ef) [INFO] [stderr] Checking scrummin v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, UTC}; [INFO] [stdout] | ^^^ no `UTC` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/lib.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rand::{task_rng, Rng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | started_at: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432. [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::{DateTime, UTC}; [INFO] [stdout] | ^^^ no `UTC` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::time::duration` [INFO] [stdout] --> src/lib.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::duration::Duration; [INFO] [stdout] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::rand` [INFO] [stdout] --> src/lib.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rand::{task_rng, Rng}; [INFO] [stdout] | ^^^^ could not find `rand` in `std` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::slice::Items` [INFO] [stdout] --> src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::slice::Items; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `chrono::UTC` [INFO] [stdout] --> src/lib.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | use chrono::UTC; [INFO] [stdout] | ^^^^^^^^^^^ no `UTC` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `scrummin` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | started_at: None, [INFO] [stdout] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:68:37 [INFO] [stdout] | [INFO] [stdout] 68 | assert_eq!(participant.name.as_slice(), "Bob"); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:107:60 [INFO] [stdout] | [INFO] [stdout] 107 | assert!(meeting.participants.iter().any(|p| p.name.as_slice() == "Bob")); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_slice` found for struct `String` in the current scope [INFO] [stdout] --> src/lib.rs:108:60 [INFO] [stdout] | [INFO] [stdout] 108 | assert!(meeting.participants.iter().any(|p| p.name.as_slice() == "Sue")); [INFO] [stdout] | ^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "46466a4994c0f7674388da97dd3806161fe72793de7210f3197bdc331068ba4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46466a4994c0f7674388da97dd3806161fe72793de7210f3197bdc331068ba4c", kill_on_drop: false }` [INFO] [stdout] 46466a4994c0f7674388da97dd3806161fe72793de7210f3197bdc331068ba4c