[INFO] fetching crate imagnum 0.1.34... [INFO] checking imagnum-0.1.34 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate imagnum 0.1.34 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate imagnum 0.1.34 [INFO] finished tweaking crates.io crate imagnum 0.1.34 [INFO] tweaked toml for crates.io crate imagnum 0.1.34 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate imagnum 0.1.34 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate imagnum 0.1.34 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3c07d808590b6fe8730bd39fd915b428d3f7fdd59af5f03491603432516ec115 [INFO] running `Command { std: "docker" "start" "-a" "3c07d808590b6fe8730bd39fd915b428d3f7fdd59af5f03491603432516ec115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3c07d808590b6fe8730bd39fd915b428d3f7fdd59af5f03491603432516ec115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c07d808590b6fe8730bd39fd915b428d3f7fdd59af5f03491603432516ec115", kill_on_drop: false }` [INFO] [stdout] 3c07d808590b6fe8730bd39fd915b428d3f7fdd59af5f03491603432516ec115 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 168aa77c97830232ab4d2a859197b7c4754d1ca323a853b18fc60e4d934eeee3 [INFO] running `Command { std: "docker" "start" "-a" "168aa77c97830232ab4d2a859197b7c4754d1ca323a853b18fc60e4d934eeee3", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling bigdecimal v0.4.8 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking imagnum v0.1.34 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no method named `mul` found for struct `Int` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: core/foundation.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Int { [INFO] [stdout] | -------------- method `mul` not found for this struct [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/arith.rs:342:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Int` here [INFO] [stdout] --> imagnum.rs:133:28 [INFO] [stdout] | [INFO] [stdout] 133 | let result_mul = a.mul(&b).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Mul` which provides `mul` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 65 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] help: there is a method `_mul` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 | let result_mul = a._mul(&b).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `div` found for struct `Int` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: core/foundation.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Int { [INFO] [stdout] | -------------- method `div` not found for this struct [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/arith.rs:481:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `Int` here [INFO] [stdout] --> imagnum.rs:138:28 [INFO] [stdout] | [INFO] [stdout] 138 | let result_div = b.div(&a).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Div` which provides `div` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 65 + use std::ops::Div; [INFO] [stdout] | [INFO] [stdout] help: there is a method `_div` with a similar name [INFO] [stdout] | [INFO] [stdout] 138 | let result_div = b._div(&a).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `modulo` found for struct `Int` in the current scope [INFO] [stdout] --> imagnum.rs:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | let result_mod = b.modulo(&a).unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: core/foundation.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Int { [INFO] [stdout] | -------------- method `modulo` not found for this struct [INFO] [stdout] | [INFO] [stdout] help: there is a method `_modulo` with a similar name [INFO] [stdout] | [INFO] [stdout] 143 | let result_mod = b._modulo(&a).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `mul` found for struct `foundation::Float` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: core/foundation.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Float { [INFO] [stdout] | ---------------- method `mul` not found for this struct [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/arith.rs:342:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `foundation::Float` here [INFO] [stdout] --> imagnum.rs:160:28 [INFO] [stdout] | [INFO] [stdout] 160 | let result_mul = a.mul(&b).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Mul` which provides `mul` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 65 + use std::ops::Mul; [INFO] [stdout] | [INFO] [stdout] help: there is a method `_mul` with a similar name [INFO] [stdout] | [INFO] [stdout] 160 | let result_mul = a._mul(&b).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `div` found for struct `foundation::Float` in the current scope [INFO] [stdout] | [INFO] [stdout] ::: core/foundation.rs:30:1 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Float { [INFO] [stdout] | ---------------- method `div` not found for this struct [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/arith.rs:481:8 [INFO] [stdout] | [INFO] [stdout] = note: the method is available for `foundation::Float` here [INFO] [stdout] --> imagnum.rs:166:28 [INFO] [stdout] | [INFO] [stdout] 166 | let result_div = a.div(&b).unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `Div` which provides `div` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 65 + use std::ops::Div; [INFO] [stdout] | [INFO] [stdout] help: there is a method `_div` with a similar name [INFO] [stdout] | [INFO] [stdout] 166 | let result_div = a._div(&b).unwrap(); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `imagnum` (lib test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "168aa77c97830232ab4d2a859197b7c4754d1ca323a853b18fc60e4d934eeee3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "168aa77c97830232ab4d2a859197b7c4754d1ca323a853b18fc60e4d934eeee3", kill_on_drop: false }` [INFO] [stdout] 168aa77c97830232ab4d2a859197b7c4754d1ca323a853b18fc60e4d934eeee3