[INFO] fetching crate data_registry 2.0.1... [INFO] testing data_registry-2.0.1 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate data_registry 2.0.1 into /workspace/builds/worker-5-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-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate data_registry 2.0.1 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 269e9f7019c93c773059bedcc965162aa78abfd20017812a627b2201f05b3071 [INFO] running `Command { std: "docker" "start" "-a" "269e9f7019c93c773059bedcc965162aa78abfd20017812a627b2201f05b3071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "269e9f7019c93c773059bedcc965162aa78abfd20017812a627b2201f05b3071", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "269e9f7019c93c773059bedcc965162aa78abfd20017812a627b2201f05b3071", kill_on_drop: false }` [INFO] [stdout] 269e9f7019c93c773059bedcc965162aa78abfd20017812a627b2201f05b3071 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9a74f7fe01c8f2b92c1fe27af7704cc9ccf2b97e1b27ae620fa2bfa0bead2c7b [INFO] running `Command { std: "docker" "start" "-a" "9a74f7fe01c8f2b92c1fe27af7704cc9ccf2b97e1b27ae620fa2bfa0bead2c7b", 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.73s [INFO] running `Command { std: "docker" "inspect" "9a74f7fe01c8f2b92c1fe27af7704cc9ccf2b97e1b27ae620fa2bfa0bead2c7b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a74f7fe01c8f2b92c1fe27af7704cc9ccf2b97e1b27ae620fa2bfa0bead2c7b", kill_on_drop: false }` [INFO] [stdout] 9a74f7fe01c8f2b92c1fe27af7704cc9ccf2b97e1b27ae620fa2bfa0bead2c7b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e141de8991856d2da52044f14aa0d99ce3e8d84e0be1dd081411deb95c917cd [INFO] running `Command { std: "docker" "start" "-a" "1e141de8991856d2da52044f14aa0d99ce3e8d84e0be1dd081411deb95c917cd", 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.36s [INFO] running `Command { std: "docker" "inspect" "1e141de8991856d2da52044f14aa0d99ce3e8d84e0be1dd081411deb95c917cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e141de8991856d2da52044f14aa0d99ce3e8d84e0be1dd081411deb95c917cd", kill_on_drop: false }` [INFO] [stdout] 1e141de8991856d2da52044f14aa0d99ce3e8d84e0be1dd081411deb95c917cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2a7171760088f9ace3739494f2b3729e90f1fcaa63276386c0ea671d884c9e9f [INFO] running `Command { std: "docker" "start" "-a" "2a7171760088f9ace3739494f2b3729e90f1fcaa63276386c0ea671d884c9e9f", 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-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 114) ... FAILED [INFO] [stdout] test src/lib.rs - Registry (line 123) ... 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 - Registry (line 90) ... FAILED [INFO] [stdout] test src/lib.rs - (line 55) ... FAILED [INFO] [stdout] test src/lib.rs - (line 38) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::new (line 171) ... FAILED [INFO] [stdout] test src/lib.rs - Registry::with_capacity (line 210) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 (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 - (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 - 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 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 - (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] ---- 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 - 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] [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.64s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "2a7171760088f9ace3739494f2b3729e90f1fcaa63276386c0ea671d884c9e9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a7171760088f9ace3739494f2b3729e90f1fcaa63276386c0ea671d884c9e9f", kill_on_drop: false }` [INFO] [stdout] 2a7171760088f9ace3739494f2b3729e90f1fcaa63276386c0ea671d884c9e9f