[INFO] crate newrelic_plugin 0.1.0 is already in cache [INFO] testing newrelic_plugin-0.1.0 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate newrelic_plugin 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate newrelic_plugin 0.1.0 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [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-4/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 740b19cee445c878707ae773c82d07db6bf141f2cc447bfb49d2332b44c63199 [INFO] running `"docker" "start" "-a" "740b19cee445c878707ae773c82d07db6bf141f2cc447bfb49d2332b44c63199"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling curl v0.4.28 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.30+curl-7.69.1 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling serde_yaml v0.8.11 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling openssl-sys v0.9.55 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-iter v0.1.40 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [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 1m 05s [INFO] running `"docker" "inspect" "740b19cee445c878707ae773c82d07db6bf141f2cc447bfb49d2332b44c63199"` [INFO] running `"docker" "rm" "-f" "740b19cee445c878707ae773c82d07db6bf141f2cc447bfb49d2332b44c63199"` [INFO] [stdout] 740b19cee445c878707ae773c82d07db6bf141f2cc447bfb49d2332b44c63199 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 5dc296d148f6c6fe048819330958d33b6395366c2868f4c7515118af158a3737 [INFO] running `"docker" "start" "-a" "5dc296d148f6c6fe048819330958d33b6395366c2868f4c7515118af158a3737"` [INFO] [stderr] Compiling newrelic_plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.75s [INFO] running `"docker" "inspect" "5dc296d148f6c6fe048819330958d33b6395366c2868f4c7515118af158a3737"` [INFO] running `"docker" "rm" "-f" "5dc296d148f6c6fe048819330958d33b6395366c2868f4c7515118af158a3737"` [INFO] [stdout] 5dc296d148f6c6fe048819330958d33b6395366c2868f4c7515118af158a3737 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d44348741903bb6f884428c5ad818378ac93a780710e408b7f7bffabd613a341 [INFO] running `"docker" "start" "-a" "d44348741903bb6f884428c5ad818378ac93a780710e408b7f7bffabd613a341"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.33s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/newrelic_plugin-84fd7b08a39230d2 [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 [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 46) ... FAILED [INFO] [stdout] test src/plugin/agent.rs - plugin::agent::Agent (line 18) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/plugin/agent.rs - plugin::agent::Agent (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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 `std::ops::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] ---- src/plugin/agent.rs - plugin::agent::Agent (line 18) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `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 or module `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] [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 [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "d44348741903bb6f884428c5ad818378ac93a780710e408b7f7bffabd613a341"` [INFO] running `"docker" "rm" "-f" "d44348741903bb6f884428c5ad818378ac93a780710e408b7f7bffabd613a341"` [INFO] [stdout] d44348741903bb6f884428c5ad818378ac93a780710e408b7f7bffabd613a341