[INFO] cloning repository https://github.com/38/limo [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/38/limo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F38%2Flimo", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F38%2Flimo'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af36692099cf4fa891e60cbcc07cba85f878656c [INFO] testing 38/limo against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F38%2Flimo" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/38/limo on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/38/limo [INFO] finished tweaking git repo https://github.com/38/limo [INFO] tweaked toml for git repo https://github.com/38/limo written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/38/limo already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `profile-overrides` has been stabilized in the 1.41 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/profiles.html#overrides for more information about using this feature. [INFO] [stderr] warning: unused manifest key: profile.dev.overrides [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c39bbdb668fec506cb011c7f73f03ecfaf8510af5040f33dc1b82e9789ec671 [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" "4c39bbdb668fec506cb011c7f73f03ecfaf8510af5040f33dc1b82e9789ec671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c39bbdb668fec506cb011c7f73f03ecfaf8510af5040f33dc1b82e9789ec671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c39bbdb668fec506cb011c7f73f03ecfaf8510af5040f33dc1b82e9789ec671", kill_on_drop: false }` [INFO] [stdout] 4c39bbdb668fec506cb011c7f73f03ecfaf8510af5040f33dc1b82e9789ec671 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d67bc6492ed5bc951d6a970ff1aac6978e82dc4e2b0a2c699caaccd5f3ec3608 [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" "d67bc6492ed5bc951d6a970ff1aac6978e82dc4e2b0a2c699caaccd5f3ec3608", kill_on_drop: false }` [INFO] [stderr] warning: the cargo feature `profile-overrides` has been stabilized in the 1.41 release and is no longer necessary to be listed in the manifest [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/profiles.html#overrides for more information about using this feature. [INFO] [stderr] warning: unused manifest key: profile.dev.overrides [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling bindgen v0.42.1 [INFO] [stderr] Compiling proc-macro2 v0.4.24 [INFO] [stderr] Compiling termcolor v1.0.4 [INFO] [stderr] Compiling serde v1.0.80 [INFO] [stderr] Compiling termcolor v0.3.6 [INFO] [stderr] Compiling which v1.0.5 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling memchr v2.1.0 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling clang-sys v0.26.0 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling aho-corasick v0.6.8 [INFO] [stderr] Compiling nom v4.1.0 [INFO] [stderr] Compiling stderrlog v0.4.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling quote v0.6.10 [INFO] [stderr] Compiling syn v0.15.22 [INFO] [stderr] Compiling cexpr v0.3.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling serde_json v1.0.33 [INFO] [stderr] Compiling serde_derive v1.0.80 [INFO] [stderr] Compiling frontend v0.1.0 (/opt/rustwide/workdir/libs/frontend) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> libs/frontend/src/bamfile.rs:360:27 [INFO] [stdout] | [INFO] [stdout] 360 | let len = unsafe{ (*(*hdr).target_len.offset(chrom as isize)) }; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 360 - let len = unsafe{ (*(*hdr).target_len.offset(chrom as isize)) }; [INFO] [stdout] 360 + let len = unsafe{ *(*hdr).target_len.offset(chrom as isize) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `read` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | read : Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `refs` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | refs : bool [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> libs/frontend/src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(core_intrinsics)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:298:50 [INFO] [stdout] | [INFO] [stdout] 298 | hts_open(CString::new(path).unwrap().as_ptr(), [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(temporary_cstring_as_ptr)]` on by default [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:299:50 [INFO] [stdout] | [INFO] [stdout] 299 | CString::new("rb").unwrap().as_ptr()) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:325:50 [INFO] [stdout] | [INFO] [stdout] 325 | hts_open(CString::new(path).unwrap().as_ptr(), [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:326:50 [INFO] [stdout] | [INFO] [stdout] 326 | CString::new("rb").unwrap().as_ptr()) [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:337:91 [INFO] [stdout] | [INFO] [stdout] 337 | if unsafe{ hts_set_fai_filename(fp, CString::new(reference.unwrap()).unwrap().as_ptr()) } < 0 [INFO] [stdout] | ----------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> libs/frontend/src/bamfile.rs:352:75 [INFO] [stdout] | [INFO] [stdout] 352 | let idx = unsafe { sam_index_load(fp, CString::new(path).unwrap().as_ptr()) }; [INFO] [stdout] | --------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `frontend` due to 2 previous errors; 9 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d67bc6492ed5bc951d6a970ff1aac6978e82dc4e2b0a2c699caaccd5f3ec3608", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d67bc6492ed5bc951d6a970ff1aac6978e82dc4e2b0a2c699caaccd5f3ec3608", kill_on_drop: false }` [INFO] [stdout] d67bc6492ed5bc951d6a970ff1aac6978e82dc4e2b0a2c699caaccd5f3ec3608