[INFO] fetching crate runner 0.4.0... [INFO] checking runner-0.4.0 against try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] extracting crate runner 0.4.0 into /workspace/builds/worker-8/source [INFO] validating manifest of crates.io crate runner 0.4.0 on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "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-8/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded easy-shortcuts v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45e02b8959049ef896e1bbd23664c9150664b543051983625732b7eead3f96c0 [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" "45e02b8959049ef896e1bbd23664c9150664b543051983625732b7eead3f96c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45e02b8959049ef896e1bbd23664c9150664b543051983625732b7eead3f96c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45e02b8959049ef896e1bbd23664c9150664b543051983625732b7eead3f96c0", kill_on_drop: false }` [INFO] [stdout] 45e02b8959049ef896e1bbd23664c9150664b543051983625732b7eead3f96c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 309611a5bb7a1e9584800bd5b7f30247ec71a16dc12a475271235731b0773b23 [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" "309611a5bb7a1e9584800bd5b7f30247ec71a16dc12a475271235731b0773b23", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lapp v0.4.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking open v1.4.0 [INFO] [stderr] Checking easy-shortcuts v0.3.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking toml v0.4.10 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Checking isatty v0.1.9 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Checking runner v0.4.0 (/opt/rustwide/workdir) [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: 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] [stderr] error: could not compile `runner` [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [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: 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/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[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] [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: 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" "309611a5bb7a1e9584800bd5b7f30247ec71a16dc12a475271235731b0773b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "309611a5bb7a1e9584800bd5b7f30247ec71a16dc12a475271235731b0773b23", kill_on_drop: false }` [INFO] [stdout] 309611a5bb7a1e9584800bd5b7f30247ec71a16dc12a475271235731b0773b23