[INFO] cloning repository https://github.com/peterall/victoria-metrics-writer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/peterall/victoria-metrics-writer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterall%2Fvictoria-metrics-writer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterall%2Fvictoria-metrics-writer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b0ec6f22f3063a92934b566cb7f527381caa6135
[INFO] testing peterall/victoria-metrics-writer against 1.94.0 for beta-1.95-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpeterall%2Fvictoria-metrics-writer" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/peterall/victoria-metrics-writer
[INFO] finished tweaking git repo https://github.com/peterall/victoria-metrics-writer
[INFO] tweaked toml for git repo https://github.com/peterall/victoria-metrics-writer written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/peterall/victoria-metrics-writer on toolchain 1.94.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/peterall/victoria-metrics-writer 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" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.0.76
[INFO] [stderr]   Downloaded scratch v1.0.2
[INFO] [stderr]   Downloaded ipnet v2.5.1
[INFO] [stderr]   Downloaded cxxbridge-flags v1.0.81
[INFO] [stderr]   Downloaded link-cplusplus v1.0.7
[INFO] [stderr]   Downloaded serde_derive v1.0.147
[INFO] [stderr]   Downloaded cxxbridge-macro v1.0.81
[INFO] [stderr]   Downloaded cxx-build v1.0.81
[INFO] [stderr]   Downloaded serde v1.0.147
[INFO] [stderr]   Downloaded reqwest v0.11.12
[INFO] [stderr]   Downloaded serde_json v1.0.87
[INFO] [stderr]   Downloaded cxx v1.0.81
[INFO] [stderr]   Downloaded syn v1.0.103
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1cdb66ff3404db6336d0fc99c0b4d00c56b49174e157cbc52709e9a445ff171f
[INFO] running `Command { std: "docker" "start" "-a" "1cdb66ff3404db6336d0fc99c0b4d00c56b49174e157cbc52709e9a445ff171f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1cdb66ff3404db6336d0fc99c0b4d00c56b49174e157cbc52709e9a445ff171f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1cdb66ff3404db6336d0fc99c0b4d00c56b49174e157cbc52709e9a445ff171f", kill_on_drop: false }`
[INFO] [stdout] 1cdb66ff3404db6336d0fc99c0b4d00c56b49174e157cbc52709e9a445ff171f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5a3a4c22fa0df1506a822644e936f23858302262dd36feb545a103c73d81fc6f
[INFO] running `Command { std: "docker" "start" "-a" "5a3a4c22fa0df1506a822644e936f23858302262dd36feb545a103c73d81fc6f", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.47
[INFO] [stderr]    Compiling unicode-ident v1.0.5
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.103
[INFO] [stderr]    Compiling serde_derive v1.0.147
[INFO] [stderr]    Compiling itoa v1.0.4
[INFO] [stderr]    Compiling tokio v1.21.2
[INFO] [stderr]    Compiling futures-task v0.3.25
[INFO] [stderr]    Compiling serde v1.0.147
[INFO] [stderr]    Compiling tracing-core v0.1.30
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling mio v0.8.5
[INFO] [stderr]    Compiling futures-util v0.3.25
[INFO] [stderr]    Compiling num-traits v0.2.15
[INFO] [stderr]    Compiling futures-sink v0.3.25
[INFO] [stderr]    Compiling futures-channel v0.3.25
[INFO] [stderr]    Compiling http v0.2.8
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling ryu v1.0.11
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling thiserror v1.0.37
[INFO] [stderr]    Compiling serde_json v1.0.87
[INFO] [stderr]    Compiling url v2.3.1
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling ipnet v2.5.1
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling tokio-macros v1.8.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.37
[INFO] [stderr]    Compiling tokio-util v0.7.4
[INFO] [stderr]    Compiling h2 v0.3.15
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling chrono v0.4.23
[INFO] [stderr]    Compiling hyper v0.14.23
[INFO] [stderr]    Compiling reqwest v0.11.12
[INFO] [stderr]    Compiling victoria-metrics-writer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.53s
[INFO] running `Command { std: "docker" "inspect" "5a3a4c22fa0df1506a822644e936f23858302262dd36feb545a103c73d81fc6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5a3a4c22fa0df1506a822644e936f23858302262dd36feb545a103c73d81fc6f", kill_on_drop: false }`
[INFO] [stdout] 5a3a4c22fa0df1506a822644e936f23858302262dd36feb545a103c73d81fc6f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 86116bb6bd769a4be6a1f2afacd6bf593db172a879d078703c1ee31ce91f5893
[INFO] running `Command { std: "docker" "start" "-a" "86116bb6bd769a4be6a1f2afacd6bf593db172a879d078703c1ee31ce91f5893", kill_on_drop: false }`
[INFO] [stderr]    Compiling victoria-metrics-writer v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.23s
[INFO] running `Command { std: "docker" "inspect" "86116bb6bd769a4be6a1f2afacd6bf593db172a879d078703c1ee31ce91f5893", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "86116bb6bd769a4be6a1f2afacd6bf593db172a879d078703c1ee31ce91f5893", kill_on_drop: false }`
[INFO] [stdout] 86116bb6bd769a4be6a1f2afacd6bf593db172a879d078703c1ee31ce91f5893
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 3bf4ace94011a5942bacbfa0202ce1424221cfeb3f3e4be3129bec09422d9d5b
[INFO] running `Command { std: "docker" "start" "-a" "3bf4ace94011a5942bacbfa0202ce1424221cfeb3f3e4be3129bec09422d9d5b", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.15s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/victoria_metrics_writer-4ddbe7be6548ab10)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test tests::test_metric ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests victoria_metrics_writer
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 4) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 4) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MetricsWriter`
[INFO] [stdout]  --> src/lib.rs:5:18
[INFO] [stdout]   |
[INFO] [stdout] 5 | let mut writer = MetricsWriter::new("localhost:8428");
[INFO] [stdout]   |                  ^^^^^^^^^^^^^ use of undeclared type `MetricsWriter`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use victoria_metrics_writer::MetricsWriter;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap`
[INFO] [stdout]  --> src/lib.rs:9:6
[INFO] [stdout]   |
[INFO] [stdout] 9 |     &BTreeMap::from([("job", "node_exporter"), ("instance", "localhost:9100")]),
[INFO] [stdout]   |      ^^^^^^^^ use of undeclared type `BTreeMap`
[INFO] [stdout]   |
[INFO] [stdout] help: consider importing this struct
[INFO] [stdout]   |
[INFO] [stdout] 4 + use std::collections::BTreeMap;
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope
[INFO] [stdout]   --> src/lib.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         Utc.timestamp_millis_opt(1549891472010).unwrap(),
[INFO] [stdout]    |         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use chrono::Utc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope
[INFO] [stdout]   --> src/lib.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Utc.timestamp_millis_opt(1549891487724).unwrap(),
[INFO] [stdout]    |         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use chrono::Utc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `Utc` in this scope
[INFO] [stdout]   --> src/lib.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |         Utc.timestamp_millis_opt(1549891503438).unwrap(),
[INFO] [stdout]    |         ^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing this unit struct
[INFO] [stdout]    |
[INFO] [stdout]  4 + use chrono::Utc;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] error[E0728]: `await` is only allowed inside `async` functions and blocks
[INFO] [stdout]   --> src/lib.rs:18:15
[INFO] [stdout]    |
[INFO] [stdout]  4 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_4_0() {
[INFO] [stdout]    |                                      --------------------------------- this is not `async`
[INFO] [stdout] ...
[INFO] [stdout] 18 | writer.send().await?;
[INFO] [stdout]    |               ^^^^^ only allowed inside `async` functions and blocks
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 6 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0728.
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 4)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.25s
[INFO] [stdout] 
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "3bf4ace94011a5942bacbfa0202ce1424221cfeb3f3e4be3129bec09422d9d5b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3bf4ace94011a5942bacbfa0202ce1424221cfeb3f3e4be3129bec09422d9d5b", kill_on_drop: false }`
[INFO] [stdout] 3bf4ace94011a5942bacbfa0202ce1424221cfeb3f3e4be3129bec09422d9d5b
