[INFO] updating cached repository https://github.com/marekventur/http-to-irc-bridge [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b68fb1c4d1bfa78ae9c4b63aeb9d45b52dbd9767 [INFO] testing marekventur/http-to-irc-bridge against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmarekventur%2Fhttp-to-irc-bridge" "/workspace/builds/worker-3/source"` [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 beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-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 `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"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" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stdout] 1e192bdc87312471be2c92be238705162dd19a936775bb59db33c08fd36ee38c [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" "1e192bdc87312471be2c92be238705162dd19a936775bb59db33c08fd36ee38c"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling cc v1.0.54 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling quote v1.0.6 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling irc-proto v0.14.0 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling hyper v0.13.6 [INFO] [stderr] Compiling toml v0.5.6 [INFO] [stderr] Compiling irc v0.14.0 [INFO] [stderr] Compiling httptoircbridge v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved imports `hyper::server::Request`, `hyper::server::Response` [INFO] [stderr] --> src/http_server.rs:13:28 [INFO] [stderr] | [INFO] [stderr] 13 | use hyper::server::{Server,Request, Response}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ no `Response` in `server` [INFO] [stderr] | | [INFO] [stderr] | no `Request` in `server` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::uri` [INFO] [stderr] --> src/http_server.rs:14:12 [INFO] [stderr] | [INFO] [stderr] 14 | use hyper::uri::RequestUri; [INFO] [stderr] | ^^^ could not find `uri` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::status` [INFO] [stderr] --> src/http_server.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | use hyper::status::StatusCode; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::method` [INFO] [stderr] --> src/http_server.rs:16:12 [INFO] [stderr] | [INFO] [stderr] 16 | use hyper::method::Method; [INFO] [stderr] | ^^^^^^ could not find `method` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `irc::client::server` [INFO] [stderr] --> src/irc_bot.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use irc::client::server::NetIrcServer; [INFO] [stderr] | ^^^^^^ could not find `server` in `client` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type or module `IrcServer` [INFO] [stderr] --> src/irc_bot.rs:18:22 [INFO] [stderr] | [INFO] [stderr] 18 | let server = IrcServer::from_config(config).unwrap(); [INFO] [stderr] | ^^^^^^^^^ use of undeclared type or module `IrcServer` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/http_server.rs:5:26 [INFO] [stderr] | [INFO] [stderr] 5 | use std::thread::{spawn, sleep_ms}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::thread::sleep_ms': replaced by `std::thread::sleep` [INFO] [stderr] --> src/http_server.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | sleep_ms(100); [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `load_utf8` found for struct `irc::client::data::Config` in the current scope [INFO] [stderr] --> src/main.rs:24:19 [INFO] [stderr] | [INFO] [stderr] 24 | match Config::load_utf8("/etc/httptoircbridge/config.json") { [INFO] [stderr] | ^^^^^^^^^ function or associated item not found in `irc::client::data::Config` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:46:39 [INFO] [stderr] | [INFO] [stderr] 46 | let port: u16 = FromStr::from_str(&config.get_option("http_port")).unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `str`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&str` [INFO] [stderr] found reference `&std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:48:19 [INFO] [stderr] | [INFO] [stderr] 48 | host.push_str(config.get_option("http_host")); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found enum `std::option::Option` [INFO] [stderr] | [INFO] [stderr] = note: expected reference `&str` [INFO] [stderr] found enum `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `http` found for struct `hyper::Server<_, _, _>` in the current scope [INFO] [stderr] --> src/http_server.rs:41:34 [INFO] [stderr] | [INFO] [stderr] 41 | let server = Server::http(move |req: Request, mut res: Response| { [INFO] [stderr] | ^^^^ function or associated item not found in `hyper::Server<_, _, _>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `from_message` found for enum `irc::irc_proto::Command` in the current scope [INFO] [stderr] --> src/irc_bot.rs:35:44 [INFO] [stderr] | [INFO] [stderr] 35 | ... match Command::from_message(&msg) { [INFO] [stderr] | ^^^^^^^^^^^^ variant or associated item not found in `irc::irc_proto::Command` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for struct `std::sync::Arc<_>` in the current scope [INFO] [stderr] --> src/irc_bot.rs:79:59 [INFO] [stderr] | [INFO] [stderr] 79 | let handle1 = IrcBot::start_connect_thread(server.clone(), alive.clone()); [INFO] [stderr] | ^^^^^ method not found in `std::sync::Arc<_>` [INFO] [stderr] | [INFO] [stderr] = note: `server` is a function, perhaps you wish to call it [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Read` [INFO] [stderr] --> src/http_server.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use std::io::Read; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error: aborting due to 12 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `httptoircbridge`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "1e192bdc87312471be2c92be238705162dd19a936775bb59db33c08fd36ee38c"` [INFO] running `"docker" "rm" "-f" "1e192bdc87312471be2c92be238705162dd19a936775bb59db33c08fd36ee38c"` [INFO] [stdout] 1e192bdc87312471be2c92be238705162dd19a936775bb59db33c08fd36ee38c