[INFO] fetching crate docdb 0.1.0...
[INFO] checking docdb-0.1.0 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate docdb 0.1.0 into /workspace/builds/worker-6-tc2/source
[INFO] validating manifest of crates.io crate docdb 0.1.0 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate docdb 0.1.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate docdb 0.1.0
[INFO] tweaked toml for crates.io crate docdb 0.1.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] crate crates.io crate docdb 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c465c8d7f1376d04c6286336e703e17af1edc58d13dcd08625a8e0891c5275d5
[INFO] running `Command { std: "docker" "start" "-a" "c465c8d7f1376d04c6286336e703e17af1edc58d13dcd08625a8e0891c5275d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c465c8d7f1376d04c6286336e703e17af1edc58d13dcd08625a8e0891c5275d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c465c8d7f1376d04c6286336e703e17af1edc58d13dcd08625a8e0891c5275d5", kill_on_drop: false }`
[INFO] [stdout] c465c8d7f1376d04c6286336e703e17af1edc58d13dcd08625a8e0891c5275d5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] db4abac33d8a983876baa2759dd785cec0892144a3502d6c0dadd875da64f705
[INFO] running `Command { std: "docker" "start" "-a" "db4abac33d8a983876baa2759dd785cec0892144a3502d6c0dadd875da64f705", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.204
[INFO] [stderr]    Compiling serde_json v1.0.120
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling quote v1.0.36
[INFO] [stderr]     Checking fs2 v0.4.3
[INFO] [stderr]    Compiling syn v2.0.71
[INFO] [stderr]    Compiling serde_derive v1.0.204
[INFO] [stderr]     Checking docdb v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `docdb::SerializationMethod`
[INFO] [stdout]  --> tests/common/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use docdb::SerializationMethod;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `docdb::SerializationMethod`
[INFO] [stdout]  --> tests/common/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use docdb::SerializationMethod;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `docdb::SerializationMethod`
[INFO] [stdout]  --> tests/common/mod.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use docdb::SerializationMethod;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> tests/common/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TestResources {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(file: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_bin` found for struct `DocDb` in the current scope
[INFO] [stdout]    --> tests/error_test.rs:22:30
[INFO] [stdout]     |
[INFO] [stdout] 22  |     let load_as_bin = DocDb::load_bin("json_db.db", DumpPolicy::NeverDump);
[INFO] [stdout]     |                              ^^^^^^^^ function or associated item not found in `DocDb`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `DocDb` consider using one of the following associated functions:
[INFO] [stdout]       DocDb::new
[INFO] [stdout]       DocDb::new_json
[INFO] [stdout]       DocDb::load
[INFO] [stdout]       DocDb::load_read_only
[INFO] [stdout]       DocDb::load_json
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:34:5
[INFO] [stdout]     |
[INFO] [stdout] 34  | /     pub fn new<P: AsRef<Path>>(
[INFO] [stdout] 35  | |         db_path: P,
[INFO] [stdout] 36  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 37  | |         serialize_method: SerializationMethod,
[INFO] [stdout] 38  | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 52  |       pub fn new_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Self {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 95  | /     pub fn load_read_only<P: AsRef<Path>>(
[INFO] [stdout] 96  | |         db_path: P,
[INFO] [stdout] 97  | |         serialization_method: SerializationMethod,
[INFO] [stdout] 98  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 103 |       pub fn load_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Result<Self> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `load` with a similar name
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:66:5
[INFO] [stdout]     |
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_yaml` found for struct `DocDb` in the current scope
[INFO] [stdout]    --> tests/error_test.rs:33:20
[INFO] [stdout]     |
[INFO] [stdout] 33  |     assert!(DocDb::load_yaml("json_db.db", DumpPolicy::NeverDump).is_ok());
[INFO] [stdout]     |                    ^^^^^^^^^ function or associated item not found in `DocDb`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `DocDb` consider using one of the following associated functions:
[INFO] [stdout]       DocDb::new
[INFO] [stdout]       DocDb::new_json
[INFO] [stdout]       DocDb::load
[INFO] [stdout]       DocDb::load_read_only
[INFO] [stdout]       DocDb::load_json
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:34:5
[INFO] [stdout]     |
[INFO] [stdout] 34  | /     pub fn new<P: AsRef<Path>>(
[INFO] [stdout] 35  | |         db_path: P,
[INFO] [stdout] 36  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 37  | |         serialize_method: SerializationMethod,
[INFO] [stdout] 38  | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 52  |       pub fn new_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Self {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 95  | /     pub fn load_read_only<P: AsRef<Path>>(
[INFO] [stdout] 96  | |         db_path: P,
[INFO] [stdout] 97  | |         serialization_method: SerializationMethod,
[INFO] [stdout] 98  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 103 |       pub fn load_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Result<Self> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `load_bin` found for struct `DocDb` in the current scope
[INFO] [stdout]    --> tests/error_test.rs:38:27
[INFO] [stdout]     |
[INFO] [stdout] 38  |     let load_ret = DocDb::load_bin("not_exists.db", DumpPolicy::NeverDump);
[INFO] [stdout]     |                           ^^^^^^^^ function or associated item not found in `DocDb`
[INFO] [stdout]     |
[INFO] [stdout] note: if you're trying to build a new `DocDb` consider using one of the following associated functions:
[INFO] [stdout]       DocDb::new
[INFO] [stdout]       DocDb::new_json
[INFO] [stdout]       DocDb::load
[INFO] [stdout]       DocDb::load_read_only
[INFO] [stdout]       DocDb::load_json
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:34:5
[INFO] [stdout]     |
[INFO] [stdout] 34  | /     pub fn new<P: AsRef<Path>>(
[INFO] [stdout] 35  | |         db_path: P,
[INFO] [stdout] 36  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 37  | |         serialize_method: SerializationMethod,
[INFO] [stdout] 38  | |     ) -> Self {
[INFO] [stdout]     | |_____________^
[INFO] [stdout] ...
[INFO] [stdout] 52  |       pub fn new_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Self {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 95  | /     pub fn load_read_only<P: AsRef<Path>>(
[INFO] [stdout] 96  | |         db_path: P,
[INFO] [stdout] 97  | |         serialization_method: SerializationMethod,
[INFO] [stdout] 98  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] ...
[INFO] [stdout] 103 |       pub fn load_json<P: AsRef<Path>>(db_path: P, dump_policy: DumpPolicy) -> Result<Self> {
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] help: there is an associated function `load` with a similar name
[INFO] [stdout]    --> /opt/rustwide/workdir/src/db.rs:66:5
[INFO] [stdout]     |
[INFO] [stdout] 66  | /     pub fn load<P: AsRef<Path>>(
[INFO] [stdout] 67  | |         db_path: P,
[INFO] [stdout] 68  | |         dump_policy: DumpPolicy,
[INFO] [stdout] 69  | |         ser_method: SerializationMethod,
[INFO] [stdout] 70  | |     ) -> Result<DocDb> {
[INFO] [stdout]     | |______________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: a method with this name may be added to the standard library in the future
[INFO] [stdout]   --> tests/error_test.rs:93:13
[INFO] [stdout]    |
[INFO] [stdout] 93 |     db_file.unlock().unwrap();
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior!
[INFO] [stdout]    = note: for more information, see issue #48919 <https://github.com/rust-lang/rust/issues/48919>
[INFO] [stdout]    = help: call with fully qualified syntax `unlock(...)` to keep using the current method
[INFO] [stdout]    = note: `#[warn(unstable_name_collisions)]` on by default
[INFO] [stdout] help: add `#![feature(file_lock)]` to the crate attributes to enable `File::unlock`
[INFO] [stdout]    |
[INFO] [stdout] 1  + #![feature(file_lock)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `docdb` (test "error_test") due to 3 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]   --> tests/common/mod.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | impl TestResources {
[INFO] [stdout]    | ------------------ associated function in this implementation
[INFO] [stdout] 11 |     pub fn new(file: &str) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "db4abac33d8a983876baa2759dd785cec0892144a3502d6c0dadd875da64f705", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "db4abac33d8a983876baa2759dd785cec0892144a3502d6c0dadd875da64f705", kill_on_drop: false }`
[INFO] [stdout] db4abac33d8a983876baa2759dd785cec0892144a3502d6c0dadd875da64f705
