[INFO] crate partial_ref 0.3.1 is already in cache [INFO] testing partial_ref-0.3.1 against beta-2019-09-28 for beta-1.39-1 [INFO] extracting crate partial_ref 0.3.1 into work/builds/worker-7/source [INFO] validating manifest of crates.io crate partial_ref 0.3.1 on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate partial_ref 0.3.1 [INFO] finished tweaking crates.io crate partial_ref 0.3.1 [INFO] tweaked toml for crates.io crate partial_ref 0.3.1 written to work/builds/worker-7/source/Cargo.toml [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "build" "--frozen"` [INFO] [stdout] 6e5901f050b9bbec7250ddba87651e2db015104c83e5dc927410aca45fee7888 [INFO] running `"docker" "start" "-a" "6e5901f050b9bbec7250ddba87651e2db015104c83e5dc927410aca45fee7888"` [INFO] [stderr] Compiling partial_ref_derive v0.3.1 [INFO] [stderr] Compiling partial_ref v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.78s [INFO] running `"docker" "inspect" "6e5901f050b9bbec7250ddba87651e2db015104c83e5dc927410aca45fee7888"` [INFO] running `"docker" "rm" "-f" "6e5901f050b9bbec7250ddba87651e2db015104c83e5dc927410aca45fee7888"` [INFO] [stdout] 6e5901f050b9bbec7250ddba87651e2db015104c83e5dc927410aca45fee7888 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 688fa710a3ff8497bcec81d4d9001682046fc3c3ca1311cb0b2b079d40d90384 [INFO] running `"docker" "start" "-a" "688fa710a3ff8497bcec81d4d9001682046fc3c3ca1311cb0b2b079d40d90384"` [INFO] [stderr] Compiling partial_ref v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.34s [INFO] running `"docker" "inspect" "688fa710a3ff8497bcec81d4d9001682046fc3c3ca1311cb0b2b079d40d90384"` [INFO] running `"docker" "rm" "-f" "688fa710a3ff8497bcec81d4d9001682046fc3c3ca1311cb0b2b079d40d90384"` [INFO] [stdout] 688fa710a3ff8497bcec81d4d9001682046fc3c3ca1311cb0b2b079d40d90384 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2019-09-28" "test" "--frozen"` [INFO] [stdout] f14ccddc94ee3f0c3720a9ad986bf149278a77c6127f27a497e45eb9a2967a95 [INFO] running `"docker" "start" "-a" "f14ccddc94ee3f0c3720a9ad986bf149278a77c6127f27a497e45eb9a2967a95"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/partial_ref-c96ad68fc396d1b9 [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 [INFO] [stdout] [INFO] [stderr] Doc-tests partial_ref [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 98) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `partial_ref_tests` [INFO] [stdout] --> src/lib.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 5 | use partial_ref_tests::doctest_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `partial_ref_tests` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `example_graph` in this scope [INFO] [stdout] --> src/lib.rs:101:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut g = example_graph(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Neighbors` in this scope [INFO] [stdout] --> src/lib.rs:103:51 [INFO] [stdout] | [INFO] [stdout] 8 | let (neighbors, mut g_ref) = g_ref.split_part_mut(Neighbors); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Colors` in this scope [INFO] [stdout] --> src/lib.rs:104:44 [INFO] [stdout] | [INFO] [stdout] 9 | let (colors, mut g_ref) = g_ref.split_part(Colors); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `add_color_to_weight` in this scope [INFO] [stdout] --> src/lib.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 15 | add_color_to_weight(g_ref.borrow(), neighbor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 33) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `partial_ref_tests` [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 5 | use partial_ref_tests::doctest_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `partial_ref_tests` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Graph` [INFO] [stdout] --> src/lib.rs:38:13 [INFO] [stdout] | [INFO] [stdout] 8 | let mut g = Graph::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Graph` [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 - (line 70) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `partial_ref_tests` [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 5 | use partial_ref_tests::doctest_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `partial_ref_tests` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `example_graph` in this scope [INFO] [stdout] --> src/lib.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut g = example_graph(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Colors` in this scope [INFO] [stdout] --> src/lib.rs:78:41 [INFO] [stdout] | [INFO] [stdout] 11 | mut g: partial!(Graph, mut Weights, Colors), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Weights` in this scope [INFO] [stdout] --> src/lib.rs:78:32 [INFO] [stdout] | [INFO] [stdout] 11 | mut g: partial!(Graph, mut Weights, Colors), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> src/lib.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 11 | mut g: partial!(Graph, mut Weights, Colors), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Weights` in this scope [INFO] [stdout] --> src/lib.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 14 | g.part_mut(Weights)[index] += g.part(Colors)[index] as f32; [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Colors` in this scope [INFO] [stdout] --> src/lib.rs:81:42 [INFO] [stdout] | [INFO] [stdout] 14 | g.part_mut(Weights)[index] += g.part(Colors)[index] as f32; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Weights` in this scope [INFO] [stdout] --> src/lib.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 19 | assert_eq!(g_ref.part(Weights)[1], 1.5); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, 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 or module `partial_ref_tests` [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 5 | use partial_ref_tests::doctest_helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `partial_ref_tests` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Graph` [INFO] [stdout] --> src/lib.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut g = Graph::default(); [INFO] [stdout] | ^^^^^ use of undeclared type or module `Graph` [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Colors` in this scope [INFO] [stdout] --> src/lib.rs:53:16 [INFO] [stdout] | [INFO] [stdout] 10 | g_ref.part_mut(Colors).extend(&[0, 1, 0]); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Weights` in this scope [INFO] [stdout] --> src/lib.rs:54:16 [INFO] [stdout] | [INFO] [stdout] 11 | g_ref.part_mut(Weights).extend(&[0.25, 0.5, 0.75]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Neighbors` in this scope [INFO] [stdout] --> src/lib.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 13 | g_ref.part_mut(Neighbors).push(vec![1, 2]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Neighbors` in this scope [INFO] [stdout] --> src/lib.rs:57:16 [INFO] [stdout] | [INFO] [stdout] 14 | g_ref.part_mut(Neighbors).push(vec![0, 2]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Neighbors` in this scope [INFO] [stdout] --> src/lib.rs:58:16 [INFO] [stdout] | [INFO] [stdout] 15 | g_ref.part_mut(Neighbors).push(vec![0, 1]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Colors` in this scope [INFO] [stdout] --> src/lib.rs:60:23 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(g_ref.part(Colors).len(), g_ref.part(Neighbors).len()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Neighbors` in this scope [INFO] [stdout] --> src/lib.rs:60:49 [INFO] [stdout] | [INFO] [stdout] 17 | assert_eq!(g_ref.part(Colors).len(), g_ref.part(Neighbors).len()); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Colors` in this scope [INFO] [stdout] --> src/lib.rs:61:23 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(g_ref.part(Colors).len(), g_ref.part(Weights).len()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Weights` in this scope [INFO] [stdout] --> src/lib.rs:61:49 [INFO] [stdout] | [INFO] [stdout] 18 | assert_eq!(g_ref.part(Colors).len(), g_ref.part(Weights).len()); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 33) [INFO] [stdout] src/lib.rs - (line 46) [INFO] [stdout] src/lib.rs - (line 70) [INFO] [stdout] src/lib.rs - (line 98) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `"docker" "inspect" "f14ccddc94ee3f0c3720a9ad986bf149278a77c6127f27a497e45eb9a2967a95"` [INFO] running `"docker" "rm" "-f" "f14ccddc94ee3f0c3720a9ad986bf149278a77c6127f27a497e45eb9a2967a95"` [INFO] [stdout] f14ccddc94ee3f0c3720a9ad986bf149278a77c6127f27a497e45eb9a2967a95