[INFO] fetching crate unicode_escape 0.1.0... [INFO] testing unicode_escape-0.1.0 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [INFO] extracting crate unicode_escape 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate unicode_escape 0.1.0 [INFO] finished tweaking crates.io crate unicode_escape 0.1.0 [INFO] tweaked toml for crates.io crate unicode_escape 0.1.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate unicode_escape 0.1.0 on toolchain caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate unicode_escape 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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b235037af950dbaf2e3cb20e08aef7198daaccb6ee8f58dea73d06a66376350b [INFO] running `Command { std: "docker" "start" "-a" "b235037af950dbaf2e3cb20e08aef7198daaccb6ee8f58dea73d06a66376350b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b235037af950dbaf2e3cb20e08aef7198daaccb6ee8f58dea73d06a66376350b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b235037af950dbaf2e3cb20e08aef7198daaccb6ee8f58dea73d06a66376350b", kill_on_drop: false }` [INFO] [stdout] b235037af950dbaf2e3cb20e08aef7198daaccb6ee8f58dea73d06a66376350b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f47be39f4fa6416faf53505e1d66e021d1c6dcf1f6e7da11fe409d2aee8f0f8d [INFO] running `Command { std: "docker" "start" "-a" "f47be39f4fa6416faf53505e1d66e021d1c6dcf1f6e7da11fe409d2aee8f0f8d", kill_on_drop: false }` [INFO] [stderr] Compiling unicode_escape v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.15s [INFO] running `Command { std: "docker" "inspect" "f47be39f4fa6416faf53505e1d66e021d1c6dcf1f6e7da11fe409d2aee8f0f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f47be39f4fa6416faf53505e1d66e021d1c6dcf1f6e7da11fe409d2aee8f0f8d", kill_on_drop: false }` [INFO] [stdout] f47be39f4fa6416faf53505e1d66e021d1c6dcf1f6e7da11fe409d2aee8f0f8d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e49174e8f8436f654ca3b77939e312c5977ac35182ff6f0180424937c9a6330 [INFO] running `Command { std: "docker" "start" "-a" "2e49174e8f8436f654ca3b77939e312c5977ac35182ff6f0180424937c9a6330", kill_on_drop: false }` [INFO] [stderr] Compiling unicode_escape v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "2e49174e8f8436f654ca3b77939e312c5977ac35182ff6f0180424937c9a6330", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e49174e8f8436f654ca3b77939e312c5977ac35182ff6f0180424937c9a6330", kill_on_drop: false }` [INFO] [stdout] 2e49174e8f8436f654ca3b77939e312c5977ac35182ff6f0180424937c9a6330 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c89c506f2caef2d4c9d064e65674a5f8735e04bfe9094ac935eb29861834fd90 [INFO] running `Command { std: "docker" "start" "-a" "c89c506f2caef2d4c9d064e65674a5f8735e04bfe9094ac935eb29861834fd90", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/unicode_escape-b3befa722ed60f46) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test tests::test_invalid_escape ... ok [INFO] [stdout] test tests::test_simple_escape ... ok [INFO] [stdout] test tests::test_weight_string ... ok [INFO] [stdout] test tests::test_unicode_sequence ... ok [INFO] [stdout] test tests::test_unicode_codepoints ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests unicode_escape [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test src/lib.rs - decode_unicode (line 143) ... FAILED [INFO] [stdout] test src/lib.rs - escape_hex (line 94) ... FAILED [INFO] [stdout] test src/lib.rs - decode (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - decode (line 33) ... FAILED [INFO] [stdout] test src/lib.rs - escape_hex (line 102) ... FAILED [INFO] [stdout] test src/lib.rs - decode_unicode (line 151) ... FAILED [INFO] [stdout] test src/lib.rs - decode (line 17) ... FAILED [INFO] [stdout] test src/lib.rs - decode (line 43) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - decode_unicode (line 143) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `decode_unicode` in this scope [INFO] [stdout] --> src/lib.rs:145:15 [INFO] [stdout] | [INFO] [stdout] 4 | let decoded = decode_unicode(&mut chars).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - escape_hex (line 94) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `escape_hex` in this scope [INFO] [stdout] --> src/lib.rs:96:15 [INFO] [stdout] | [INFO] [stdout] 4 | let decoded = escape_hex(&mut chars).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - decode (line 25) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `decode` in this scope [INFO] [stdout] --> src/lib.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 4 | let decoded = decode(input).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use unicode_escape::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - decode (line 33) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `decode` in this scope [INFO] [stdout] --> src/lib.rs:35:15 [INFO] [stdout] | [INFO] [stdout] 4 | let decoded = decode(input).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use unicode_escape::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - escape_hex (line 102) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `escape_hex` in this scope [INFO] [stdout] --> src/lib.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(escape_hex(&mut chars).is_err()); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - decode_unicode (line 151) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `decode_unicode` in this scope [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(decode_unicode(&mut chars).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - decode (line 17) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `decode` in this scope [INFO] [stdout] --> src/lib.rs:19:15 [INFO] [stdout] | [INFO] [stdout] 4 | let decoded = decode(input).unwrap(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use unicode_escape::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - decode (line 43) stdout ---- [INFO] [stdout] error[E0425]: cannot find function `decode` in this scope [INFO] [stdout] --> src/lib.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 4 | assert!(decode(input).is_err()); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 + use unicode_escape::decode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 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 - decode (line 17) [INFO] [stdout] src/lib.rs - decode (line 25) [INFO] [stdout] src/lib.rs - decode (line 33) [INFO] [stdout] src/lib.rs - decode (line 43) [INFO] [stdout] src/lib.rs - decode_unicode (line 143) [INFO] [stdout] src/lib.rs - decode_unicode (line 151) [INFO] [stdout] src/lib.rs - escape_hex (line 102) [INFO] [stdout] src/lib.rs - escape_hex (line 94) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 8 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.23s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c89c506f2caef2d4c9d064e65674a5f8735e04bfe9094ac935eb29861834fd90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c89c506f2caef2d4c9d064e65674a5f8735e04bfe9094ac935eb29861834fd90", kill_on_drop: false }` [INFO] [stdout] c89c506f2caef2d4c9d064e65674a5f8735e04bfe9094ac935eb29861834fd90