[INFO] fetching crate data_registry 2.0.1... [INFO] testing data_registry-2.0.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate data_registry 2.0.1 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate data_registry 2.0.1 [INFO] finished tweaking crates.io crate data_registry 2.0.1 [INFO] tweaked toml for crates.io crate data_registry 2.0.1 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate data_registry 2.0.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 6 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0cb8b1c04bce97fb9478e8227b5f7dc605bb9fc5f95ee61eed510d34b8a00749 [INFO] running `Command { std: "docker" "start" "-a" "0cb8b1c04bce97fb9478e8227b5f7dc605bb9fc5f95ee61eed510d34b8a00749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0cb8b1c04bce97fb9478e8227b5f7dc605bb9fc5f95ee61eed510d34b8a00749", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb8b1c04bce97fb9478e8227b5f7dc605bb9fc5f95ee61eed510d34b8a00749", kill_on_drop: false }` [INFO] [stdout] 0cb8b1c04bce97fb9478e8227b5f7dc605bb9fc5f95ee61eed510d34b8a00749 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c70e0e6ba58b282ecf95a5c24fc99b58fede4e017788972037d346008d6fff [INFO] running `Command { std: "docker" "start" "-a" "89c70e0e6ba58b282ecf95a5c24fc99b58fede4e017788972037d346008d6fff", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling data_registry v2.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.68s [INFO] running `Command { std: "docker" "inspect" "89c70e0e6ba58b282ecf95a5c24fc99b58fede4e017788972037d346008d6fff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c70e0e6ba58b282ecf95a5c24fc99b58fede4e017788972037d346008d6fff", kill_on_drop: false }` [INFO] [stdout] 89c70e0e6ba58b282ecf95a5c24fc99b58fede4e017788972037d346008d6fff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f046e9764efdb30a070b1e7ca130e8221d5ba2ad20601807f017fd1f50eec77 [INFO] running `Command { std: "docker" "start" "-a" "0f046e9764efdb30a070b1e7ca130e8221d5ba2ad20601807f017fd1f50eec77", kill_on_drop: false }` [INFO] [stderr] Compiling data_registry v2.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.45s [INFO] running `Command { std: "docker" "inspect" "0f046e9764efdb30a070b1e7ca130e8221d5ba2ad20601807f017fd1f50eec77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f046e9764efdb30a070b1e7ca130e8221d5ba2ad20601807f017fd1f50eec77", kill_on_drop: false }` [INFO] [stdout] 0f046e9764efdb30a070b1e7ca130e8221d5ba2ad20601807f017fd1f50eec77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 969960eb870bf42c0915c71920d4aac26b26580cbaccf365d302ca14c3bb90b4 [INFO] running `Command { std: "docker" "start" "-a" "969960eb870bf42c0915c71920d4aac26b26580cbaccf365d302ca14c3bb90b4", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/data_registry-cae815e42f0d3cf6) [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 data_registry [INFO] [stdout] [INFO] [stdout] running 10 tests [INFO] [stdout] test src/lib.rs - Registry (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - Registry (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::capacity (line 251) ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - Registry (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::with_capacity (line 210) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::new (line 171) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - Registry (line 123) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:124:11 [INFO] [stdout] | [INFO] [stdout] 3 | let reg = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Registry (line 90) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:91:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut reg = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found macro `vec` [INFO] [stdout] --> src/lib.rs:98:12 [INFO] [stdout] | [INFO] [stdout] 10 | assert_eq!(vec.remove(two), Some(2)); [INFO] [stdout] | ^^^ not a value [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0423, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0423`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 32) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 3 | let r: Registry = Registry::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:33:24 [INFO] [stdout] | [INFO] [stdout] 3 | let r: Registry = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [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/lib.rs - Registry::capacity (line 251) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:252:14 [INFO] [stdout] | [INFO] [stdout] 3 | let mut reg: Registry = Registry::with_capacity(10); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:252:30 [INFO] [stdout] | [INFO] [stdout] 3 | let mut reg: Registry = Registry::with_capacity(10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [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/lib.rs - (line 46) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut r = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 55) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut r = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Registry (line 114) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 3 | let reg = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Registry::with_capacity (line 210) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:211:20 [INFO] [stdout] | [INFO] [stdout] 3 | let mut registry = Registry::with_capacity(10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:231:22 [INFO] [stdout] | [INFO] [stdout] 23 | let registry_units = Registry::<()>::with_capacity(10); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Registry::new (line 171) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 5 | let mut reg: Registry = Registry::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:174:30 [INFO] [stdout] | [INFO] [stdout] 5 | let mut reg: Registry = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use data_registry::Registry; [INFO] [stdout] | [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/lib.rs - (line 38) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Registry` [INFO] [stdout] --> src/lib.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut r = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 + use data_registry::Registry; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 32) [INFO] [stdout] src/lib.rs - (line 38) [INFO] [stdout] src/lib.rs - (line 46) [INFO] [stdout] src/lib.rs - (line 55) [INFO] [stdout] src/lib.rs - Registry (line 114) [INFO] [stdout] src/lib.rs - Registry (line 123) [INFO] [stdout] src/lib.rs - Registry (line 90) [INFO] [stdout] src/lib.rs - Registry::capacity (line 251) [INFO] [stdout] src/lib.rs - Registry::new (line 171) [INFO] [stdout] src/lib.rs - Registry::with_capacity (line 210) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 10 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.24s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "969960eb870bf42c0915c71920d4aac26b26580cbaccf365d302ca14c3bb90b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "969960eb870bf42c0915c71920d4aac26b26580cbaccf365d302ca14c3bb90b4", kill_on_drop: false }` [INFO] [stdout] 969960eb870bf42c0915c71920d4aac26b26580cbaccf365d302ca14c3bb90b4