[INFO] crate newrelic_plugin 0.1.0 is already in cache [INFO] testing newrelic_plugin-0.1.0 against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] extracting crate newrelic_plugin 0.1.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate newrelic_plugin 0.1.0 on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", 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] 9b2f887950de52545557082254b0152b9f60e76d3f7f3a706cb29662465d0090 [INFO] running `Command { std: "docker" "start" "-a" "9b2f887950de52545557082254b0152b9f60e76d3f7f3a706cb29662465d0090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b2f887950de52545557082254b0152b9f60e76d3f7f3a706cb29662465d0090", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b2f887950de52545557082254b0152b9f60e76d3f7f3a706cb29662465d0090", kill_on_drop: false }` [INFO] [stdout] 9b2f887950de52545557082254b0152b9f60e76d3f7f3a706cb29662465d0090 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d03ac1795cbbf8245336c154d96c1229030ab37d8132bdfcc0eebe5763b878d [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" "4d03ac1795cbbf8245336c154d96c1229030ab37d8132bdfcc0eebe5763b878d", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling curl v0.4.31 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling arc-swap v0.3.11 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling flate2 v1.0.16 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling curl-sys v0.4.33+curl-7.71.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling ordered-float v1.1.0 [INFO] [stderr] Compiling chrono v0.4.13 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_yaml v0.8.13 [INFO] [stderr] Compiling serde_json v1.0.56 [INFO] [stderr] Compiling serde-value v0.5.3 [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 `Command { std: "docker" "inspect" "4d03ac1795cbbf8245336c154d96c1229030ab37d8132bdfcc0eebe5763b878d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d03ac1795cbbf8245336c154d96c1229030ab37d8132bdfcc0eebe5763b878d", kill_on_drop: false }` [INFO] [stdout] 4d03ac1795cbbf8245336c154d96c1229030ab37d8132bdfcc0eebe5763b878d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9711b78d526fdc93586068da0b466dcecc37f4cdec42b37ec225db3ee733a011 [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" "9711b78d526fdc93586068da0b466dcecc37f4cdec42b37ec225db3ee733a011", kill_on_drop: false }` [INFO] [stderr] Compiling newrelic_plugin v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.66s [INFO] running `Command { std: "docker" "inspect" "9711b78d526fdc93586068da0b466dcecc37f4cdec42b37ec225db3ee733a011", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9711b78d526fdc93586068da0b466dcecc37f4cdec42b37ec225db3ee733a011", kill_on_drop: false }` [INFO] [stdout] 9711b78d526fdc93586068da0b466dcecc37f4cdec42b37ec225db3ee733a011 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 3e93214cf3cf565efb07f66e6e8ff5be70b9ec7df1a5280433a9bba8f52355ab [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" "3e93214cf3cf565efb07f66e6e8ff5be70b9ec7df1a5280433a9bba8f52355ab", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stdout] running 0 tests [INFO] [stderr] Running /opt/rustwide/target/debug/deps/newrelic_plugin-e69e09008cba1b71 [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 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 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] ---- 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] [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 `Command { std: "docker" "inspect" "3e93214cf3cf565efb07f66e6e8ff5be70b9ec7df1a5280433a9bba8f52355ab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e93214cf3cf565efb07f66e6e8ff5be70b9ec7df1a5280433a9bba8f52355ab", kill_on_drop: false }` [INFO] [stdout] 3e93214cf3cf565efb07f66e6e8ff5be70b9ec7df1a5280433a9bba8f52355ab