[INFO] crate qjs 0.1.0 is already in cache [INFO] extracting crate qjs 0.1.0 into work/ex/beta-1.38-1/sources/1.37.0/reg/qjs/0.1.0 [INFO] extracting crate qjs 0.1.0 into work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/qjs/0.1.0 [INFO] validating manifest of qjs-0.1.0 on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of qjs-0.1.0 on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing qjs-0.1.0 [INFO] finished frobbing qjs-0.1.0 [INFO] frobbed toml for qjs-0.1.0 written to work/ex/beta-1.38-1/sources/1.37.0/reg/qjs/0.1.0/Cargo.toml [INFO] started frobbing qjs-0.1.0 [INFO] finished frobbing qjs-0.1.0 [INFO] frobbed toml for qjs-0.1.0 written to work/ex/beta-1.38-1/sources/beta-2019-08-13/reg/qjs/0.1.0/Cargo.toml [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing qjs-0.1.0 against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/reg/qjs/0.1.0:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 3490e309dae3b408b1db00c8052c1f2edbb20006d40c31e55b02b7327edc012d [INFO] running `"docker" "start" "-a" "3490e309dae3b408b1db00c8052c1f2edbb20006d40c31e55b02b7327edc012d"` [INFO] [stderr] Compiling proc-macro2 v1.0.1 [INFO] [stderr] Compiling syn v1.0.3 [INFO] [stderr] Compiling foreign-types-shared v0.2.0 [INFO] [stderr] Compiling rust-lzma v0.4.0 [INFO] [stderr] Compiling foreign-types-macros v0.1.0 [INFO] [stderr] Compiling qjs-sys v0.1.1 [INFO] [stderr] Compiling foreign-types v0.4.0 [INFO] [stderr] Compiling cstr-macros v0.1.6 [INFO] [stderr] Compiling cstr v0.1.7 [INFO] [stderr] Compiling qjs v0.1.0 (/opt/crater/workdir) [INFO] [stderr] error[E0425]: cannot find value `JS_EVAL_FLAG_SHEBANG` in module `ffi` [INFO] [stderr] --> src/eval.rs:24:30 [INFO] [stderr] | [INFO] [stderr] 24 | const SHEBANG = ffi::JS_EVAL_FLAG_SHEBANG; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `JS_EVAL_FLAG_STRICT` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `JS_ToCStringLen` in module `ffi` [INFO] [stderr] --> src/value.rs:341:26 [INFO] [stderr] | [INFO] [stderr] 341 | let p = ffi::JS_ToCStringLen(self.as_ptr(), &mut len, val.0, FALSE); [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `JS_ToCStringLen2` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/atom.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | self.len() as i32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected usize, found i32 [INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 21 | (self.len() as i32).try_into().unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/value.rs:492:81 [INFO] [stderr] | [INFO] [stderr] 492 | unsafe { ffi::JS_NewStringLen(ctxt.as_ptr(), self.as_ptr() as *const _, self.len() as i32) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ expected usize, found i32 [INFO] [stderr] help: you can convert an `i32` to `usize` and panic if the converted value wouldn't fit [INFO] [stderr] | [INFO] [stderr] 492 | unsafe { ffi::JS_NewStringLen(ctxt.as_ptr(), self.as_ptr() as *const _, (self.len() as i32).try_into().unwrap()) } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: Could not compile `qjs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "3490e309dae3b408b1db00c8052c1f2edbb20006d40c31e55b02b7327edc012d"` [INFO] running `"docker" "rm" "-f" "3490e309dae3b408b1db00c8052c1f2edbb20006d40c31e55b02b7327edc012d"` [INFO] [stdout] 3490e309dae3b408b1db00c8052c1f2edbb20006d40c31e55b02b7327edc012d