[INFO] fetching crate newrelic_plugin 0.1.0... [INFO] testing newrelic_plugin-0.1.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate newrelic_plugin 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate newrelic_plugin 0.1.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate newrelic_plugin 0.1.0 [INFO] finished tweaking crates.io crate newrelic_plugin 0.1.0 [INFO] tweaked toml for crates.io crate newrelic_plugin 0.1.0 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 959ad7035a573342293b1c9da0f44d8b7addd7dc1a5e1e7f173597f156c52064 [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" "959ad7035a573342293b1c9da0f44d8b7addd7dc1a5e1e7f173597f156c52064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "959ad7035a573342293b1c9da0f44d8b7addd7dc1a5e1e7f173597f156c52064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "959ad7035a573342293b1c9da0f44d8b7addd7dc1a5e1e7f173597f156c52064", kill_on_drop: false }` [INFO] [stdout] 959ad7035a573342293b1c9da0f44d8b7addd7dc1a5e1e7f173597f156c52064 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a590cfed98ec78b854f65a68dfe8d023002e643f419fcb8b365561cc4f60ac3c [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" "a590cfed98ec78b854f65a68dfe8d023002e643f419fcb8b365561cc4f60ac3c", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling curl v0.4.38 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [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 quote v1.0.9 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling openssl-sys v0.9.63 [INFO] [stderr] Compiling libz-sys v1.1.3 [INFO] [stderr] Compiling curl-sys v0.4.44+curl-7.77.0 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_yaml v0.8.17 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling newrelic_plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 21.67s [INFO] running `Command { std: "docker" "inspect" "a590cfed98ec78b854f65a68dfe8d023002e643f419fcb8b365561cc4f60ac3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a590cfed98ec78b854f65a68dfe8d023002e643f419fcb8b365561cc4f60ac3c", kill_on_drop: false }` [INFO] [stdout] a590cfed98ec78b854f65a68dfe8d023002e643f419fcb8b365561cc4f60ac3c [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c95575634811a92b1b8404c3dd4ed5779f93a64307877a2a0069972cc7f8d62 [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" "3c95575634811a92b1b8404c3dd4ed5779f93a64307877a2a0069972cc7f8d62", kill_on_drop: false }` [INFO] [stderr] Compiling newrelic_plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.54s [INFO] running `Command { std: "docker" "inspect" "3c95575634811a92b1b8404c3dd4ed5779f93a64307877a2a0069972cc7f8d62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c95575634811a92b1b8404c3dd4ed5779f93a64307877a2a0069972cc7f8d62", kill_on_drop: false }` [INFO] [stdout] 3c95575634811a92b1b8404c3dd4ed5779f93a64307877a2a0069972cc7f8d62 [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=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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 78af887bd1ecaee461e828506f5b8a3a19d1f4e3ffe3bb00cdbc884cf35039bd [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" "78af887bd1ecaee461e828506f5b8a3a19d1f4e3ffe3bb00cdbc884cf35039bd", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/newrelic_plugin-afe6596fd6e3f7d0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests newrelic_plugin [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/plugin/agent.rs - plugin::agent::Agent (line 18) ... FAILED [INFO] [stdout] test src/plugin/agent.rs - plugin::agent::Agent (line 46) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/plugin/agent.rs - plugin::agent::Agent (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Agent` [INFO] [stdout] --> src/plugin/agent.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 4 | let mut agent = Agent::new("".into(), "1.0.0".into(), "host".into(), 1234); [INFO] [stdout] | ^^^^^ use of undeclared type `Agent` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Agent` in this scope [INFO] [stdout] --> src/plugin/agent.rs:27:22 [INFO] [stdout] | [INFO] [stdout] 11 | fn cycle(agent: &mut Agent){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/plugin/agent.rs - plugin::agent::Agent (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Agent` [INFO] [stdout] --> src/plugin/agent.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 8 | let mut agent = Agent::new("".into(), "1.0.0".into(), "host".into(), 1234); [INFO] [stdout] | ^^^^^ use of undeclared type `Agent` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Agent` in this scope [INFO] [stdout] --> src/plugin/agent.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 14 | fn cycle(agent: &mut Agent){ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot subtract `f64` from `{integer}` [INFO] [stdout] --> src/plugin/agent.rs:65:22 [INFO] [stdout] | [INFO] [stdout] 21 | new_size - prev_size as f64, None [INFO] [stdout] | ^ no implementation for `{integer} - f64` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sub` is not implemented for `{integer}` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0412, E0433. [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/plugin/agent.rs - plugin::agent::Agent (line 18) [INFO] [stdout] src/plugin/agent.rs - plugin::agent::Agent (line 46) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.27s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "78af887bd1ecaee461e828506f5b8a3a19d1f4e3ffe3bb00cdbc884cf35039bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78af887bd1ecaee461e828506f5b8a3a19d1f4e3ffe3bb00cdbc884cf35039bd", kill_on_drop: false }` [INFO] [stdout] 78af887bd1ecaee461e828506f5b8a3a19d1f4e3ffe3bb00cdbc884cf35039bd