[INFO] fetching crate synoptic 1.0.0... [INFO] testing synoptic-1.0.0 against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] extracting crate synoptic 1.0.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate synoptic 1.0.0 on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate synoptic 1.0.0 [INFO] finished tweaking crates.io crate synoptic 1.0.0 [INFO] tweaked toml for crates.io crate synoptic 1.0.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3659e2a79d0164fcf019875c1510ac7d067e0258da1b579b63931e30cc402388 [INFO] running `Command { std: "docker" "start" "-a" "3659e2a79d0164fcf019875c1510ac7d067e0258da1b579b63931e30cc402388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3659e2a79d0164fcf019875c1510ac7d067e0258da1b579b63931e30cc402388", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3659e2a79d0164fcf019875c1510ac7d067e0258da1b579b63931e30cc402388", kill_on_drop: false }` [INFO] [stdout] 3659e2a79d0164fcf019875c1510ac7d067e0258da1b579b63931e30cc402388 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fb0fd8923151f47268e3d034c550ca5c4808a776e7c259477de5a01b3461bd5d [INFO] running `Command { std: "docker" "start" "-a" "fb0fd8923151f47268e3d034c550ca5c4808a776e7c259477de5a01b3461bd5d", kill_on_drop: false }` [INFO] [stderr] Compiling synoptic v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.33s [INFO] running `Command { std: "docker" "inspect" "fb0fd8923151f47268e3d034c550ca5c4808a776e7c259477de5a01b3461bd5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb0fd8923151f47268e3d034c550ca5c4808a776e7c259477de5a01b3461bd5d", kill_on_drop: false }` [INFO] [stdout] fb0fd8923151f47268e3d034c550ca5c4808a776e7c259477de5a01b3461bd5d [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 155bca393cc42c619b94adcf9ea35f2597c8e7011ceca411694317dede06fbe7 [INFO] running `Command { std: "docker" "start" "-a" "155bca393cc42c619b94adcf9ea35f2597c8e7011ceca411694317dede06fbe7", kill_on_drop: false }` [INFO] [stderr] Compiling synoptic v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.76s [INFO] running `Command { std: "docker" "inspect" "155bca393cc42c619b94adcf9ea35f2597c8e7011ceca411694317dede06fbe7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "155bca393cc42c619b94adcf9ea35f2597c8e7011ceca411694317dede06fbe7", kill_on_drop: false }` [INFO] [stdout] 155bca393cc42c619b94adcf9ea35f2597c8e7011ceca411694317dede06fbe7 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 23709e3cf61c90476fcc920171e7849e37bb7fe4953bc97a77b6e58e1b4aa449 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "23709e3cf61c90476fcc920171e7849e37bb7fe4953bc97a77b6e58e1b4aa449", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/synoptic-9fa9f1b61b8639ee) [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-0fb6ab9af72e43f5) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Doc-tests synoptic [INFO] [stdout] test trimming ... ok [INFO] [stdout] test highlighter ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 7 tests [INFO] [stdout] test src/highlighter.rs - highlighter::Highlighter::join (line 32) ... FAILED [INFO] [stdout] test src/highlighter.rs - highlighter::Highlighter::run (line 250) ... FAILED [INFO] [stdout] test src/highlighter.rs - highlighter::Highlighter::run_line (line 122) ... FAILED [INFO] [stdout] test src/highlighter.rs - highlighter::Highlighter::add (line 51) ... FAILED [INFO] [stdout] test src/util.rs - util::trim (line 7) ... FAILED [INFO] [stdout] test src/highlighter.rs - highlighter::Highlighter (line 9) ... FAILED [INFO] [stdout] test src/lib.rs - (line 6) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/highlighter.rs - highlighter::Highlighter::join (line 32) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Highlighter` [INFO] [stdout] --> src/highlighter.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut python = Highlighter::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use synoptic::Highlighter; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/highlighter.rs - highlighter::Highlighter::run (line 250) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Highlighter` [INFO] [stdout] --> src/highlighter.rs:251:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut python = Highlighter::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use synoptic::Highlighter; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/highlighter.rs - highlighter::Highlighter::run_line (line 122) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Highlighter` [INFO] [stdout] --> src/highlighter.rs:123:15 [INFO] [stdout] | [INFO] [stdout] 3 | let mut lua = Highlighter::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use synoptic::Highlighter; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/highlighter.rs - highlighter::Highlighter::add (line 51) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Highlighter` [INFO] [stdout] --> src/highlighter.rs:52:18 [INFO] [stdout] | [INFO] [stdout] 3 | let mut python = Highlighter::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use synoptic::Highlighter; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/util.rs - util::trim (line 7) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Highlighter` [INFO] [stdout] --> src/util.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 3 | let mut rust = Highlighter::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use synoptic::Highlighter; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `trim` in this scope [INFO] [stdout] --> src/util.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 6 | trim(&result, 1); // <- This will return [Start("keyword"), Text("n"), End("keyword")] [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 2 | use synoptic::trim; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 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/highlighter.rs - highlighter::Highlighter (line 9) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Highlighter` [INFO] [stdout] --> src/highlighter.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 3 | let mut h = Highlighter::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use synoptic::Highlighter; [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 E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 6) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `termion` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | use termion::color; [INFO] [stdout] | ^^^^^^^ use of undeclared crate or module `termion` [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/highlighter.rs - highlighter::Highlighter (line 9) [INFO] [stdout] src/highlighter.rs - highlighter::Highlighter::add (line 51) [INFO] [stdout] src/highlighter.rs - highlighter::Highlighter::join (line 32) [INFO] [stdout] src/highlighter.rs - highlighter::Highlighter::run (line 250) [INFO] [stdout] src/highlighter.rs - highlighter::Highlighter::run_line (line 122) [INFO] [stdout] src/lib.rs - (line 6) [INFO] [stdout] src/util.rs - util::trim (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 7 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.05s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "23709e3cf61c90476fcc920171e7849e37bb7fe4953bc97a77b6e58e1b4aa449", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23709e3cf61c90476fcc920171e7849e37bb7fe4953bc97a77b6e58e1b4aa449", kill_on_drop: false }` [INFO] [stdout] 23709e3cf61c90476fcc920171e7849e37bb7fe4953bc97a77b6e58e1b4aa449