[INFO] fetching crate data_registry 2.0.1... [INFO] testing data_registry-2.0.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate data_registry 2.0.1 into /workspace/builds/worker-2-tc2/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-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate data_registry 2.0.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 7 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e2e720b0de7c0170b468a564497bd921f006cba42b2fa0a6056b5727de6a886 [INFO] running `Command { std: "docker" "start" "-a" "9e2e720b0de7c0170b468a564497bd921f006cba42b2fa0a6056b5727de6a886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e2e720b0de7c0170b468a564497bd921f006cba42b2fa0a6056b5727de6a886", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e2e720b0de7c0170b468a564497bd921f006cba42b2fa0a6056b5727de6a886", kill_on_drop: false }` [INFO] [stdout] 9e2e720b0de7c0170b468a564497bd921f006cba42b2fa0a6056b5727de6a886 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8cb457c771cbd3206decc9483f5221e71911982c4a9228f129817960f0b2f7d9 [INFO] running `Command { std: "docker" "start" "-a" "8cb457c771cbd3206decc9483f5221e71911982c4a9228f129817960f0b2f7d9", kill_on_drop: false }` [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling data_registry v2.0.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.70s [INFO] running `Command { std: "docker" "inspect" "8cb457c771cbd3206decc9483f5221e71911982c4a9228f129817960f0b2f7d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8cb457c771cbd3206decc9483f5221e71911982c4a9228f129817960f0b2f7d9", kill_on_drop: false }` [INFO] [stdout] 8cb457c771cbd3206decc9483f5221e71911982c4a9228f129817960f0b2f7d9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6bd7e53c371d5a851e773386304c7779b6ead2227c8810b8cb0bc3855802f72 [INFO] running `Command { std: "docker" "start" "-a" "f6bd7e53c371d5a851e773386304c7779b6ead2227c8810b8cb0bc3855802f72", 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.48s [INFO] running `Command { std: "docker" "inspect" "f6bd7e53c371d5a851e773386304c7779b6ead2227c8810b8cb0bc3855802f72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6bd7e53c371d5a851e773386304c7779b6ead2227c8810b8cb0bc3855802f72", kill_on_drop: false }` [INFO] [stdout] f6bd7e53c371d5a851e773386304c7779b6ead2227c8810b8cb0bc3855802f72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 0ab5873cdaeccc8de852cc9880079889594f4978cbd31116771e8eedcb3034bb [INFO] running `Command { std: "docker" "start" "-a" "0ab5873cdaeccc8de852cc9880079889594f4978cbd31116771e8eedcb3034bb", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/data_registry-95bfc8401bd0aab5) [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 - (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::capacity (line 251) ... FAILED [INFO] [stdout] test src/lib.rs - Registry (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - Registry (line 114) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::new (line 171) ... FAILED [INFO] [stdout] test src/lib.rs - (line 32) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::with_capacity (line 210) ... FAILED [INFO] [stdout] test src/lib.rs - Registry (line 90) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] 47 | 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] 46 + 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::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] 252 | 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] 251 + 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] 252 | 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] 251 + 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 (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] 124 | let reg = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 123 + 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] 115 | let reg = Registry::new(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Registry` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 114 + 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 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] 39 | 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] 38 + 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] 56 | 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] 55 + 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::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] 174 | 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] 173 + 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] 174 | 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] 173 + 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 32) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Registry` in this scope [INFO] [stdout] --> src/lib.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | 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] 32 + 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] 33 | 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] 32 + 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::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] 211 | 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] 210 + 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] 231 | 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] 210 + 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 (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] 91 | 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] 90 + 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] 98 | 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] [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.27s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "0ab5873cdaeccc8de852cc9880079889594f4978cbd31116771e8eedcb3034bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ab5873cdaeccc8de852cc9880079889594f4978cbd31116771e8eedcb3034bb", kill_on_drop: false }` [INFO] [stdout] 0ab5873cdaeccc8de852cc9880079889594f4978cbd31116771e8eedcb3034bb