[INFO] updating cached repository marekventur/http-to-irc-bridge [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/marekventur/http-to-irc-bridge [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/marekventur/http-to-irc-bridge" "work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/marekventur/http-to-irc-bridge"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/marekventur/http-to-irc-bridge'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/marekventur/http-to-irc-bridge" "work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/marekventur/http-to-irc-bridge"` [INFO] [stderr] Cloning into 'work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/marekventur/http-to-irc-bridge'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] b68fb1c4d1bfa78ae9c4b63aeb9d45b52dbd9767 [INFO] sha for GitHub repo marekventur/http-to-irc-bridge: b68fb1c4d1bfa78ae9c4b63aeb9d45b52dbd9767 [INFO] validating manifest of marekventur/http-to-irc-bridge on toolchain master#a850a426491e14186af2250549bf41256b5938d2 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of marekventur/http-to-irc-bridge on toolchain try#06a150c7d11500b41499224f165e9de1de096768 [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing marekventur/http-to-irc-bridge [INFO] finished frobbing marekventur/http-to-irc-bridge [INFO] frobbed toml for marekventur/http-to-irc-bridge written to work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/marekventur/http-to-irc-bridge/Cargo.toml [INFO] started frobbing marekventur/http-to-irc-bridge [INFO] finished frobbing marekventur/http-to-irc-bridge [INFO] frobbed toml for marekventur/http-to-irc-bridge written to work/ex/pr-60162/sources/try#06a150c7d11500b41499224f165e9de1de096768/gh/marekventur/http-to-irc-bridge/Cargo.toml [INFO] crate marekventur/http-to-irc-bridge already has a lockfile, it will not be regenerated [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/marekventur/http-to-irc-bridge/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/crater-raid/crater/work/local/cargo-home/bin/cargo" "+06a150c7d11500b41499224f165e9de1de096768-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] checking marekventur/http-to-irc-bridge against master#a850a426491e14186af2250549bf41256b5938d2 for pr-60162 [INFO] running `"docker" "create" "-v" "/mnt/crater-raid/crater/work/local/target-dirs/pr-60162/worker-5/master#a850a426491e14186af2250549bf41256b5938d2:/opt/crater/target:rw,Z" "-v" "/mnt/crater-raid/crater/work/ex/pr-60162/sources/master#a850a426491e14186af2250549bf41256b5938d2/gh/marekventur/http-to-irc-bridge:/opt/crater/workdir:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/crater-raid/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+a850a426491e14186af2250549bf41256b5938d2-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 5aa110ce6dbcb5f3689a49ce1c45d36f8b40537efa5ff241143190111e1223c7 [INFO] running `"docker" "start" "-a" "5aa110ce6dbcb5f3689a49ce1c45d36f8b40537efa5ff241143190111e1223c7"` [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio v0.1.19 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking hyper v0.12.27 [INFO] [stderr] Checking irc v0.13.6 [INFO] [stderr] Checking httptoircbridge v0.0.1 (/opt/crater/workdir) [INFO] [stderr] error[E0432]: unresolved imports `hyper::server::Request`, `hyper::server::Response` [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] --> src/http_server.rs:13:28 [INFO] [stderr] 16 | use hyper::method::Method; [INFO] [stderr] | [INFO] [stderr] | ^^^^^^ could not find `method` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `irc::client::server` [INFO] [stderr] 13 | use hyper::server::{Server,Request, Response}; [INFO] [stderr] --> src/irc_bot.rs:4:18 [INFO] [stderr] | ^^^^^^^ ^^^^^^^^ no `Response` in `server` [INFO] [stderr] | [INFO] [stderr] | | [INFO] [stderr] 4 | use irc::client::server::NetIrcServer; [INFO] [stderr] | no `Request` in `server` [INFO] [stderr] | ^^^^^^ could not find `server` in `client` [INFO] [stderr] [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] 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] 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 type `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[E0599]: no function or associated item named `load_utf8` found for type `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 type `&str` [INFO] [stderr] found type `&std::option::Option<&str>` [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 type `&str` [INFO] [stderr] found type `&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 type `&str` [INFO] [stderr] found type `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 type `&str` [INFO] [stderr] found type `std::option::Option<&str>` [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `http` found for type `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 function or associated item named `http` found for type `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 type `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::proto::Command` [INFO] [stderr] [INFO] [stderr] error[E0599]: no variant or associated item named `from_message` found for type `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::proto::Command` [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `clone` found for type `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] | ^^^^^ [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 [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[E0599]: no method named `clone` found for type `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] | ^^^^^ [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 [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] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: Could not compile `httptoircbridge`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5aa110ce6dbcb5f3689a49ce1c45d36f8b40537efa5ff241143190111e1223c7"` [INFO] running `"docker" "rm" "-f" "5aa110ce6dbcb5f3689a49ce1c45d36f8b40537efa5ff241143190111e1223c7"` [INFO] [stdout] 5aa110ce6dbcb5f3689a49ce1c45d36f8b40537efa5ff241143190111e1223c7