[INFO] updating cached repository https://github.com/stevedonovan/runner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e07aef01cd97d26d5c31998c52b4a9ccd92adf43 [INFO] testing stevedonovan/runner against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstevedonovan%2Frunner" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/stevedonovan/runner on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", 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-4/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" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--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-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c16a4a54280148558197d40e1e73f08f428879382675b043efd58f471d2693ee [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" "c16a4a54280148558197d40e1e73f08f428879382675b043efd58f471d2693ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c16a4a54280148558197d40e1e73f08f428879382675b043efd58f471d2693ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c16a4a54280148558197d40e1e73f08f428879382675b043efd58f471d2693ee", kill_on_drop: false }` [INFO] [stdout] c16a4a54280148558197d40e1e73f08f428879382675b043efd58f471d2693ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5beee3c3aaa98de799a21c98ac9a3ae84eaecfe143aa990619f79f0c719b79c7 [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" "5beee3c3aaa98de799a21c98ac9a3ae84eaecfe143aa990619f79f0c719b79c7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.66 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling open v1.2.1 [INFO] [stderr] Compiling easy-shortcuts v0.3.0 [INFO] [stderr] Compiling lapp v0.4.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling json v0.11.12 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling isatty v0.1.8 [INFO] [stderr] Compiling quote v0.6.3 [INFO] [stderr] Compiling syn v0.14.2 [INFO] [stderr] Compiling serde_derive v1.0.66 [INFO] [stderr] Compiling toml v0.4.6 [INFO] [stderr] Compiling runner v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated item '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 item '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] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 22.20s [INFO] running `Command { std: "docker" "inspect" "5beee3c3aaa98de799a21c98ac9a3ae84eaecfe143aa990619f79f0c719b79c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5beee3c3aaa98de799a21c98ac9a3ae84eaecfe143aa990619f79f0c719b79c7", kill_on_drop: false }` [INFO] [stdout] 5beee3c3aaa98de799a21c98ac9a3ae84eaecfe143aa990619f79f0c719b79c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:d9fbb4e2287ab3795bdefaf705efb7541a8875c13bce71e067d6b01dc5ed759b" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6525041f075423de50038a344774f766c3aa14399a3f85f4fea6060ffff58df6 [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" "6525041f075423de50038a344774f766c3aa14399a3f85f4fea6060ffff58df6", kill_on_drop: false }` [INFO] [stderr] Compiling runner v0.4.0 (/opt/rustwide/workdir) [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: 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] [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/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: 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 type 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 item '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 item '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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "6525041f075423de50038a344774f766c3aa14399a3f85f4fea6060ffff58df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6525041f075423de50038a344774f766c3aa14399a3f85f4fea6060ffff58df6", kill_on_drop: false }` [INFO] [stdout] 6525041f075423de50038a344774f766c3aa14399a3f85f4fea6060ffff58df6