[INFO] cloning repository https://github.com/marekventur/http-to-irc-bridge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/marekventur/http-to-irc-bridge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarekventur%2Fhttp-to-irc-bridge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarekventur%2Fhttp-to-irc-bridge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b68fb1c4d1bfa78ae9c4b63aeb9d45b52dbd9767 [INFO] checking marekventur/http-to-irc-bridge against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarekventur%2Fhttp-to-irc-bridge" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/marekventur/http-to-irc-bridge 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/marekventur/http-to-irc-bridge [INFO] finished tweaking git repo https://github.com/marekventur/http-to-irc-bridge [INFO] tweaked toml for git repo https://github.com/marekventur/http-to-irc-bridge written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/marekventur/http-to-irc-bridge 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] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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] 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded httpdate v1.0.0 [INFO] [stderr] Downloaded irc v0.15.0 [INFO] [stderr] Downloaded irc-proto v0.15.0 [INFO] [stderr] Downloaded hyper v0.14.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] 16cd14bac6ef50f869508dc62f4d9356c5ea1e73d34bbb253cfa24fd9310295c [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" "16cd14bac6ef50f869508dc62f4d9356c5ea1e73d34bbb253cfa24fd9310295c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16cd14bac6ef50f869508dc62f4d9356c5ea1e73d34bbb253cfa24fd9310295c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16cd14bac6ef50f869508dc62f4d9356c5ea1e73d34bbb253cfa24fd9310295c", kill_on_drop: false }` [INFO] [stdout] 16cd14bac6ef50f869508dc62f4d9356c5ea1e73d34bbb253cfa24fd9310295c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] bf943b62e25a8c6d5c5b4852e3d91a79040b9aa6f5572f613233fb55b4cdd94b [INFO] running `Command { std: "docker" "start" "-a" "bf943b62e25a8c6d5c5b4852e3d91a79040b9aa6f5572f613233fb55b4cdd94b", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.70 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking httpdate v1.0.0 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking http-body v0.4.1 [INFO] [stderr] Checking chrono v0.4.19 [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 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 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking hyper v0.14.6 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking irc v0.15.0 [INFO] [stderr] Checking httptoircbridge v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `hyper::server` [INFO] [stdout] --> src/http_server.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use hyper::server::{Server,Request, Response}; [INFO] [stdout] | ^^^^^^ could not find `server` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::uri` [INFO] [stdout] --> src/http_server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper::uri::RequestUri; [INFO] [stdout] | ^^^ could not find `uri` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/http_server.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::method` [INFO] [stdout] --> src/http_server.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::method::Method; [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `irc::client::server` [INFO] [stdout] --> src/irc_bot.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use irc::client::server::NetIrcServer; [INFO] [stdout] | ^^^^^^ could not find `server` in `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::server` [INFO] [stdout] --> src/http_server.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | use hyper::server::{Server,Request, Response}; [INFO] [stdout] | ^^^^^^ could not find `server` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::uri` [INFO] [stdout] --> src/http_server.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | use hyper::uri::RequestUri; [INFO] [stdout] | ^^^ could not find `uri` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::status` [INFO] [stdout] --> src/http_server.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hyper::method` [INFO] [stdout] --> src/http_server.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | use hyper::method::Method; [INFO] [stdout] | ^^^^^^ could not find `method` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `irc::client::server` [INFO] [stdout] --> src/irc_bot.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use irc::client::server::NetIrcServer; [INFO] [stdout] | ^^^^^^ could not find `server` in `client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IrcServer` [INFO] [stdout] --> src/irc_bot.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let server = IrcServer::from_config(config).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IrcServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IrcServer` [INFO] [stdout] --> src/irc_bot.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let server = IrcServer::from_config(config).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `IrcServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/http_server.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::{spawn, sleep_ms}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/http_server.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | use std::thread::{spawn, sleep_ms}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/http_server.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | sleep_ms(100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/http_server.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | sleep_ms(100); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_utf8` found for struct `irc::client::data::Config` in the current scope [INFO] [stdout] --> src/main.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | match Config::load_utf8("/etc/httptoircbridge/config.json") { [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `irc::client::data::Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_utf8` found for struct `irc::client::data::Config` in the current scope [INFO] [stdout] --> src/main.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | match Config::load_utf8("/etc/httptoircbridge/config.json") { [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `irc::client::data::Config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | let port: u16 = FromStr::from_str(&config.get_option("http_port")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:46:39 [INFO] [stdout] | [INFO] [stdout] 46 | let port: u16 = FromStr::from_str(&config.get_option("http_port")).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found reference `&Option<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | host.push_str(config.get_option("http_host")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `from_message` found for enum `irc::irc_proto::Command` in the current scope [INFO] [stdout] --> src/irc_bot.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | ... match Command::from_message(&msg) { [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `irc::irc_proto::Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/irc_bot.rs:79:59 [INFO] [stdout] | [INFO] [stdout] 79 | let handle1 = IrcBot::start_connect_thread(server.clone(), alive.clone()); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `server` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/http_server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | host.push_str(config.get_option("http_host")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&str` [INFO] [stdout] found enum `Option<&str>` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `httptoircbridge` [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 variant or associated item named `from_message` found for enum `irc::irc_proto::Command` in the current scope [INFO] [stdout] --> src/irc_bot.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | ... match Command::from_message(&msg) { [INFO] [stdout] | ^^^^^^^^^^^^ variant or associated item not found in `irc::irc_proto::Command` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `clone` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> src/irc_bot.rs:79:59 [INFO] [stdout] | [INFO] [stdout] 79 | let handle1 = IrcBot::start_connect_thread(server.clone(), alive.clone()); [INFO] [stdout] | ^^^^^ method not found in `Arc<_>` [INFO] [stdout] | [INFO] [stdout] = note: `server` is a function, perhaps you wish to call it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> src/http_server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "bf943b62e25a8c6d5c5b4852e3d91a79040b9aa6f5572f613233fb55b4cdd94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf943b62e25a8c6d5c5b4852e3d91a79040b9aa6f5572f613233fb55b4cdd94b", kill_on_drop: false }` [INFO] [stdout] bf943b62e25a8c6d5c5b4852e3d91a79040b9aa6f5572f613233fb55b4cdd94b