[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frksm%2Ffritz-homeautomation-rs" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rksm/fritz-homeautomation-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-20/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-20/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4a4ed79441ea4c801253a392e61f1f30e013642a1763d8caaa701a8e51d17097 [INFO] running `Command { std: "docker" "start" "-a" "4a4ed79441ea4c801253a392e61f1f30e013642a1763d8caaa701a8e51d17097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4a4ed79441ea4c801253a392e61f1f30e013642a1763d8caaa701a8e51d17097", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a4ed79441ea4c801253a392e61f1f30e013642a1763d8caaa701a8e51d17097", kill_on_drop: false }` [INFO] [stdout] 4a4ed79441ea4c801253a392e61f1f30e013642a1763d8caaa701a8e51d17097 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2c59083f97461959f80bb4a32ced2e2361fab8bf3c28cbb7105422f82738b8b [INFO] running `Command { std: "docker" "start" "-a" "e2c59083f97461959f80bb4a32ced2e2361fab8bf3c28cbb7105422f82738b8b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling byteorder v1.4.2 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling anyhow v1.0.38 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling encode_unicode v0.3.6 [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 num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling time v0.1.44 [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 v1.0.4 [INFO] [stderr] Compiling pin-project v0.4.27 [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 reqwest v0.11.0 [INFO] [stderr] Compiling csv v1.1.5 [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 24.27s [INFO] running `Command { std: "docker" "inspect" "e2c59083f97461959f80bb4a32ced2e2361fab8bf3c28cbb7105422f82738b8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2c59083f97461959f80bb4a32ced2e2361fab8bf3c28cbb7105422f82738b8b", kill_on_drop: false }` [INFO] [stdout] e2c59083f97461959f80bb4a32ced2e2361fab8bf3c28cbb7105422f82738b8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80f36c6cd4ca072704e17371313543c7228b193e27cfc4ae5937c78589a62b8e [INFO] running `Command { std: "docker" "start" "-a" "80f36c6cd4ca072704e17371313543c7228b193e27cfc4ae5937c78589a62b8e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 2.77s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/fritzapi-e374001775cd35d6) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/fritzctrl-f7bcc3950e6075b9) [INFO] running `Command { std: "docker" "inspect" "80f36c6cd4ca072704e17371313543c7228b193e27cfc4ae5937c78589a62b8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80f36c6cd4ca072704e17371313543c7228b193e27cfc4ae5937c78589a62b8e", kill_on_drop: false }` [INFO] [stdout] 80f36c6cd4ca072704e17371313543c7228b193e27cfc4ae5937c78589a62b8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 865a47d0222a560c11f22cfe41306a49c0121bd82d138a33e9d44087552d3fc8 [INFO] running `Command { std: "docker" "start" "-a" "865a47d0222a560c11f22cfe41306a49c0121bd82d138a33e9d44087552d3fc8", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests src/lib.rs (/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 src/main.rs (/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.08s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "865a47d0222a560c11f22cfe41306a49c0121bd82d138a33e9d44087552d3fc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "865a47d0222a560c11f22cfe41306a49c0121bd82d138a33e9d44087552d3fc8", kill_on_drop: false }` [INFO] [stdout] 865a47d0222a560c11f22cfe41306a49c0121bd82d138a33e9d44087552d3fc8