[INFO] cloning repository video-archivist/youtube-irc-bot [INFO] running `"git" "clone" "--bare" "git://github.com/video-archivist/youtube-irc-bot.git" "work/cache/sources/gh/video-archivist/youtube-irc-bot"` [INFO] [stderr] Cloning into bare repository 'work/cache/sources/gh/video-archivist/youtube-irc-bot'... [INFO] running `"git" "clone" "work/cache/sources/gh/video-archivist/youtube-irc-bot" "work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/video-archivist/youtube-irc-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/video-archivist/youtube-irc-bot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/video-archivist/youtube-irc-bot" "work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/video-archivist/youtube-irc-bot"` [INFO] [stderr] Cloning into 'work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/video-archivist/youtube-irc-bot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] f4f74905c51c3ea69d6692b428b5ca5a93c095f3 [INFO] sha for GitHub repo video-archivist/youtube-irc-bot: f4f74905c51c3ea69d6692b428b5ca5a93c095f3 [INFO] validating manifest of video-archivist/youtube-irc-bot on toolchain master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of video-archivist/youtube-irc-bot on toolchain try#8f81d0bf6baf07b92f1246696722485c4ca0b049 [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing video-archivist/youtube-irc-bot [INFO] finished frobbing video-archivist/youtube-irc-bot [INFO] frobbed toml for video-archivist/youtube-irc-bot written to work/ex/pr-62008/sources/master#848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1/gh/video-archivist/youtube-irc-bot/Cargo.toml [INFO] started frobbing video-archivist/youtube-irc-bot [INFO] finished frobbing video-archivist/youtube-irc-bot [INFO] frobbed toml for video-archivist/youtube-irc-bot written to work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/video-archivist/youtube-irc-bot/Cargo.toml [INFO] crate video-archivist/youtube-irc-bot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+848e0a23f34aaab3e4a974b031c86ef2a4e4fcc1-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/ec2-user/crater/work/local/cargo-home/bin/cargo" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] checking video-archivist/youtube-irc-bot against try#8f81d0bf6baf07b92f1246696722485c4ca0b049 for pr-62008 [INFO] running `"docker" "create" "-v" "/mnt/big/ec2-user/crater/work/local/target-dirs/pr-62008/worker-1/try#8f81d0bf6baf07b92f1246696722485c4ca0b049:/opt/crater/target:rw,Z" "-v" "/mnt/big/ec2-user/crater/work/ex/pr-62008/sources/try#8f81d0bf6baf07b92f1246696722485c4ca0b049/gh/video-archivist/youtube-irc-bot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/ec2-user/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/ec2-user/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" "+8f81d0bf6baf07b92f1246696722485c4ca0b049-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 9ecaae9660845592ef3648675ef772d0bf2a1a14273a50acf42d2d7d2e6c1f1b [INFO] running `"docker" "start" "-a" "9ecaae9660845592ef3648675ef772d0bf2a1a14273a50acf42d2d7d2e6c1f1b"` [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Checking rustc-demangle v0.1.14 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Checking strsim v0.9.2 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking humansize v1.1.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Checking try_from v0.3.2 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking tokio-timer v0.1.2 [INFO] [stderr] Compiling libc v0.2.55 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking directories v1.0.2 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking crossbeam-epoch v0.7.1 [INFO] [stderr] Checking openssl-sys v0.9.47 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking mio v0.6.18 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking backtrace v0.3.26 [INFO] [stderr] Checking cookie v0.12.0 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking openssl v0.10.23 [INFO] [stderr] Checking crossbeam-deque v0.7.1 [INFO] [stderr] Checking flate2 v1.0.7 [INFO] [stderr] Checking tokio-io v0.1.12 [INFO] [stderr] Checking http v0.1.17 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-threadpool v0.1.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Checking publicsuffix v1.5.2 [INFO] [stderr] Checking mio-uds v0.6.7 [INFO] [stderr] Checking tokio-reactor v0.1.9 [INFO] [stderr] Checking tokio-codec v0.1.1 [INFO] [stderr] Checking tokio-mockstream v1.1.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking tokio-fs v0.1.6 [INFO] [stderr] Checking tokio-udp v0.1.3 [INFO] [stderr] Checking tokio-tcp v0.1.3 [INFO] [stderr] Checking tokio-uds v0.2.5 [INFO] [stderr] Checking tokio v0.1.20 [INFO] [stderr] Checking tokio-core v0.1.17 [INFO] [stderr] Checking h2 v0.1.20 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Checking tokio-tls v0.2.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Checking hyper v0.12.29 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Checking hyper-tls v0.3.2 [INFO] [stderr] Checking failure v0.1.5 [INFO] [stderr] Checking serde v1.0.91 [INFO] [stderr] Checking serde_json v1.0.39 [INFO] [stderr] Checking serde_urlencoded v0.5.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking irc v0.13.6 [INFO] [stderr] Checking cookie_store v0.7.0 [INFO] [stderr] Checking reqwest v0.9.17 [INFO] [stderr] Checking youtube-irc-bot v1.5.0 (/opt/crater/workdir) [INFO] [stderr] warning: function is never used: `parse_title` [INFO] [stderr] --> src/http.rs:62:1 [INFO] [stderr] | [INFO] [stderr] 62 | fn parse_title(page_contents: &str) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:406:9 [INFO] [stderr] | [INFO] [stderr] 406 | assert_eq!(folder_for_url("https://www.youtube.com/channel/UChBBWt5H8uZW1LSOh_aPt2Q/videos"), "UChBBWt5H8uZW1LSOh_aPt2Q"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found &str [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `&str` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:407:9 [INFO] [stderr] | [INFO] [stderr] 407 | assert_eq!(folder_for_url("https://www.youtube.com/user/jblow888/videos"), "jblow888"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found &str [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `&str` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:408:9 [INFO] [stderr] | [INFO] [stderr] 408 | assert_eq!(folder_for_url("https://www.youtube.com/playlist?list=PL5AC656794EE191C1"), "PL5AC656794EE191C1"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found &str [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `&str` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/message.rs:409:9 [INFO] [stderr] | [INFO] [stderr] 409 | assert_eq!(folder_for_url("https://www.youtube.com/playlist?list=PL78L-9twndz8fMRU3NpiWSmB5IucqWuTF"), "PL78L-9twndz8fMRU3NpiWSmB5IucqWuTF"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected enum `std::option::Option`, found &str [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::option::Option` [INFO] [stderr] found type `&str` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<&str>` [INFO] [stderr] --> src/message.rs:415:9 [INFO] [stderr] | [INFO] [stderr] 415 | / assert_eq!( [INFO] [stderr] 416 | | get_canonical_url("https://www.youtube.com/playlist?list=PL5AC656794EE191C1").unwrap(), [INFO] [stderr] 417 | | Some("https://www.youtube.com/playlist?list=PL5AC656794EE191C1") [INFO] [stderr] 418 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<&str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<&str>` [INFO] [stderr] --> src/message.rs:419:9 [INFO] [stderr] | [INFO] [stderr] 419 | / assert_eq!( [INFO] [stderr] 420 | | get_canonical_url("https://www.youtube.com/playlist?list=PL78L-9twndz8fMRU3NpiWSmB5IucqWuTF").unwrap(), [INFO] [stderr] 421 | | Some("https://www.youtube.com/playlist?list=PL78L-9twndz8fMRU3NpiWSmB5IucqWuTF") [INFO] [stderr] 422 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<&str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<_>` [INFO] [stderr] --> src/message.rs:424:9 [INFO] [stderr] | [INFO] [stderr] 424 | / assert_eq!( [INFO] [stderr] 425 | | get_canonical_url("https://www.youtube.com/playlist?list=PL78L-9twndz8fMRU3NpiWSmB5IucqWuTa").unwrap(), [INFO] [stderr] 426 | | None [INFO] [stderr] 427 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<_>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<&str>` [INFO] [stderr] --> src/message.rs:429:9 [INFO] [stderr] | [INFO] [stderr] 429 | / assert_eq!( [INFO] [stderr] 430 | | get_canonical_url("https://www.youtube.com/user/jblow888/videos").unwrap(), [INFO] [stderr] 431 | | Some("https://www.youtube.com/user/jblow888/videos") [INFO] [stderr] 432 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<&str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<&str>` [INFO] [stderr] --> src/message.rs:434:9 [INFO] [stderr] | [INFO] [stderr] 434 | / assert_eq!( [INFO] [stderr] 435 | | get_canonical_url("https://www.youtube.com/user/JBlow888/videos").unwrap(), [INFO] [stderr] 436 | | Some("https://www.youtube.com/user/jblow888/videos") [INFO] [stderr] 437 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<&str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<&str>` [INFO] [stderr] --> src/message.rs:438:9 [INFO] [stderr] | [INFO] [stderr] 438 | / assert_eq!( [INFO] [stderr] 439 | | get_canonical_url("https://www.youtube.com/user/cnn/videos").unwrap(), [INFO] [stderr] 440 | | Some("https://www.youtube.com/user/CNN/videos") [INFO] [stderr] 441 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<&str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<_>` [INFO] [stderr] --> src/message.rs:443:9 [INFO] [stderr] | [INFO] [stderr] 443 | / assert_eq!( [INFO] [stderr] 444 | | get_canonical_url("https://www.youtube.com/user/jblow8888/videos").unwrap(), [INFO] [stderr] 445 | | None [INFO] [stderr] 446 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<_>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<&str>` [INFO] [stderr] --> src/message.rs:448:9 [INFO] [stderr] | [INFO] [stderr] 448 | / assert_eq!( [INFO] [stderr] 449 | | get_canonical_url("https://www.youtube.com/channel/UChBBWt5H8uZW1LSOh_aPt2Q/videos").unwrap(), [INFO] [stderr] 450 | | Some("https://www.youtube.com/channel/UChBBWt5H8uZW1LSOh_aPt2Q/videos") [INFO] [stderr] 451 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<&str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<&str>` [INFO] [stderr] --> src/message.rs:453:9 [INFO] [stderr] | [INFO] [stderr] 453 | / assert_eq!( [INFO] [stderr] 454 | | get_canonical_url("https://www.youtube.com/channel/UCupvZG-5ko_eiXAupbDfxWw").unwrap(), [INFO] [stderr] 455 | | Some("https://www.youtube.com/user/CNN/videos") [INFO] [stderr] 456 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<&str>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: can't compare `std::string::String` with `std::option::Option<_>` [INFO] [stderr] --> src/message.rs:458:9 [INFO] [stderr] | [INFO] [stderr] 458 | / assert_eq!( [INFO] [stderr] 459 | | get_canonical_url("https://www.youtube.com/channel/UChBBWt5H8uZW1LSOh_aPt2a/videos").unwrap(), [INFO] [stderr] 460 | | None [INFO] [stderr] 461 | | ); [INFO] [stderr] | |__________^ no implementation for `std::string::String == std::option::Option<_>` [INFO] [stderr] | [INFO] [stderr] = help: the trait `std::cmp::PartialEq>` is not implemented for `std::string::String` [INFO] [stderr] = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error: aborting due to 14 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: Could not compile `youtube-irc-bot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "9ecaae9660845592ef3648675ef772d0bf2a1a14273a50acf42d2d7d2e6c1f1b"` [INFO] running `"docker" "rm" "-f" "9ecaae9660845592ef3648675ef772d0bf2a1a14273a50acf42d2d7d2e6c1f1b"` [INFO] [stdout] 9ecaae9660845592ef3648675ef772d0bf2a1a14273a50acf42d2d7d2e6c1f1b