[INFO] cloning repository https://github.com/tchagnon/raylang-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tchagnon/raylang-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftchagnon%2Fraylang-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftchagnon%2Fraylang-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5a1bdcf0c7094e9c07d612eb69be7fa97ba5092 [INFO] checking tchagnon/raylang-rust against try#05c8870159e4f328578a970e125aa76d24f03b56 for pr-76219 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftchagnon%2Fraylang-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tchagnon/raylang-rust on toolchain 05c8870159e4f328578a970e125aa76d24f03b56 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tchagnon/raylang-rust [INFO] finished tweaking git repo https://github.com/tchagnon/raylang-rust [INFO] tweaked toml for git repo https://github.com/tchagnon/raylang-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tchagnon/raylang-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 353aa9a618d7197eda80061ff77a927a8223c80a6617c0e5b963cdfaed59fc6c [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" "353aa9a618d7197eda80061ff77a927a8223c80a6617c0e5b963cdfaed59fc6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "353aa9a618d7197eda80061ff77a927a8223c80a6617c0e5b963cdfaed59fc6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "353aa9a618d7197eda80061ff77a927a8223c80a6617c0e5b963cdfaed59fc6c", kill_on_drop: false }` [INFO] [stdout] 353aa9a618d7197eda80061ff77a927a8223c80a6617c0e5b963cdfaed59fc6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+05c8870159e4f328578a970e125aa76d24f03b56" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 87bc1d2a13db9eb36e481b2039bdc2d7126f8d7128f3512dd434297e4fa1debe [INFO] running `Command { std: "docker" "start" "-a" "87bc1d2a13db9eb36e481b2039bdc2d7126f8d7128f3512dd434297e4fa1debe", kill_on_drop: false }` [INFO] [stderr] Checking libc v0.2.28 [INFO] [stderr] Checking scopeguard v0.3.2 [INFO] [stderr] Compiling rayon-core v1.2.1 [INFO] [stderr] Checking either v1.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking serde_json v1.0.2 [INFO] [stderr] Checking num-rational v0.1.39 [INFO] [stderr] Checking deflate v0.7.14 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking rand v0.3.15 [INFO] [stderr] Checking num_cpus v1.6.2 [INFO] [stderr] Checking time v0.1.38 [INFO] [stderr] Checking serde_yaml v0.7.1 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking png v0.7.0 [INFO] [stderr] Compiling serde_derive_internals v0.15.1 [INFO] [stderr] Compiling serde_derive v1.0.10 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking image v0.13.0 [INFO] [stderr] Checking raylang-rust v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/scene.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 132 | ObjectTree::Group(objs.iter().map({ |o| o.prepare(t, origin) }).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/scene.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | ObjectTree::Group(objs.iter().map({ |o| o.construct_bvh(bbox_limit) }).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/scene.rs:192:38 [INFO] [stdout] | [INFO] [stdout] 192 | objs.iter().flat_map({ |o| o.intersect(ray, material).into_iter() }).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub extern fn decode_json_scene(json: *const c_char) -> *const Scene { [INFO] [stdout] 25 | | unsafe { [INFO] [stdout] 26 | | let json_str = CStr::from_ptr(json).to_str() [INFO] [stdout] 27 | | .expect("Error converting json to str"); [INFO] [stdout] ... | [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub extern fn render(scene: *const Scene) { [INFO] [stdout] 37 | | unsafe { [INFO] [stdout] 38 | | (*scene).render(); [INFO] [stdout] 39 | | println!("Wrote file {:?}", (*scene).image); [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/scene.rs:132:51 [INFO] [stdout] | [INFO] [stdout] 132 | ObjectTree::Group(objs.iter().map({ |o| o.prepare(t, origin) }).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/scene.rs:161:51 [INFO] [stdout] | [INFO] [stdout] 161 | ObjectTree::Group(objs.iter().map({ |o| o.construct_bvh(bbox_limit) }).collect()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/scene.rs:192:38 [INFO] [stdout] | [INFO] [stdout] 192 | objs.iter().flat_map({ |o| o.intersect(ray, material).into_iter() }).collect() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these braces [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | / pub extern fn decode_json_scene(json: *const c_char) -> *const Scene { [INFO] [stdout] 25 | | unsafe { [INFO] [stdout] 26 | | let json_str = CStr::from_ptr(json).to_str() [INFO] [stdout] 27 | | .expect("Error converting json to str"); [INFO] [stdout] ... | [INFO] [stdout] 32 | | [INFO] [stdout] 33 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(missing_abi)]` on by default [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: extern declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/lib.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | / pub extern fn render(scene: *const Scene) { [INFO] [stdout] 37 | | unsafe { [INFO] [stdout] 38 | | (*scene).render(); [INFO] [stdout] 39 | | println!("Wrote file {:?}", (*scene).image); [INFO] [stdout] 40 | | } [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ ABI should be specified here [INFO] [stdout] | [INFO] [stdout] = help: the default ABI is C [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/color.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | let r = (vec3f.x * 255.0).round().clamp(0.0, 255.0) as u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `math::Clamp::clamp(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(clamp)]` to the crate attributes to enable `std::f32::::clamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/color.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | let g = (vec3f.y * 255.0).round().clamp(0.0, 255.0) as u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `math::Clamp::clamp(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(clamp)]` to the crate attributes to enable `std::f32::::clamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/color.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let b = (vec3f.z * 255.0).round().clamp(0.0, 255.0) as u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `math::Clamp::clamp(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(clamp)]` to the crate attributes to enable `std::f32::::clamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/color.rs:55:43 [INFO] [stdout] | [INFO] [stdout] 55 | let r = (vec3f.x * 255.0).round().clamp(0.0, 255.0) as u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unstable_name_collisions)]` on by default [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `math::Clamp::clamp(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(clamp)]` to the crate attributes to enable `std::f32::::clamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/color.rs:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | let g = (vec3f.y * 255.0).round().clamp(0.0, 255.0) as u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `math::Clamp::clamp(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(clamp)]` to the crate attributes to enable `std::f32::::clamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: a method with this name may be added to the standard library in the future [INFO] [stdout] --> src/color.rs:57:43 [INFO] [stdout] | [INFO] [stdout] 57 | let b = (vec3f.z * 255.0).round().clamp(0.0, 255.0) as u8; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: once this method is added to the standard library, the ambiguity may cause an error or change in behavior! [INFO] [stdout] = note: for more information, see issue #48919 [INFO] [stdout] = help: call with fully qualified syntax `math::Clamp::clamp(...)` to keep using the current method [INFO] [stdout] = help: add `#![feature(clamp)]` to the crate attributes to enable `std::f32::::clamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `raylang-rust`. [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 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "87bc1d2a13db9eb36e481b2039bdc2d7126f8d7128f3512dd434297e4fa1debe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87bc1d2a13db9eb36e481b2039bdc2d7126f8d7128f3512dd434297e4fa1debe", kill_on_drop: false }` [INFO] [stdout] 87bc1d2a13db9eb36e481b2039bdc2d7126f8d7128f3512dd434297e4fa1debe