[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#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frdavidso%2Fsheepsheadbot" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rdavidso/sheepsheadbot on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/Kimundi/lazy-static.rs` [INFO] [stderr] error: the lock file /workspace/builds/worker-11/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", 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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d7d9c0d8cd487bf546038bac712c52c0156deae1fd339d781a64a04427200d91 [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" "d7d9c0d8cd487bf546038bac712c52c0156deae1fd339d781a64a04427200d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7d9c0d8cd487bf546038bac712c52c0156deae1fd339d781a64a04427200d91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7d9c0d8cd487bf546038bac712c52c0156deae1fd339d781a64a04427200d91", kill_on_drop: false }` [INFO] [stdout] d7d9c0d8cd487bf546038bac712c52c0156deae1fd339d781a64a04427200d91 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d3f78b64bfae4f7119dd8328cc162b1f3bed26f3c22b151105fca0bc5f325673 [INFO] running `Command { std: "docker" "start" "-a" "d3f78b64bfae4f7119dd8328cc162b1f3bed26f3c22b151105fca0bc5f325673", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.89 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Checking futures-task v0.3.13 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 (https://github.com/Kimundi/lazy-static.rs#4796ac34) [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking futures-util v0.3.13 [INFO] [stderr] Compiling tokio v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Checking mio v0.7.10 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking tokio-util v0.6.4 [INFO] [stderr] Checking tokio-stream v0.1.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.124 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.5 [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.5 [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[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[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[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] [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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d3f78b64bfae4f7119dd8328cc162b1f3bed26f3c22b151105fca0bc5f325673", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d3f78b64bfae4f7119dd8328cc162b1f3bed26f3c22b151105fca0bc5f325673", kill_on_drop: false }` [INFO] [stdout] d3f78b64bfae4f7119dd8328cc162b1f3bed26f3c22b151105fca0bc5f325673