[INFO] cloning repository https://github.com/trust-rust/rust-ownership [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/trust-rust/rust-ownership" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrust-rust%2Frust-ownership", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrust-rust%2Frust-ownership'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3aa4b52db9c655d3e94b229a3cf0f57013fc5615 [INFO] checking trust-rust/rust-ownership against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftrust-rust%2Frust-ownership" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/trust-rust/rust-ownership on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/trust-rust/rust-ownership [INFO] finished tweaking git repo https://github.com/trust-rust/rust-ownership [INFO] tweaked toml for git repo https://github.com/trust-rust/rust-ownership written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/trust-rust/rust-ownership 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded slog-async v2.6.0 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a08444b5041c9fdec97725949f377a4052725444117c04f3c0a1df542ec46adb [INFO] running `Command { std: "docker" "start" "-a" "a08444b5041c9fdec97725949f377a4052725444117c04f3c0a1df542ec46adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a08444b5041c9fdec97725949f377a4052725444117c04f3c0a1df542ec46adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a08444b5041c9fdec97725949f377a4052725444117c04f3c0a1df542ec46adb", kill_on_drop: false }` [INFO] [stdout] a08444b5041c9fdec97725949f377a4052725444117c04f3c0a1df542ec46adb [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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca38eb9f0188ff9d4274b80b72937fe44d7eb565c20135c52c257191c7580c08 [INFO] running `Command { std: "docker" "start" "-a" "ca38eb9f0188ff9d4274b80b72937fe44d7eb565c20135c52c257191c7580c08", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking thread_local v1.1.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-utils v0.8.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling semver-parser v0.10.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking dirs-sys-next v0.1.2 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking dirs-sys v0.3.5 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking dirs-next v2.0.0 [INFO] [stderr] Checking dirs2 v3.0.1 [INFO] [stderr] Checking rand_core v0.6.2 [INFO] [stderr] Checking term v0.7.0 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Compiling rustc_version v0.3.3 [INFO] [stderr] Checking rand v0.8.3 [INFO] [stderr] Checking slog-async v2.6.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking slog-term v2.8.0 [INFO] [stderr] Compiling vergen v3.2.0 [INFO] [stderr] Compiling tr v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling getset v0.1.1 [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(crate_visibility_modifier, error_iter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0557]: feature has been removed [INFO] [stdout] --> src/main.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | #![feature(crate_visibility_modifier, error_iter)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ feature has been removed [INFO] [stdout] | [INFO] [stdout] = note: removed in favor of `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `use` [INFO] [stdout] --> src/error/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | crate use codes::ErrCode; [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `use` [INFO] [stdout] --> src/error/mod.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | crate use codes::ErrCode; [INFO] [stdout] | ^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex01.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex01_scope() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex01.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex01_scope() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex02.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex02_move() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex02.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex02_move() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex03.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex03_move_fn() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex03.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex03_move_fn() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex04.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex04_fn_return() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex04.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex04_fn_return() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex05.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex05_move_only() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex05.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex05_move_only() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex06.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex06_borrow() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex06.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex06_borrow() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex07.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex07_modify() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex07.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex07_modify() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex08.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex08_mutable_reference() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/ex08.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | crate fn ex08_mutable_reference() { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/run/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | crate fn run() -> Result<()> { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `!` or `::`, found keyword `fn` [INFO] [stdout] --> src/run/mod.rs:30:7 [INFO] [stdout] | [INFO] [stdout] 30 | crate fn run() -> Result<()> { [INFO] [stdout] | ^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::ErrSource` [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use crate::error::ErrSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ErrSource` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::error::ErrSource` [INFO] [stdout] --> src/main.rs:128:5 [INFO] [stdout] | [INFO] [stdout] 128 | use crate::error::ErrSource; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ no `ErrSource` in `error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in module `run` [INFO] [stdout] --> src/main.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | process::exit(match run::run() { [INFO] [stdout] | ^^^ not found in `run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in module `error` [INFO] [stdout] --> src/main.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | fn is_clap_help_or_version(error_tuple: (&error::Error, &ErrSource)) -> Option { [INFO] [stdout] | ^^^^^ not found in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 128 + use clap::Error; [INFO] [stdout] | [INFO] [stdout] 128 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 128 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 128 + use rand::Error; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - fn is_clap_help_or_version(error_tuple: (&error::Error, &ErrSource)) -> Option { [INFO] [stdout] 146 + fn is_clap_help_or_version(error_tuple: (&Error, &ErrSource)) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run` in module `run` [INFO] [stdout] --> src/main.rs:134:30 [INFO] [stdout] | [INFO] [stdout] 134 | process::exit(match run::run() { [INFO] [stdout] | ^^^ not found in `run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in module `error` [INFO] [stdout] --> src/main.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | fn is_clap_help_or_version(error_tuple: (&error::Error, &ErrSource)) -> Option { [INFO] [stdout] | ^^^^^ not found in `error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 128 + use clap::Error; [INFO] [stdout] | [INFO] [stdout] 128 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] 128 + use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 128 + use rand::Error; [INFO] [stdout] | [INFO] [stdout] and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 146 - fn is_clap_help_or_version(error_tuple: (&error::Error, &ErrSource)) -> Option { [INFO] [stdout] 146 + fn is_clap_help_or_version(error_tuple: (&Error, &ErrSource)) -> Option { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 14 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0557. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tr` (bin "tr") due to 15 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `tr` (bin "tr" test) due to 15 previous errors [INFO] running `Command { std: "docker" "inspect" "ca38eb9f0188ff9d4274b80b72937fe44d7eb565c20135c52c257191c7580c08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca38eb9f0188ff9d4274b80b72937fe44d7eb565c20135c52c257191c7580c08", kill_on_drop: false }` [INFO] [stdout] ca38eb9f0188ff9d4274b80b72937fe44d7eb565c20135c52c257191c7580c08