[INFO] fetching crate wex 0.1.2... [INFO] testing wex-0.1.2 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate wex 0.1.2 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate wex 0.1.2 [INFO] finished tweaking crates.io crate wex 0.1.2 [INFO] tweaked toml for crates.io crate wex 0.1.2 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wex 0.1.2 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 50 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rust-crypto v0.2.36 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60d2e7cd4b892d0e1034451311ff71cff61195a6bc0c6c41cd1292595ff0e8e3 [INFO] running `Command { std: "docker" "start" "-a" "60d2e7cd4b892d0e1034451311ff71cff61195a6bc0c6c41cd1292595ff0e8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60d2e7cd4b892d0e1034451311ff71cff61195a6bc0c6c41cd1292595ff0e8e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60d2e7cd4b892d0e1034451311ff71cff61195a6bc0c6c41cd1292595ff0e8e3", kill_on_drop: false }` [INFO] [stdout] 60d2e7cd4b892d0e1034451311ff71cff61195a6bc0c6c41cd1292595ff0e8e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bde696c3f0c31cf6bb08d05c0647b4e0affda89ef845a08ec53ee502bbaff46 [INFO] running `Command { std: "docker" "start" "-a" "4bde696c3f0c31cf6bb08d05c0647b4e0affda89ef845a08ec53ee502bbaff46", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling curl v0.4.49 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling rustc-serialize v0.3.25 [INFO] [stderr] Compiling libz-sys v1.1.22 [INFO] [stderr] Compiling curl-sys v0.4.83+curl-8.15.0 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling wex v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.95s [INFO] running `Command { std: "docker" "inspect" "4bde696c3f0c31cf6bb08d05c0647b4e0affda89ef845a08ec53ee502bbaff46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bde696c3f0c31cf6bb08d05c0647b4e0affda89ef845a08ec53ee502bbaff46", kill_on_drop: false }` [INFO] [stdout] 4bde696c3f0c31cf6bb08d05c0647b4e0affda89ef845a08ec53ee502bbaff46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e56a1ccea7ba2d1510e18f53115da7dc3ad0ef83df16e7fb9e26196e16ae2a3e [INFO] running `Command { std: "docker" "start" "-a" "e56a1ccea7ba2d1510e18f53115da7dc3ad0ef83df16e7fb9e26196e16ae2a3e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling wex v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.69s [INFO] running `Command { std: "docker" "inspect" "e56a1ccea7ba2d1510e18f53115da7dc3ad0ef83df16e7fb9e26196e16ae2a3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e56a1ccea7ba2d1510e18f53115da7dc3ad0ef83df16e7fb9e26196e16ae2a3e", kill_on_drop: false }` [INFO] [stdout] e56a1ccea7ba2d1510e18f53115da7dc3ad0ef83df16e7fb9e26196e16ae2a3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b63de2d5b16362b0f8cf58898a48c411fcce39d610c997bfb6bae3fb04427345 [INFO] running `Command { std: "docker" "start" "-a" "b63de2d5b16362b0f8cf58898a48c411fcce39d610c997bfb6bae3fb04427345", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wex-38bec1201abf1298) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests wex [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - ticker (line 414) ... FAILED [INFO] [stdout] test src/lib.rs - (line 19) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - ticker (line 414) stdout ---- [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:417:1 [INFO] [stdout] | [INFO] [stdout] 6 | / wex::ticker("btc_usd-btc_eur") [INFO] [stdout] 7 | | .map(|ticks| { [INFO] [stdout] 8 | | print!("{:?}", ticks.get("btc_usd").unwrap()) [INFO] [stdout] 9 | | }) [INFO] [stdout] | |______^ expected `()`, found `Result<(), String>` [INFO] [stdout] | [INFO] [stdout] = note: expected unit type `()` [INFO] [stdout] found enum `Result<(), String>` [INFO] [stdout] help: consider using a semicolon here [INFO] [stdout] | [INFO] [stdout] 9 | }); [INFO] [stdout] | + [INFO] [stdout] help: try adding a return type [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_414_0() -> Result<(), String> { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result<(), String>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 9 | }).expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 19) stdout ---- [INFO] [stdout] Test executable failed (exit status: 101). [INFO] [stdout] [INFO] [stdout] stdout: [INFO] [stdout] Err("Error { description: \"Couldn't resolve host name\", code: 6, extra: Some(\"Could not resolve host: wex.nz\") }") [INFO] [stdout] Err("Error { description: \"Couldn't resolve host name\", code: 6, extra: Some(\"Could not resolve host: wex.nz\") }") [INFO] [stdout] [INFO] [stdout] stderr: [INFO] [stdout] [INFO] [stdout] thread 'main' (60) panicked at src/lib.rs:14:28: [INFO] [stdout] could not optain wex pairs: "Error { description: \"Couldn't resolve host name\", code: 6, extra: Some(\"Could not resolve host: wex.nz\") }" [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f365b2b8582 - std::backtrace_rs::backtrace::libunwind::trace::h76861be37b31432e [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f365b2b8582 - std::backtrace_rs::backtrace::trace_unsynchronized::h58d4003082192c17 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f365b2b8582 - std::sys::backtrace::_print_fmt::hfe5857a399620d2a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f365b2b8582 - ::fmt::h52160e9da139e442 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f365b2c904f - core::fmt::rt::Argument::fmt::h66fe6fef9ecca14a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f365b2c904f - core::fmt::write::hf09a056a304e021a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5f365b294981 - std::io::default_write_fmt::h7567c5950fb0173c [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f365b294981 - std::io::Write::write_fmt::h361c7127187cda65 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f365b29aa12 - std::sys::backtrace::BacktraceLock::print::h15104dbcf0fd1f14 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f365b29c63f - std::panicking::default_hook::{{closure}}::h0fa6cd8dbe0dd76b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5f365b29c499 - std::panicking::default_hook::h8d20506cf72e4831 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:328:9 [INFO] [stdout] 11: 0x5f365b29cd75 - std::panicking::panic_with_hook::h746880a052e02c85 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:834:13 [INFO] [stdout] 12: 0x5f365b29cb5a - std::panicking::panic_handler::{{closure}}::h14b95830f89d14b3 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:707:13 [INFO] [stdout] 13: 0x5f365b29ab49 - std::sys::backtrace::__rust_end_short_backtrace::h7ddaac0e9609a83d [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 14: 0x5f365b2894dd - __rustc[76f7e7187978e2f8]::rust_begin_unwind [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:698:5 [INFO] [stdout] 15: 0x5f365b2d0fc0 - core::panicking::panic_fmt::heb245a301f4395db [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/panicking.rs:78:14 [INFO] [stdout] 16: 0x5f365b2d0596 - core::result::unwrap_failed::h91bd1e1731f928fc [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/result.rs:1855:5 [INFO] [stdout] 17: 0x5f365b219595 - core::result::Result::expect::h85c5d95a2c9ff01b [INFO] [stdout] 18: 0x5f365b21a3e0 - rust_out::main::h2c0b889d96022a4f [INFO] [stdout] 19: 0x5f365b218f43 - core::ops::function::FnOnce::call_once::h064b3222b538a73a [INFO] [stdout] 20: 0x5f365b2189d6 - std::sys::backtrace::__rust_begin_short_backtrace::h5b0a4898ae968de4 [INFO] [stdout] 21: 0x5f365b2189b9 - std::rt::lang_start::{{closure}}::h6185b2e9f14a2cbb [INFO] [stdout] 22: 0x5f365b2962b0 - core::ops::function::impls:: for &F>::call_once::h92f7271baace0227 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/core/src/ops/function.rs:287:21 [INFO] [stdout] 23: 0x5f365b2962b0 - std::panicking::catch_unwind::do_call::hab80bc7615f9a56f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 24: 0x5f365b2962b0 - std::panicking::catch_unwind::h44920ff533ed11dd [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 25: 0x5f365b2962b0 - std::panic::catch_unwind::hbc4760794652046f [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 26: 0x5f365b2962b0 - std::rt::lang_start_internal::{{closure}}::h017b9ee7d9dfccf2 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:175:24 [INFO] [stdout] 27: 0x5f365b2962b0 - std::panicking::catch_unwind::do_call::h5c448dae61c3a22b [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x5f365b2962b0 - std::panicking::catch_unwind::ha3a2750d16137715 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x5f365b2962b0 - std::panic::catch_unwind::ha56344eb931bca1a [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f365b2962b0 - std::rt::lang_start_internal::h4e6c18fadc4e7470 [INFO] [stdout] at /rustc/caccb4d0368bd918ef6668af8e13834d07040417/library/std/src/rt.rs:171:5 [INFO] [stdout] 31: 0x5f365b2189a1 - std::rt::lang_start::hc4342c866dfc26c3 [INFO] [stdout] 32: 0x5f365b21acd5 - main [INFO] [stdout] 33: 0x7664f00f21ca - [INFO] [stdout] 34: 0x7664f00f228b - __libc_start_main [INFO] [stdout] 35: 0x5f365b218555 - _start [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 19) [INFO] [stdout] src/lib.rs - ticker (line 414) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b63de2d5b16362b0f8cf58898a48c411fcce39d610c997bfb6bae3fb04427345", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63de2d5b16362b0f8cf58898a48c411fcce39d610c997bfb6bae3fb04427345", kill_on_drop: false }` [INFO] [stdout] b63de2d5b16362b0f8cf58898a48c411fcce39d610c997bfb6bae3fb04427345