[INFO] cloning repository https://github.com/lebe-dev/zabbix-api-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lebe-dev/zabbix-api-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flebe-dev%2Fzabbix-api-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flebe-dev%2Fzabbix-api-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44ba9914e7d0a5929648f59faf29c13ab87068d3 [INFO] testing lebe-dev/zabbix-api-rs/44ba9914e7d0a5929648f59faf29c13ab87068d3 against master#61223975d46f794466efa832bc7562b9707ecc46+rustflags=-Copt-level=3 for pr-121282 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flebe-dev%2Fzabbix-api-rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lebe-dev/zabbix-api-rs on toolchain 61223975d46f794466efa832bc7562b9707ecc46 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/lebe-dev/zabbix-api-rs [INFO] finished tweaking git repo https://github.com/lebe-dev/zabbix-api-rs [INFO] tweaked toml for git repo https://github.com/lebe-dev/zabbix-api-rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lebe-dev/zabbix-api-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fake v2.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ff7fff1555dbf724f02f7f9c3c494e7d43aaa00d9ef1c8e2d304bd1d51e9cd8 [INFO] running `Command { std: "docker" "start" "-a" "0ff7fff1555dbf724f02f7f9c3c494e7d43aaa00d9ef1c8e2d304bd1d51e9cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ff7fff1555dbf724f02f7f9c3c494e7d43aaa00d9ef1c8e2d304bd1d51e9cd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ff7fff1555dbf724f02f7f9c3c494e7d43aaa00d9ef1c8e2d304bd1d51e9cd8", kill_on_drop: false }` [INFO] [stdout] 0ff7fff1555dbf724f02f7f9c3c494e7d43aaa00d9ef1c8e2d304bd1d51e9cd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 02397ae101cec6b4bdba7c4264e7374164b5c72e67e86d0be7ddc1502c185ee5 [INFO] running `Command { std: "docker" "start" "-a" "02397ae101cec6b4bdba7c4264e7374164b5c72e67e86d0be7ddc1502c185ee5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling ryu v1.0.16 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling unicode-normalization v0.1.22 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling serde_json v1.0.112 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling h2 v0.3.24 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling zabbix-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.93s [INFO] running `Command { std: "docker" "inspect" "02397ae101cec6b4bdba7c4264e7374164b5c72e67e86d0be7ddc1502c185ee5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02397ae101cec6b4bdba7c4264e7374164b5c72e67e86d0be7ddc1502c185ee5", kill_on_drop: false }` [INFO] [stdout] 02397ae101cec6b4bdba7c4264e7374164b5c72e67e86d0be7ddc1502c185ee5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 901dbf51a915450dfe178f5a25e17c37ca26291d17f51ee41bade7d57aa0deaf [INFO] running `Command { std: "docker" "start" "-a" "901dbf51a915450dfe178f5a25e17c37ca26291d17f51ee41bade7d57aa0deaf", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling aho-corasick v1.1.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling regex-syntax v0.8.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling deunicode v1.4.2 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.23 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.5 [INFO] [stderr] Compiling fake v2.9.2 [INFO] [stderr] Compiling zabbix-api v0.2.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling regex v1.10.3 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 13.20s [INFO] running `Command { std: "docker" "inspect" "901dbf51a915450dfe178f5a25e17c37ca26291d17f51ee41bade7d57aa0deaf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "901dbf51a915450dfe178f5a25e17c37ca26291d17f51ee41bade7d57aa0deaf", kill_on_drop: false }` [INFO] [stdout] 901dbf51a915450dfe178f5a25e17c37ca26291d17f51ee41bade7d57aa0deaf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Copt-level=3" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+61223975d46f794466efa832bc7562b9707ecc46" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b20c337d5b2221166f91f93d23bf8a0fe32182729b68247e36410b13e800d1ef [INFO] running `Command { std: "docker" "start" "-a" "b20c337d5b2221166f91f93d23bf8a0fe32182729b68247e36410b13e800d1ef", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/zabbix_api-35eeb2f352e51b84) [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test client::v6::tests::create_host_group_and_host ... ok [INFO] [stdout] test client::v6::tests::get_api_info ... ok [INFO] [stdout] test client::v6::tests::create_item ... ok [INFO] [stdout] test client::v6::tests::create_trigger ... ok [INFO] [stdout] test client::v6::tests::get_host_groups_test ... ok [INFO] [stdout] test client::v6::tests::get_hosts_test ... ok [INFO] [stdout] test client::v6::tests::create_web_scenario ... ok [INFO] [stdout] test client::v6::tests::get_items_test ... ok [INFO] [stdout] test client::v6::tests::get_triggers_test ... ok [INFO] [stdout] test client::v6::tests::get_webscenarios_test ... ok [INFO] [stdout] test client::v6::tests::raw_api_call_test ... ok [INFO] [stdout] test client::v6::tests::session_should_be_returned ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests zabbix-api [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/client/mod.rs - client::ZabbixApiClient::create_host (line 88) ... FAILED [INFO] [stdout] test src/client/mod.rs - client::ZabbixApiClient::get_hosts (line 37) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/client/mod.rs - client::ZabbixApiClient::create_host (line 88) stdout ---- [INFO] [stdout] error: environment variable `ZABBIX_API_URL` not defined at compile time [INFO] [stdout] --> src/client/mod.rs:102:21 [INFO] [stdout] | [INFO] [stdout] 17 | let zabbix_server = env!("ZABBIX_API_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("ZABBIX_API_URL")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/client/mod.rs - client::ZabbixApiClient::get_hosts (line 37) stdout ---- [INFO] [stdout] error: environment variable `ZABBIX_API_URL` not defined at compile time [INFO] [stdout] --> src/client/mod.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 24 | let zabbix_server = env!("ZABBIX_API_URL"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: use `std::env::var("ZABBIX_API_URL")` to read the variable at run time [INFO] [stdout] = note: this error originates in the macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/client/mod.rs - client::ZabbixApiClient::create_host (line 88) [INFO] [stdout] src/client/mod.rs - client::ZabbixApiClient::get_hosts (line 37) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.05s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b20c337d5b2221166f91f93d23bf8a0fe32182729b68247e36410b13e800d1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b20c337d5b2221166f91f93d23bf8a0fe32182729b68247e36410b13e800d1ef", kill_on_drop: false }` [INFO] [stdout] b20c337d5b2221166f91f93d23bf8a0fe32182729b68247e36410b13e800d1ef