[INFO] crate runner 0.4.0 is already in cache [INFO] testing runner-0.4.0 against 1.44.0 for beta-1.45-1 [INFO] extracting crate runner 0.4.0 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate runner 0.4.0 on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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-10/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] ff6c9b3037db5c54f73e59afea5369cb945b2ce4c9e02c63369249021c8d29e9 [INFO] running `"docker" "start" "-a" "ff6c9b3037db5c54f73e59afea5369cb945b2ce4c9e02c63369249021c8d29e9"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling lapp v0.4.0 [INFO] [stderr] Compiling easy-shortcuts v0.3.0 [INFO] [stderr] Compiling open v1.4.0 [INFO] [stderr] Compiling isatty v0.1.9 [INFO] [stderr] Compiling runner v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/crate_utils.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stderr] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/crate_utils.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stderr] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.87s [INFO] running `"docker" "inspect" "ff6c9b3037db5c54f73e59afea5369cb945b2ce4c9e02c63369249021c8d29e9"` [INFO] running `"docker" "rm" "-f" "ff6c9b3037db5c54f73e59afea5369cb945b2ce4c9e02c63369249021c8d29e9"` [INFO] [stdout] ff6c9b3037db5c54f73e59afea5369cb945b2ce4c9e02c63369249021c8d29e9 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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=warn" "-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" "/opt/rustwide/cargo-home/bin/cargo" "+1.44.0" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a1408dcaa2846bb72ee4432388e2e17cce7e643b127c31cd89a505cb66a49c52 [INFO] running `"docker" "start" "-a" "a1408dcaa2846bb72ee4432388e2e17cce7e643b127c31cd89a505cb66a49c52"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling runner v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] error: expected item, found keyword `let` [INFO] [stderr] --> examples/regex.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | let re = Regex::new(r"^\d{4}-\d{2}-\d{2}$").unwrap(); [INFO] [stderr] | ^^^ expected item [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [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] [stderr] error: expected item, found keyword `let` [INFO] [stderr] --> examples/read.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | let code = fs::read_to_string("read.rs")?; [INFO] [stderr] | ^^^ expected item [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [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] [stderr] error: expected item, found keyword `let` [INFO] [stderr] --> examples/filetime.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | let metadata = fs::metadata("filetime.rs").unwrap(); [INFO] [stderr] | ^^^ expected item [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [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] [stderr] error: macro expansion ignores token `{` and any following [INFO] [stderr] | [INFO] [stderr] ::: examples/hello.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | println!("hello, world!"); [INFO] [stderr] | -------------------------- caused by the macro expansion here [INFO] [stderr] | [INFO] [stderr] = note: the usage of `println!` is likely invalid in item context [INFO] [stderr] [INFO] [stderr] error: macro expansion ignores token `{` and any following [INFO] [stderr] | [INFO] [stderr] ::: examples/json.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | / println!("{}", [INFO] [stderr] 5 | | json! ({ [INFO] [stderr] 6 | | "hello": 42, [INFO] [stderr] 7 | | }) [INFO] [stderr] 8 | | ); [INFO] [stderr] | |__- caused by the macro expansion here [INFO] [stderr] | [INFO] [stderr] = note: the usage of `println!` is likely invalid in item context [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `hello` [INFO] [stderr] --> examples/hello.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | println!("hello, world!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ consider adding a `main` function to `examples/hello.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0601`. [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] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/crate_utils.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stderr] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/crate_utils.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | / lazy_static! { [INFO] [stderr] 10 | | pub static ref RUSTUP_LIB: String = es::shell("rustc --print sysroot") + "/lib"; [INFO] [stderr] 11 | | pub static ref UNSTABLE: bool = RUSTUP_LIB.find("nightly").is_some(); [INFO] [stderr] 12 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `serde_json` [INFO] [stderr] --> examples/json.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use serde_json::json; [INFO] [stderr] | ^^^^^^^^^^ use of undeclared type or module `serde_json` [INFO] [stderr] [INFO] [stderr] error[E0601]: `main` function not found in crate `json` [INFO] [stderr] --> examples/json.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | / use serde_json::json; [INFO] [stderr] 3 | | [INFO] [stderr] 4 | | println!("{}", [INFO] [stderr] 5 | | json! ({ [INFO] [stderr] 6 | | "hello": 42, [INFO] [stderr] 7 | | }) [INFO] [stderr] 8 | | ); [INFO] [stderr] | |__^ consider adding a `main` function to `examples/json.rs` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0432, E0601. [INFO] [stderr] For more information about an error, try `rustc --explain E0432`. [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] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] error: build failed [INFO] running `"docker" "inspect" "a1408dcaa2846bb72ee4432388e2e17cce7e643b127c31cd89a505cb66a49c52"` [INFO] running `"docker" "rm" "-f" "a1408dcaa2846bb72ee4432388e2e17cce7e643b127c31cd89a505cb66a49c52"` [INFO] [stdout] a1408dcaa2846bb72ee4432388e2e17cce7e643b127c31cd89a505cb66a49c52