[INFO] cloning repository https://github.com/StevenBlack/rusty-hooks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/StevenBlack/rusty-hooks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStevenBlack%2Frusty-hooks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStevenBlack%2Frusty-hooks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcc2ed6939314f89ea078f3d6bf786543e20aeed [INFO] building StevenBlack/rusty-hooks against try#58b1b3c5342a414c161338871f8004258ccef2a7 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FStevenBlack%2Frusty-hooks" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/StevenBlack/rusty-hooks [INFO] finished tweaking git repo https://github.com/StevenBlack/rusty-hooks [INFO] tweaked toml for git repo https://github.com/StevenBlack/rusty-hooks written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/StevenBlack/rusty-hooks on toolchain 58b1b3c5342a414c161338871f8004258ccef2a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/StevenBlack/rusty-hooks 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" "+58b1b3c5342a414c161338871f8004258ccef2a7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a589f68441d3d078f73d85901bf7cc6f5741a833a881b16e8e5685786ca32c40 [INFO] running `Command { std: "docker" "start" "-a" "a589f68441d3d078f73d85901bf7cc6f5741a833a881b16e8e5685786ca32c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a589f68441d3d078f73d85901bf7cc6f5741a833a881b16e8e5685786ca32c40", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a589f68441d3d078f73d85901bf7cc6f5741a833a881b16e8e5685786ca32c40", kill_on_drop: false }` [INFO] [stdout] a589f68441d3d078f73d85901bf7cc6f5741a833a881b16e8e5685786ca32c40 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6fb12ec57a1d762d2e448d3a3d51cef8c0cac3979a4294772c60f7465117be69 [INFO] running `Command { std: "docker" "start" "-a" "6fb12ec57a1d762d2e448d3a3d51cef8c0cac3979a4294772c60f7465117be69", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling Hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `normalizetags` is never used [INFO] [stdout] --> src/dev/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn normalizetags(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closetags` is never used [INFO] [stdout] --> src/dev/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn closetags(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `converttags` is never used [INFO] [stdout] --> src/dev/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn converttags(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Hooks` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hooks` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executing` is never used [INFO] [stdout] --> src/traits/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait Executing<'a> : Hooking<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Processing` is never used [INFO] [stdout] --> src/traits/mod.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Processing<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Preprocess` is never used [INFO] [stdout] --> src/traits/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Preprocess { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Preprocesspost` is never used [INFO] [stdout] --> src/traits/mod.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait Preprocesspost { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.35s [INFO] running `Command { std: "docker" "inspect" "6fb12ec57a1d762d2e448d3a3d51cef8c0cac3979a4294772c60f7465117be69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fb12ec57a1d762d2e448d3a3d51cef8c0cac3979a4294772c60f7465117be69", kill_on_drop: false }` [INFO] [stdout] 6fb12ec57a1d762d2e448d3a3d51cef8c0cac3979a4294772c60f7465117be69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+58b1b3c5342a414c161338871f8004258ccef2a7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b63c7628203419dc3a7d54b47354465734455d0629aafd06547f451578a93ffc [INFO] running `Command { std: "docker" "start" "-a" "b63c7628203419dc3a7d54b47354465734455d0629aafd06547f451578a93ffc", kill_on_drop: false }` [INFO] [stderr] Compiling Hooks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `normalizetags` is never used [INFO] [stdout] --> src/dev/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn normalizetags(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `closetags` is never used [INFO] [stdout] --> src/dev/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | pub fn closetags(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `converttags` is never used [INFO] [stdout] --> src/dev/mod.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn converttags(s: String) -> String { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `Hooks` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `hooks` [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hooks` [INFO] [stdout] --> examples/ex01.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use hooks::hook::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hooks` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 4 - use hooks::hook::*; [INFO] [stdout] 4 + use Hooks::hook::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `hooks` [INFO] [stdout] --> examples/ex01.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use hooks::traits::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hooks` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 5 - use hooks::traits::*; [INFO] [stdout] 5 + use Hooks::traits::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `hooks` [INFO] [stdout] --> examples/ex01.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use hooks::*; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `hooks` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 3 - use hooks::*; [INFO] [stdout] 3 + use Hooks::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hook` in this scope [INFO] [stdout] --> examples/ex01.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | let mut h1 = hook!("hook 1", "The first hook."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use Hooks::hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hook` in this scope [INFO] [stdout] --> examples/ex01.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | let mut h2 = hook!("hook 2", "The second hook."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use Hooks::hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hook` in this scope [INFO] [stdout] --> examples/ex01.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let mut h3 = hook!("hook 3", "The third hook."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use Hooks::hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hook` in this scope [INFO] [stdout] --> examples/ex01.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | let mut h4 = hook!("hook 4", "The forth hook."); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use Hooks::hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `hook` in this scope [INFO] [stdout] --> examples/ex01.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let mut h5 = hook!("hook 5"); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 3 + use Hooks::hook; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `Hooks` (example "ex01") due to 8 previous errors [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: trait `Executing` is never used [INFO] [stdout] --> src/traits/mod.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait Executing<'a> : Hooking<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Processing` is never used [INFO] [stdout] --> src/traits/mod.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub trait Processing<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Preprocess` is never used [INFO] [stdout] --> src/traits/mod.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub trait Preprocess { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Preprocesspost` is never used [INFO] [stdout] --> src/traits/mod.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub trait Preprocesspost { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "b63c7628203419dc3a7d54b47354465734455d0629aafd06547f451578a93ffc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b63c7628203419dc3a7d54b47354465734455d0629aafd06547f451578a93ffc", kill_on_drop: false }` [INFO] [stdout] b63c7628203419dc3a7d54b47354465734455d0629aafd06547f451578a93ffc