[INFO] crate partial_ref 0.3.1 is already in cache [INFO] extracting crate partial_ref 0.3.1 into work/ex/beta-1.38-1/sources/1.37.0/reg/partial_ref/0.3.1 [INFO] extracting crate partial_ref 0.3.1 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/partial_ref/0.3.1 [INFO] validating manifest of partial_ref-0.3.1 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of partial_ref-0.3.1 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing partial_ref-0.3.1 [INFO] finished frobbing partial_ref-0.3.1 [INFO] frobbed toml for partial_ref-0.3.1 written to work/ex/beta-1.38-1/sources/1.37.0/reg/partial_ref/0.3.1/Cargo.toml [INFO] started frobbing partial_ref-0.3.1 [INFO] finished frobbing partial_ref-0.3.1 [INFO] frobbed toml for partial_ref-0.3.1 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/partial_ref/0.3.1/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing partial_ref-0.3.1 against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/partial_ref/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] 006a112ed07ba2e56b0f441ef78f60a5d4b6abdc74e71d375583f433b84ab955 [INFO] running `"docker" "start" "-a" "006a112ed07ba2e56b0f441ef78f60a5d4b6abdc74e71d375583f433b84ab955"` [INFO] [stderr] Compiling partial_ref_derive v0.3.1 [INFO] [stderr] Compiling partial_ref v0.3.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.57s [INFO] running `"docker" "inspect" "006a112ed07ba2e56b0f441ef78f60a5d4b6abdc74e71d375583f433b84ab955"` [INFO] running `"docker" "rm" "-f" "006a112ed07ba2e56b0f441ef78f60a5d4b6abdc74e71d375583f433b84ab955"` [INFO] [stdout] 006a112ed07ba2e56b0f441ef78f60a5d4b6abdc74e71d375583f433b84ab955 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/partial_ref/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen" "--no-run"` [INFO] [stdout] 20c6232077bb5322b3bb5472da6b92f75d882381e4ff03c062cfd813dd781bf1 [INFO] running `"docker" "start" "-a" "20c6232077bb5322b3bb5472da6b92f75d882381e4ff03c062cfd813dd781bf1"` [INFO] [stderr] Compiling partial_ref v0.3.1 (/opt/crater/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `"docker" "inspect" "20c6232077bb5322b3bb5472da6b92f75d882381e4ff03c062cfd813dd781bf1"` [INFO] running `"docker" "rm" "-f" "20c6232077bb5322b3bb5472da6b92f75d882381e4ff03c062cfd813dd781bf1"` [INFO] [stdout] 20c6232077bb5322b3bb5472da6b92f75d882381e4ff03c062cfd813dd781bf1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-2/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/partial_ref/0.3.1:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "test" "--frozen"` [INFO] [stdout] 3a69b2ff894a1ed31815e2ec5c0aaa2ffba9f19978d2f266e8788d346349ff4a [INFO] running `"docker" "start" "-a" "3a69b2ff894a1ed31815e2ec5c0aaa2ffba9f19978d2f266e8788d346349ff4a"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running /opt/crater/target/debug/deps/partial_ref-ac356bb70fa6d0a5 [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 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... ok [INFO] [stdout] test src/lib.rs - (line 98) ... FAILED [INFO] [stdout] test src/lib.rs - (line 70) ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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 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 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" "3a69b2ff894a1ed31815e2ec5c0aaa2ffba9f19978d2f266e8788d346349ff4a"` [INFO] running `"docker" "rm" "-f" "3a69b2ff894a1ed31815e2ec5c0aaa2ffba9f19978d2f266e8788d346349ff4a"` [INFO] [stdout] 3a69b2ff894a1ed31815e2ec5c0aaa2ffba9f19978d2f266e8788d346349ff4a