[INFO] cloning repository https://github.com/rdavidso/sheepsheadbot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rdavidso/sheepsheadbot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidso%2Fsheepsheadbot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidso%2Fsheepsheadbot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0aeca3a32377f0a5f58577cec9a5e420ede0d188 [INFO] checking rdavidso/sheepsheadbot against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidso%2Fsheepsheadbot" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rdavidso/sheepsheadbot on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rdavidso/sheepsheadbot [INFO] finished tweaking git repo https://github.com/rdavidso/sheepsheadbot [INFO] tweaked toml for git repo https://github.com/rdavidso/sheepsheadbot written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/rdavidso/sheepsheadbot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/aatxe/irc.git` [INFO] [stderr] Updating git repository `https://github.com/Kimundi/lazy-static.rs` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/aatxe/irc.git` [INFO] [stderr] Updating git repository `https://github.com/Kimundi/lazy-static.rs` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0fb143be7ba178b79452cefa1fede39422572d9637a9e03f486446c18f22c004 [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" "0fb143be7ba178b79452cefa1fede39422572d9637a9e03f486446c18f22c004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0fb143be7ba178b79452cefa1fede39422572d9637a9e03f486446c18f22c004", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0fb143be7ba178b79452cefa1fede39422572d9637a9e03f486446c18f22c004", kill_on_drop: false }` [INFO] [stdout] 0fb143be7ba178b79452cefa1fede39422572d9637a9e03f486446c18f22c004 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb933bf6e65ae6bc8a5588fd85bf7cf0f1a17d4b2977f2939790619a2720a3c6 [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" "bb933bf6e65ae6bc8a5588fd85bf7cf0f1a17d4b2977f2939790619a2720a3c6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking lazy_static v1.4.0 (https://github.com/Kimundi/lazy-static.rs#7324c83a) [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-stream v0.1.5 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking irc-proto v0.15.0 (https://github.com/aatxe/irc.git#ceb2ea27) [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking irc v0.15.0 (https://github.com/aatxe/irc.git#ceb2ea27) [INFO] [stderr] Checking sheepsheadbot v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `server` in `irc` [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use irc::server::utils::Wrapper; [INFO] [stdout] | ^^^^^^ could not find `server` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `irc` [INFO] [stdout] --> src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use irc::data::message::Message; [INFO] [stdout] | ^^^^ could not find `data` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `irc::server` [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use irc::server::{IrcServer, Server}; [INFO] [stdout] | ^^^^^^ could not find `server` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `server` in `irc` [INFO] [stdout] --> src/main.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | use irc::server::utils::Wrapper; [INFO] [stdout] | ^^^^^^ could not find `server` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `data` in `irc` [INFO] [stdout] --> src/main.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | use irc::data::message::Message; [INFO] [stdout] | ^^^^ could not find `data` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `irc::server` [INFO] [stdout] --> src/main.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | use irc::server::{IrcServer, Server}; [INFO] [stdout] | ^^^^^^ could not find `server` in `irc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wrapper` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let server = Wrapper::new(&irc_server); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Wrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Wrapper` [INFO] [stdout] --> src/main.rs:21:18 [INFO] [stdout] | [INFO] [stdout] 21 | let server = Wrapper::new(&irc_server); [INFO] [stdout] | ^^^^^^^ use of undeclared type `Wrapper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | static ref CMD: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn default(message: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn privmsg(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn ping(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | fn mode(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | fn notice(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | static ref CMD: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | fn default(message: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | fn privmsg(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:47:14 [INFO] [stdout] | [INFO] [stdout] 47 | fn ping(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:51:14 [INFO] [stdout] | [INFO] [stdout] 51 | fn mode(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/main.rs:55:16 [INFO] [stdout] | [INFO] [stdout] 55 | fn notice(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use irc::proto::Message; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CMD` in the current scope [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let mut m = CMD.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `CMD` [INFO] [stdout] ... [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref CMD: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] | [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 `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `lock` found for struct `CMD` in the current scope [INFO] [stdout] --> src/main.rs:14:21 [INFO] [stdout] | [INFO] [stdout] 14 | let mut m = CMD.lock().unwrap(); [INFO] [stdout] | ^^^^ method not found in `CMD` [INFO] [stdout] ... [INFO] [stdout] 32 | / lazy_static! { [INFO] [stdout] 33 | | static ref CMD: Mutex> = Mutex::new(HashMap::new()); [INFO] [stdout] 34 | | } [INFO] [stdout] | |_- method `lock` not found for this [INFO] [stdout] | [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 `lock`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `lock_api::mutex::RawMutex` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sheepsheadbot` [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: build failed [INFO] running `Command { std: "docker" "inspect" "bb933bf6e65ae6bc8a5588fd85bf7cf0f1a17d4b2977f2939790619a2720a3c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb933bf6e65ae6bc8a5588fd85bf7cf0f1a17d4b2977f2939790619a2720a3c6", kill_on_drop: false }` [INFO] [stdout] bb933bf6e65ae6bc8a5588fd85bf7cf0f1a17d4b2977f2939790619a2720a3c6