[INFO] cloning repository https://github.com/rustoscript/js.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rustoscript/js.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustoscript%2Fjs.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustoscript%2Fjs.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 702c162b7ad8e59c5e9b9ce0c0ec0ec43b532804 [INFO] checking rustoscript/js.rs against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frustoscript%2Fjs.rs" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/rustoscript/js.rs on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/rustoscript/js.rs [INFO] finished tweaking git repo https://github.com/rustoscript/js.rs [INFO] tweaked toml for git repo https://github.com/rustoscript/js.rs written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/rustoscript/js.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b1e160b3ac61826721086ca4d1296282f88f5d6032aa0976bbf587805a0ca3d [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" "2b1e160b3ac61826721086ca4d1296282f88f5d6032aa0976bbf587805a0ca3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b1e160b3ac61826721086ca4d1296282f88f5d6032aa0976bbf587805a0ca3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b1e160b3ac61826721086ca4d1296282f88f5d6032aa0976bbf587805a0ca3d", kill_on_drop: false }` [INFO] [stdout] 2b1e160b3ac61826721086ca4d1296282f88f5d6032aa0976bbf587805a0ca3d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89600f3dd596e26bf5f1dabf2508790af06f84438c1166ca5919fd3b6087b6ca [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" "89600f3dd596e26bf5f1dabf2508790af06f84438c1166ca5919fd3b6087b6ca", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.9 [INFO] [stderr] Compiling mempool v0.3.1 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling regex-syntax v0.3.1 [INFO] [stderr] Compiling fixedbitset v0.1.0 [INFO] [stderr] Compiling winapi v0.2.6 [INFO] [stderr] Compiling unicode-xid v0.0.2 [INFO] [stderr] Compiling lalrpop-util v0.11.0 [INFO] [stderr] Compiling itertools v0.3.25 [INFO] [stderr] Compiling diff v0.1.9 [INFO] [stderr] Compiling lalrpop-intern v0.11.0 [INFO] [stderr] Compiling strsim v0.3.0 [INFO] [stderr] Compiling rustc-serialize v0.3.19 [INFO] [stderr] Compiling bit-vec v0.4.3 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.2.5 [INFO] [stderr] Checking serde v0.7.0 [INFO] [stderr] Checking matches v0.1.2 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking unescape v0.1.0 [INFO] [stderr] Compiling kernel32-sys v0.2.1 [INFO] [stderr] Compiling petgraph v0.1.18 [INFO] [stdout] error[E0642]: patterns aren't allowed in functions without bodies [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.19/src/serialize.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | ... &f_name: &str, [INFO] [stdout] | ^^^^^^^ pattern not allowed in function without body [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bit-set v0.3.0 [INFO] [stderr] Checking rand v0.3.14 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking nix v0.5.0 [INFO] [stderr] Checking aho-corasick v0.5.1 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.1.18/src/graph.rs:404:21 [INFO] [stdout] | [INFO] [stdout] 404 | assert!(Ix::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^^ multiple `max` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `IndexType` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.1.18/src/graph.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn max() -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `Ord` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 404 | assert!(IndexType::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 404 | assert!(Ord::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling time v0.1.35 [INFO] [stderr] Compiling term v0.4.4 [INFO] [stderr] Compiling atty v0.1.2 [INFO] [stderr] Checking walkdir v0.1.5 [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.1.18/src/graph.rs:404:38 [INFO] [stdout] | [INFO] [stdout] 352 | impl Graph [INFO] [stdout] | -- this type parameter [INFO] [stdout] ... [INFO] [stdout] 404 | assert!(Ix::max().index() == !0 || NodeIndex::end() != node_idx); [INFO] [stdout] | ^^ expected type parameter `Ix`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `Ix` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.1.18/src/graph.rs:438:21 [INFO] [stdout] | [INFO] [stdout] 438 | assert!(Ix::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^^ multiple `max` found [INFO] [stdout] | [INFO] [stdout] note: candidate #1 is defined in the trait `IndexType` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.1.18/src/graph.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | fn max() -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: candidate #2 is defined in the trait `Ord` [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 438 | assert!(IndexType::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 438 | assert!(Ord::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/petgraph-0.1.18/src/graph.rs:438:38 [INFO] [stdout] | [INFO] [stdout] 352 | impl Graph [INFO] [stdout] | -- this type parameter [INFO] [stdout] ... [INFO] [stdout] 438 | assert!(Ix::max().index() == !0 || EdgeIndex::end() != edge_idx); [INFO] [stdout] | ^^ expected type parameter `Ix`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `Ix` [INFO] [stdout] found type `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0034, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `petgraph` [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: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [INFO] [stdout] [INFO] [stdout] error[E0591]: can't transmute zero-sized type [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/nix-0.5.0/src/sched.rs:192:20 [INFO] [stdout] | [INFO] [stdout] 192 | ffi::clone(mem::transmute(callback), ptr as *mut c_void, flags.bits(), &mut cb) [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: source type: for<'r> extern "C" fn(*mut Box<(dyn FnMut() -> isize + 'r)>) -> i32 {callback} [INFO] [stdout] = note: target type: *const for<'r> extern "C" fn(*const Box<(dyn FnMut() -> isize + 'r)>) -> i32 [INFO] [stdout] = help: cast with `as` to a pointer instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0642`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0591`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "89600f3dd596e26bf5f1dabf2508790af06f84438c1166ca5919fd3b6087b6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89600f3dd596e26bf5f1dabf2508790af06f84438c1166ca5919fd3b6087b6ca", kill_on_drop: false }` [INFO] [stdout] 89600f3dd596e26bf5f1dabf2508790af06f84438c1166ca5919fd3b6087b6ca