[INFO] crate partial_ref 0.3.1 is already in cache [INFO] testing partial_ref-0.3.1 against 1.44.0 for beta-1.45-1 [INFO] extracting crate partial_ref 0.3.1 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate partial_ref 0.3.1 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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 /workspace/builds/worker-6/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 886976317b2086a0510a4faddcea651c4118584d48474828874cfb83dc97055e [INFO] running `"docker" "start" "-a" "886976317b2086a0510a4faddcea651c4118584d48474828874cfb83dc97055e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling partial_ref_derive v0.3.1 [INFO] [stderr] Compiling partial_ref v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:381:26 [INFO] [stderr] | [INFO] [stderr] 381 | phantom: PhantomData<(&'a mut Target)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.11s [INFO] running `"docker" "inspect" "886976317b2086a0510a4faddcea651c4118584d48474828874cfb83dc97055e"` [INFO] running `"docker" "rm" "-f" "886976317b2086a0510a4faddcea651c4118584d48474828874cfb83dc97055e"` [INFO] [stdout] 886976317b2086a0510a4faddcea651c4118584d48474828874cfb83dc97055e [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 18bc2ef0e34ee4eddd3c12ea1bf43dbc35c62fc55bf80bb78ad81cc161098a85 [INFO] running `"docker" "start" "-a" "18bc2ef0e34ee4eddd3c12ea1bf43dbc35c62fc55bf80bb78ad81cc161098a85"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling partial_ref v0.3.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:381:26 [INFO] [stderr] | [INFO] [stderr] 381 | phantom: PhantomData<(&'a mut Target)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:381:26 [INFO] [stderr] | [INFO] [stderr] 381 | phantom: PhantomData<(&'a mut Target)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `"docker" "inspect" "18bc2ef0e34ee4eddd3c12ea1bf43dbc35c62fc55bf80bb78ad81cc161098a85"` [INFO] running `"docker" "rm" "-f" "18bc2ef0e34ee4eddd3c12ea1bf43dbc35c62fc55bf80bb78ad81cc161098a85"` [INFO] [stdout] 18bc2ef0e34ee4eddd3c12ea1bf43dbc35c62fc55bf80bb78ad81cc161098a85 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "MAP_USER_ID=0" "-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" "+1.44.0" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 16377dda9f86f4a4d97414bbbcd81c610793795b4ee32cd18deaf3accb3c6653 [INFO] running `"docker" "start" "-a" "16377dda9f86f4a4d97414bbbcd81c610793795b4ee32cd18deaf3accb3c6653"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:381:26 [INFO] [stderr] | [INFO] [stderr] 381 | phantom: PhantomData<(&'a mut Target)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around type [INFO] [stderr] --> src/lib.rs:381:26 [INFO] [stderr] | [INFO] [stderr] 381 | phantom: PhantomData<(&'a mut Target)>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/partial_ref-8a02d535e1eeeb60 [INFO] [stderr] Doc-tests partial_ref [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] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - (line 46) ... FAILED [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 11) ... ok [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 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] ---- 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] 10 | pub fn add_color_to_weight( [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] 10 | pub fn add_color_to_weight( [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] 10 | pub fn add_color_to_weight( [INFO] [stdout] | - help: you might be missing a type parameter: `` [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] [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" "16377dda9f86f4a4d97414bbbcd81c610793795b4ee32cd18deaf3accb3c6653"` [INFO] running `"docker" "rm" "-f" "16377dda9f86f4a4d97414bbbcd81c610793795b4ee32cd18deaf3accb3c6653"` [INFO] [stdout] 16377dda9f86f4a4d97414bbbcd81c610793795b4ee32cd18deaf3accb3c6653