[INFO] cloning repository https://github.com/stevedonovan/runner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/stevedonovan/runner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevedonovan%2Frunner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevedonovan%2Frunner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e07aef01cd97d26d5c31998c52b4a9ccd92adf43 [INFO] checking stevedonovan/runner against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevedonovan%2Frunner" "/workspace/builds/worker-12/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevedonovan/runner on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/stevedonovan/runner [INFO] finished tweaking git repo https://github.com/stevedonovan/runner [INFO] tweaked toml for git repo https://github.com/stevedonovan/runner written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate git repo https://github.com/stevedonovan/runner already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded isatty v0.1.8 [INFO] [stderr] Downloaded quote v0.6.3 [INFO] [stderr] Downloaded serde v1.0.66 [INFO] [stderr] Downloaded serde_derive v1.0.66 [INFO] [stderr] Downloaded open v1.2.1 [INFO] [stderr] Downloaded syn v0.14.2 [INFO] [stderr] Downloaded easy-shortcuts v0.3.0 [INFO] [stderr] Downloaded lapp v0.4.0 [INFO] [stderr] Downloaded json v0.11.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb2c4ba2b7903d9c679be1adb869984cded26defb1f46939efe7f7ba85c8eeda [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" "eb2c4ba2b7903d9c679be1adb869984cded26defb1f46939efe7f7ba85c8eeda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb2c4ba2b7903d9c679be1adb869984cded26defb1f46939efe7f7ba85c8eeda", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb2c4ba2b7903d9c679be1adb869984cded26defb1f46939efe7f7ba85c8eeda", kill_on_drop: false }` [INFO] [stdout] eb2c4ba2b7903d9c679be1adb869984cded26defb1f46939efe7f7ba85c8eeda [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 76c19a7599f7f2bc9389eb2f58d3df47edb7dfc0cadda0a60b21fd3cd8b9ae12 [INFO] running `Command { std: "docker" "start" "-a" "76c19a7599f7f2bc9389eb2f58d3df47edb7dfc0cadda0a60b21fd3cd8b9ae12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking shlex v0.1.1 [INFO] [stderr] Checking json v0.11.12 [INFO] [stderr] Checking lapp v0.4.0 [INFO] [stderr] Checking open v1.2.1 [INFO] [stderr] Checking easy-shortcuts v0.3.0 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking isatty v0.1.8 [INFO] [stderr] Checking dirs v1.0.5 [INFO] [stderr] Checking toml v0.4.6 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Checking runner v0.4.0 (/opt/rustwide/workdir) [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: 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] [stderr] error: could not compile `runner` [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] [stderr] [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] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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] 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] 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" "76c19a7599f7f2bc9389eb2f58d3df47edb7dfc0cadda0a60b21fd3cd8b9ae12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "76c19a7599f7f2bc9389eb2f58d3df47edb7dfc0cadda0a60b21fd3cd8b9ae12", kill_on_drop: false }` [INFO] [stdout] 76c19a7599f7f2bc9389eb2f58d3df47edb7dfc0cadda0a60b21fd3cd8b9ae12