[INFO] fetching crate runner 0.4.0... [INFO] checking runner-0.4.0 against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] extracting crate runner 0.4.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate runner 0.4.0 on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate runner 0.4.0 [INFO] finished tweaking crates.io crate runner 0.4.0 [INFO] tweaked toml for crates.io crate runner 0.4.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded open v1.4.0 [INFO] [stderr] Downloaded json v0.11.15 [INFO] [stderr] Downloaded lapp v0.4.0 [INFO] [stderr] Downloaded easy-shortcuts v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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] a09ef05de495f46ccb03ce0940e9ac94ab208edbf678e9d072c97fec26726c9f [INFO] running `Command { std: "docker" "start" "-a" "a09ef05de495f46ccb03ce0940e9ac94ab208edbf678e9d072c97fec26726c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a09ef05de495f46ccb03ce0940e9ac94ab208edbf678e9d072c97fec26726c9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a09ef05de495f46ccb03ce0940e9ac94ab208edbf678e9d072c97fec26726c9f", kill_on_drop: false }` [INFO] [stdout] a09ef05de495f46ccb03ce0940e9ac94ab208edbf678e9d072c97fec26726c9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a0e8d564dbafb1cbee598f9d930b70df9cbdf2b73ea234ea941e2fc6214ecbdf [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" "a0e8d564dbafb1cbee598f9d930b70df9cbdf2b73ea234ea941e2fc6214ecbdf", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking lapp v0.4.0 [INFO] [stderr] Checking easy-shortcuts v0.3.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking runner v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: examples/hello.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | println!("hello, world!"); [INFO] [stdout] | -------------------------- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> examples/read.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | let code = fs::read_to_string("read.rs")?; [INFO] [stdout] | ^^^ expected item [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `hello` [INFO] [stdout] --> examples/hello.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | println!("hello, world!"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider adding a `main` function to `examples/hello.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `runner` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> examples/regex.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | let re = Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap(); [INFO] [stdout] | ^^^ expected item [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected item, found keyword `let` [INFO] [stdout] --> examples/filetime.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | let metadata = fs::metadata("filetime.rs").unwrap(); [INFO] [stdout] | ^^^ expected item [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: macro expansion ignores token `{` and any following [INFO] [stdout] | [INFO] [stdout] ::: examples/json.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | / println!("{}", [INFO] [stdout] 5 | | json! ({ [INFO] [stdout] 6 | | "hello": 42, [INFO] [stdout] 7 | | }) [INFO] [stdout] 8 | | ); [INFO] [stdout] | |__- caused by the macro expansion here [INFO] [stdout] | [INFO] [stdout] = note: the usage of `println!` is likely invalid in item context [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde_json` [INFO] [stdout] --> examples/json.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use serde_json::json; [INFO] [stdout] | ^^^^^^^^^^ use of undeclared crate or module `serde_json` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `json` [INFO] [stdout] --> examples/json.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | / use serde_json::json; [INFO] [stdout] 3 | | [INFO] [stdout] 4 | | println!("{}", [INFO] [stdout] 5 | | json! ({ [INFO] [stdout] 6 | | "hello": 42, [INFO] [stdout] 7 | | }) [INFO] [stdout] 8 | | ); [INFO] [stdout] | |__^ consider adding a `main` function to `examples/json.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/crate_utils.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stdout] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/crate_utils.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stdout] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/crate_utils.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stdout] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/crate_utils.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / lazy_static! { [INFO] [stdout] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stdout] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a0e8d564dbafb1cbee598f9d930b70df9cbdf2b73ea234ea941e2fc6214ecbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a0e8d564dbafb1cbee598f9d930b70df9cbdf2b73ea234ea941e2fc6214ecbdf", kill_on_drop: false }` [INFO] [stdout] a0e8d564dbafb1cbee598f9d930b70df9cbdf2b73ea234ea941e2fc6214ecbdf