[INFO] cloning repository https://github.com/lidatong/rust-notes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lidatong/rust-notes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flidatong%2Frust-notes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flidatong%2Frust-notes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac6ec87fc195660738c2a0c740260503c11bdf1e [INFO] testing lidatong/rust-notes against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flidatong%2Frust-notes" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lidatong/rust-notes [INFO] finished tweaking git repo https://github.com/lidatong/rust-notes [INFO] tweaked toml for git repo https://github.com/lidatong/rust-notes written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lidatong/rust-notes on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lidatong/rust-notes 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1809c9730fd5221bed42c8e5f8439dd1bc2258067f88245a94a93dd9001e5d24 [INFO] running `Command { std: "docker" "start" "-a" "1809c9730fd5221bed42c8e5f8439dd1bc2258067f88245a94a93dd9001e5d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1809c9730fd5221bed42c8e5f8439dd1bc2258067f88245a94a93dd9001e5d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1809c9730fd5221bed42c8e5f8439dd1bc2258067f88245a94a93dd9001e5d24", kill_on_drop: false }` [INFO] [stdout] 1809c9730fd5221bed42c8e5f8439dd1bc2258067f88245a94a93dd9001e5d24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4694d6fd6435bd4eb73cc6b22e7fe921896f80e5e27930772d35680bc50a373 [INFO] running `Command { std: "docker" "start" "-a" "e4694d6fd6435bd4eb73cc6b22e7fe921896f80e5e27930772d35680bc50a373", kill_on_drop: false }` [INFO] [stderr] Compiling rust-notes v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0261]: use of undeclared lifetime name `'a` [INFO] [stdout] --> src/main.rs:1:48 [INFO] [stdout] | [INFO] [stdout] 1 | fn split(s: &str, delimiter: &str) -> StrSplit<'a> { [INFO] [stdout] | ^^ undeclared lifetime [INFO] [stdout] | [INFO] [stdout] help: consider introducing lifetime `'a` here [INFO] [stdout] | [INFO] [stdout] 1 | fn split<'a>(s: &str, delimiter: &str) -> StrSplit<'a> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StrSplit` in this scope [INFO] [stdout] --> src/main.rs:1:39 [INFO] [stdout] | [INFO] [stdout] 1 | fn split(s: &str, delimiter: &str) -> StrSplit<'a> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `rust_notes` [INFO] [stdout] --> src/main.rs:3:2 [INFO] [stdout] | [INFO] [stdout] 3 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0261, E0412, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0261`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-notes` (bin "rust-notes") due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "e4694d6fd6435bd4eb73cc6b22e7fe921896f80e5e27930772d35680bc50a373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4694d6fd6435bd4eb73cc6b22e7fe921896f80e5e27930772d35680bc50a373", kill_on_drop: false }` [INFO] [stdout] e4694d6fd6435bd4eb73cc6b22e7fe921896f80e5e27930772d35680bc50a373