[INFO] fetching crate json-position-parser 0.0.6... [INFO] testing json-position-parser-0.0.6 against try#41997647ba6a77908f6ef64401414feb00bccf16 for pr-71274 [INFO] extracting crate json-position-parser 0.0.6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate json-position-parser 0.0.6 on toolchain 41997647ba6a77908f6ef64401414feb00bccf16 [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate json-position-parser 0.0.6 [INFO] finished tweaking crates.io crate json-position-parser 0.0.6 [INFO] tweaked toml for crates.io crate json-position-parser 0.0.6 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+41997647ba6a77908f6ef64401414feb00bccf16" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] 974e8623e65b1edf49cf4f210fd1d6fb387c04fe7e676c0ba3195f8ea8e61944 [INFO] running `"docker" "start" "-a" "974e8623e65b1edf49cf4f210fd1d6fb387c04fe7e676c0ba3195f8ea8e61944"` [INFO] [stderr] Compiling json-position-parser v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.43s [INFO] running `"docker" "inspect" "974e8623e65b1edf49cf4f210fd1d6fb387c04fe7e676c0ba3195f8ea8e61944"` [INFO] running `"docker" "rm" "-f" "974e8623e65b1edf49cf4f210fd1d6fb387c04fe7e676c0ba3195f8ea8e61944"` [INFO] [stdout] 974e8623e65b1edf49cf4f210fd1d6fb387c04fe7e676c0ba3195f8ea8e61944 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] a5b00bb9a820534cb473fcc0686d24a3258f865712338b0b1037674f253e4041 [INFO] running `"docker" "start" "-a" "a5b00bb9a820534cb473fcc0686d24a3258f865712338b0b1037674f253e4041"` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling float-cmp v0.6.0 [INFO] [stderr] Compiling json-position-parser v0.0.6 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.99s [INFO] running `"docker" "inspect" "a5b00bb9a820534cb473fcc0686d24a3258f865712338b0b1037674f253e4041"` [INFO] running `"docker" "rm" "-f" "a5b00bb9a820534cb473fcc0686d24a3258f865712338b0b1037674f253e4041"` [INFO] [stdout] a5b00bb9a820534cb473fcc0686d24a3258f865712338b0b1037674f253e4041 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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=forbid" "-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" "+41997647ba6a77908f6ef64401414feb00bccf16" "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] e57201cdeb07d36d45286049f1a3beb8c983a558ec535be99081c63af97bfc1e [INFO] running `"docker" "start" "-a" "e57201cdeb07d36d45286049f1a3beb8c983a558ec535be99081c63af97bfc1e"` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/json_position_parser-17b42a3e00d910a3 [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::test_parse ... ok [INFO] [stdout] test parser::tokenize::tests::test_tokenize ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] Doc-tests json-position-parser [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/tree.rs - tree::Tree::keys_at (line 166) ... FAILED [INFO] [stdout] test src/tree.rs - tree::Tree::value_at (line 133) ... FAILED [INFO] [stdout] test src/lib.rs - parse_json (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - parse_json_file (line 28) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/tree.rs - tree::Tree::keys_at (line 166) stdout ---- [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/tree.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 3 | let text = "{ \"a\": { \"b\": ["c"] } }"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ invalid suffix `c` [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `"] } }"` [INFO] [stdout] --> src/tree.rs:167:34 [INFO] [stdout] | [INFO] [stdout] 3 | let text = "{ \"a\": { \"b\": ["c"] } }"; [INFO] [stdout] | ^^^^^^^ expected one of `.`, `;`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/tree.rs - tree::Tree::value_at (line 133) stdout ---- [INFO] [stdout] error: suffixes on a string literal are invalid [INFO] [stdout] --> src/tree.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 3 | let text = "{ \"a\": { \"b\": ["c"] } }"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ invalid suffix `c` [INFO] [stdout] [INFO] [stdout] error: expected one of `.`, `;`, `?`, or an operator, found `"] } }"` [INFO] [stdout] --> src/tree.rs:134:34 [INFO] [stdout] | [INFO] [stdout] 3 | let text = "{ \"a\": { \"b\": ["c"] } }"; [INFO] [stdout] | ^^^^^^^ expected one of `.`, `;`, `?`, or an operator [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - parse_json (line 12) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 4 | match parse_json(&text) { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use json_position_parser::parse_json; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - parse_json_file (line 28) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `parse_json_file` in this scope [INFO] [stdout] --> src/lib.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 4 | match parse_json_file(&file_name) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: possible candidate is found in another module, you can import it into scope [INFO] [stdout] | [INFO] [stdout] 2 | use json_position_parser::parse_json_file; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - parse_json (line 12) [INFO] [stdout] src/lib.rs - parse_json_file (line 28) [INFO] [stdout] src/tree.rs - tree::Tree::keys_at (line 166) [INFO] [stdout] src/tree.rs - tree::Tree::value_at (line 133) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 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" "e57201cdeb07d36d45286049f1a3beb8c983a558ec535be99081c63af97bfc1e"` [INFO] running `"docker" "rm" "-f" "e57201cdeb07d36d45286049f1a3beb8c983a558ec535be99081c63af97bfc1e"` [INFO] [stdout] e57201cdeb07d36d45286049f1a3beb8c983a558ec535be99081c63af97bfc1e