[INFO] cloning repository https://github.com/bjeanes/heroku-drain-datadog [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bjeanes/heroku-drain-datadog" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjeanes%2Fheroku-drain-datadog", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjeanes%2Fheroku-drain-datadog'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c07d238aa5e987449bf89e6ee9ae695b790ab1c2 [INFO] testing bjeanes/heroku-drain-datadog against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbjeanes%2Fheroku-drain-datadog" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bjeanes/heroku-drain-datadog on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bjeanes/heroku-drain-datadog [INFO] finished tweaking git repo https://github.com/bjeanes/heroku-drain-datadog [INFO] tweaked toml for git repo https://github.com/bjeanes/heroku-drain-datadog written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/bjeanes/heroku-drain-datadog already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d695b40b58e8d47033830f31556054384e67cffecb365bf142547e055811161 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7d695b40b58e8d47033830f31556054384e67cffecb365bf142547e055811161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d695b40b58e8d47033830f31556054384e67cffecb365bf142547e055811161", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d695b40b58e8d47033830f31556054384e67cffecb365bf142547e055811161", kill_on_drop: false }` [INFO] [stdout] 7d695b40b58e8d47033830f31556054384e67cffecb365bf142547e055811161 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1ff4c43b02156243fc88c9cdf5844e10f18d0cb3e205d7822c0ce5b4c813914 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "e1ff4c43b02156243fc88c9cdf5844e10f18d0cb3e205d7822c0ce5b4c813914", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling build_const v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.7 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling httparse v1.3.3 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling remove_dir_all v0.5.1 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling safemem v0.3.0 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling itoa v0.4.3 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling rand_core v0.2.2 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling term v0.5.1 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling crc v1.8.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling phf_shared v0.7.23 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling phf v0.7.23 [INFO] [stderr] Compiling gzip-header v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling deflate v0.7.19 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling time v0.1.41 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling num_cpus v1.9.0 [INFO] [stderr] Compiling filetime v0.2.4 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.1 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling phf_generator v0.7.23 [INFO] [stderr] Compiling phf_codegen v0.7.23 [INFO] [stderr] Compiling mime_guess v1.8.6 [INFO] [stderr] Compiling tiny_http v0.6.1 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling multipart v0.15.4 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling syslog_heroku v0.1.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling rouille v3.0.0 [INFO] [stderr] Compiling heroku-drain-datadog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | fn next_message(body: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn next_message(body: &mut BufRead) -> Result { [INFO] [stdout] 102 + fn next_message(body: &mut dyn BufRead) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "e1ff4c43b02156243fc88c9cdf5844e10f18d0cb3e205d7822c0ce5b4c813914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1ff4c43b02156243fc88c9cdf5844e10f18d0cb3e205d7822c0ce5b4c813914", kill_on_drop: false }` [INFO] [stdout] e1ff4c43b02156243fc88c9cdf5844e10f18d0cb3e205d7822c0ce5b4c813914 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4d8b3cb2ad4d4bddfc8ab4aff88597b4ecc2ac94540b02db296cea6a838f6e9 [INFO] running `Command { std: "docker" "start" "-a" "d4d8b3cb2ad4d4bddfc8ab4aff88597b4ecc2ac94540b02db296cea6a838f6e9", kill_on_drop: false }` [INFO] [stderr] Compiling stringreader v0.1.1 [INFO] [stderr] Compiling heroku-drain-datadog v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:102:28 [INFO] [stdout] | [INFO] [stdout] 102 | fn next_message(body: &mut BufRead) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 102 - fn next_message(body: &mut BufRead) -> Result { [INFO] [stdout] 102 + fn next_message(body: &mut dyn BufRead) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.35s [INFO] running `Command { std: "docker" "inspect" "d4d8b3cb2ad4d4bddfc8ab4aff88597b4ecc2ac94540b02db296cea6a838f6e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d8b3cb2ad4d4bddfc8ab4aff88597b4ecc2ac94540b02db296cea6a838f6e9", kill_on_drop: false }` [INFO] [stdout] d4d8b3cb2ad4d4bddfc8ab4aff88597b4ecc2ac94540b02db296cea6a838f6e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2db2f09787c00059e1dd746d278af1de7b390d938e3a6dfb2cb4941b3430cbd8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2db2f09787c00059e1dd746d278af1de7b390d938e3a6dfb2cb4941b3430cbd8", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:102:28 [INFO] [stderr] | [INFO] [stderr] 102 | fn next_message(body: &mut BufRead) -> Result { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 102 - fn next_message(body: &mut BufRead) -> Result { [INFO] [stderr] 102 + fn next_message(body: &mut dyn BufRead) -> Result { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `heroku-drain-datadog` (bin "heroku-drain-datadog" test) generated 1 warning [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/heroku_drain_datadog-f737e9ad71287ccf) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_parses_messages_from_bufreader ... 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] running `Command { std: "docker" "inspect" "2db2f09787c00059e1dd746d278af1de7b390d938e3a6dfb2cb4941b3430cbd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db2f09787c00059e1dd746d278af1de7b390d938e3a6dfb2cb4941b3430cbd8", kill_on_drop: false }` [INFO] [stdout] 2db2f09787c00059e1dd746d278af1de7b390d938e3a6dfb2cb4941b3430cbd8