[INFO] cloning repository https://github.com/rksm/fritz-homeautomation-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rksm/fritz-homeautomation-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frksm%2Ffritz-homeautomation-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frksm%2Ffritz-homeautomation-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 403aff5405f42827999468fad9179ce8fb314e0c [INFO] testing rksm/fritz-homeautomation-rs against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frksm%2Ffritz-homeautomation-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rksm/fritz-homeautomation-rs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2/source/.cargo/config [INFO] started tweaking git repo https://github.com/rksm/fritz-homeautomation-rs [INFO] finished tweaking git repo https://github.com/rksm/fritz-homeautomation-rs [INFO] tweaked toml for git repo https://github.com/rksm/fritz-homeautomation-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/rksm/fritz-homeautomation-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c67e2c3afba81ccff02045b1e29179cbdb2d41532d7d5cf19283456801835d4f [INFO] running `Command { std: "docker" "start" "-a" "c67e2c3afba81ccff02045b1e29179cbdb2d41532d7d5cf19283456801835d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c67e2c3afba81ccff02045b1e29179cbdb2d41532d7d5cf19283456801835d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c67e2c3afba81ccff02045b1e29179cbdb2d41532d7d5cf19283456801835d4f", kill_on_drop: false }` [INFO] [stdout] c67e2c3afba81ccff02045b1e29179cbdb2d41532d7d5cf19283456801835d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4242528afea505201a39b49d87e77649795fb4d978d1f9f9b5293425ce302a2d [INFO] running `Command { std: "docker" "start" "-a" "4242528afea505201a39b49d87e77649795fb4d978d1f9f9b5293425ce302a2d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling dotenv v0.15.0 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling form_urlencoded v1.0.0 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling sunrise v1.0.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling parse_duration v2.1.0 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling bstr v0.2.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde-xml-rs v0.4.1 [INFO] [stderr] Compiling csv v1.1.5 [INFO] [stderr] Compiling reqwest v0.11.0 [INFO] [stderr] Compiling prettytable-rs v0.8.0 [INFO] [stderr] Compiling fritzapi v0.3.3 (/opt/rustwide/workdir/fritzapi) [INFO] [stderr] Compiling fritzctrl v0.3.3 (/opt/rustwide/workdir/fritzctrl) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 06s [INFO] running `Command { std: "docker" "inspect" "4242528afea505201a39b49d87e77649795fb4d978d1f9f9b5293425ce302a2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4242528afea505201a39b49d87e77649795fb4d978d1f9f9b5293425ce302a2d", kill_on_drop: false }` [INFO] [stdout] 4242528afea505201a39b49d87e77649795fb4d978d1f9f9b5293425ce302a2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac103f1297417e4f691bc9c15138cb0a5df83d08bdbf9aa2a4c16ef108c2261b [INFO] running `Command { std: "docker" "start" "-a" "ac103f1297417e4f691bc9c15138cb0a5df83d08bdbf9aa2a4c16ef108c2261b", kill_on_drop: false }` [INFO] [stderr] Compiling fritzapi v0.3.3 (/opt/rustwide/workdir/fritzapi) [INFO] [stderr] Compiling fritzctrl v0.3.3 (/opt/rustwide/workdir/fritzctrl) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.01s [INFO] running `Command { std: "docker" "inspect" "ac103f1297417e4f691bc9c15138cb0a5df83d08bdbf9aa2a4c16ef108c2261b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac103f1297417e4f691bc9c15138cb0a5df83d08bdbf9aa2a4c16ef108c2261b", kill_on_drop: false }` [INFO] [stdout] ac103f1297417e4f691bc9c15138cb0a5df83d08bdbf9aa2a4c16ef108c2261b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b93167f114335e46a7f922fed97b09a65ed7f8be311848d4c202acfebc79604f [INFO] running `Command { std: "docker" "start" "-a" "b93167f114335e46a7f922fed97b09a65ed7f8be311848d4c202acfebc79604f", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fritzapi-e374001775cd35d6) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test fritz_xml::tests::parse_device_stat_kind ... ok [INFO] [stdout] test fritz_xml::tests::parse_session_info ... ok [INFO] [stdout] test api::tests::request_response ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/fritzctrl-f7bcc3950e6075b9) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test schedule::action::tests::parse_actions ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests fritzapi [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 10) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 10) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `user` in this scope [INFO] [stdout] --> src/lib.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 5 | let sid = fritzapi::get_sid(&user, &password)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `password` in this scope [INFO] [stdout] --> src/lib.rs:12:37 [INFO] [stdout] | [INFO] [stdout] 5 | let sid = fritzapi::get_sid(&user, &password)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:12:46 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 5 | | let sid = fritzapi::get_sid(&user, &password)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | // List devices [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } _doctest_main_src_lib_rs_10_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 5 | | let sid = fritzapi::get_sid(&user, &password)?; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | // List devices [INFO] [stdout] 8 | | let mut devices = fritzapi::list_devices(&sid)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } _doctest_main_src_lib_rs_10_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_10_0() { [INFO] [stdout] | ______________________________________- [INFO] [stdout] 5 | | let sid = fritzapi::get_sid(&user, &password)?; [INFO] [stdout] 6 | | [INFO] [stdout] 7 | | // List devices [INFO] [stdout] ... | [INFO] [stdout] 13 | | dev.turn_on(&sid)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a function that returns `()` [INFO] [stdout] 14 | | } [INFO] [stdout] 15 | | } _doctest_main_src_lib_rs_10_0() } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `()` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 10) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b93167f114335e46a7f922fed97b09a65ed7f8be311848d4c202acfebc79604f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b93167f114335e46a7f922fed97b09a65ed7f8be311848d4c202acfebc79604f", kill_on_drop: false }` [INFO] [stdout] b93167f114335e46a7f922fed97b09a65ed7f8be311848d4c202acfebc79604f