[INFO] cloning repository https://github.com/thorncp/scrummin-rs [INFO] running `"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"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorncp%2Fscrummin-rs'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2a383498d90400454aabf7fe4c20442b39796c5f [INFO] checking thorncp/scrummin-rs against master#45d050cde277b22a755847338f2acc2c7b834141 for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthorncp%2Fscrummin-rs" "/workspace/builds/worker-7/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thorncp/scrummin-rs on toolchain 45d050cde277b22a755847338f2acc2c7b834141 [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "read-manifest" "--manifest-path" "Cargo.toml"` [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-7/source/Cargo.toml [INFO] crate git repo https://github.com/thorncp/scrummin-rs already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-7/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 `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/lifthrasiir/rust-chrono` [INFO] running `"/workspace/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+45d050cde277b22a755847338f2acc2c7b834141" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] eef3cb02c263e190523587147b48b9b419f71e5db2736c11b333d7bebfb54c48 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "eef3cb02c263e190523587147b48b9b419f71e5db2736c11b333d7bebfb54c48"` [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Checking chrono v0.4.11 (https://github.com/lifthrasiir/rust-chrono#80600897) [INFO] [stderr] Checking scrummin v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `chrono::UTC` [INFO] [stderr] --> src/lib.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::{DateTime, UTC}; [INFO] [stderr] | ^^^ no `UTC` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/lib.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/lib.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::rand::{task_rng, Rng}; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::slice::Items` [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::slice::Items; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stderr] [INFO] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/lib.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | started_at: None, [INFO] [stderr] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `chrono::UTC` [INFO] [stderr] --> src/lib.rs:3:24 [INFO] [stderr] | [INFO] [stderr] 3 | use chrono::{DateTime, UTC}; [INFO] [stderr] | ^^^ no `UTC` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::time::duration` [INFO] [stderr] --> src/lib.rs:4:16 [INFO] [stderr] | [INFO] [stderr] 4 | use std::time::duration::Duration; [INFO] [stderr] | ^^^^^^^^ could not find `duration` in `time` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::rand` [INFO] [stderr] --> src/lib.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | use std::rand::{task_rng, Rng}; [INFO] [stderr] | ^^^^ could not find `rand` in `std` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `std::slice::Items` [INFO] [stderr] --> src/lib.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::slice::Items; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ no `Items` in `slice` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `chrono::UTC` [INFO] [stderr] --> src/lib.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | use chrono::UTC; [INFO] [stderr] | ^^^^^^^^^^^ no `UTC` in the root [INFO] [stderr] [INFO] [stderr] error: aborting due to 5 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0432. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [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] [stderr] error[E0282]: type annotations needed [INFO] [stderr] --> src/lib.rs:18:25 [INFO] [stderr] | [INFO] [stderr] 18 | started_at: None, [INFO] [stderr] | ^^^^ cannot infer type for type parameter `T` declared on the enum `Option` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:68:37 [INFO] [stderr] | [INFO] [stderr] 68 | assert_eq!(participant.name.as_slice(), "Bob"); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:107:60 [INFO] [stderr] | [INFO] [stderr] 107 | assert!(meeting.participants.iter().any(|p| p.name.as_slice() == "Bob")); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `as_slice` found for struct `std::string::String` in the current scope [INFO] [stderr] --> src/lib.rs:108:60 [INFO] [stderr] | [INFO] [stderr] 108 | assert!(meeting.participants.iter().any(|p| p.name.as_slice() == "Sue")); [INFO] [stderr] | ^^^^^^^^ method not found in `std::string::String` [INFO] [stderr] [INFO] [stderr] error: aborting due to 9 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0282, E0432, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0282`. [INFO] [stderr] error: could not compile `scrummin`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "eef3cb02c263e190523587147b48b9b419f71e5db2736c11b333d7bebfb54c48"` [INFO] running `"docker" "rm" "-f" "eef3cb02c263e190523587147b48b9b419f71e5db2736c11b333d7bebfb54c48"` [INFO] [stdout] eef3cb02c263e190523587147b48b9b419f71e5db2736c11b333d7bebfb54c48