Giter Site home page Giter Site logo

Comments (7)

ForestLH avatar ForestLH commented on June 18, 2024 1

Please try this command

rustup toolchain install nightly-2024-01-18
rustup default nightly-2024-01-18

it works! thank you very much πŸ‘

from fncksql.

KKould avatar KKould commented on June 18, 2024

I don't have a macbook around for testing, but there is a contributor who uses a macbook for development, and I think it's OK.

If you encounter a problem, you are welcome to report it and I will actively deal with it.

from fncksql.

ForestLH avatar ForestLH commented on June 18, 2024

Thank you very much for your help.
I'm new to rust, and I want to know if there's something wrong with the rust environment on my MacOS(m1)
Here's my rust version

(base) ➜  FnckSQL git:(main) rustup -V
rustup 1.26.0 (5af9b9484 2023-04-05)
info: This is the version for the rustup toolchain manager, not the rustc compiler.
info: The currently active `rustc` version is `rustc 1.77.0-nightly (6ae4cfbbb 2024-01-17)`

Here's what went wrong when I run Cargo run

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1247:24
     |
1247 |                 return Err(Error::new(
     |                        ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1365:9
     |
1365 |         Ok(())
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1433:9
     |
1433 |         Ok(objects.into_iter().map(|v| v.dst).collect())
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1596:9
     |
1596 |         Ok(())
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1611:52
     |
1611 |         let is_assembler_msvc = msvc && asm_ext == Some(AsmFileExt::DotAsm);
     |                                                    ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1666:9
     |
1666 |         Ok((cmd, name))
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1705:9
     |
1705 |         Ok(run_output(&mut cmd, &name, &self.cargo_output)?)
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:1829:9
     |
1829 |         Ok(cmd)
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2338:9
     |
2338 |         Ok(())
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2404:9
     |
2404 |         Ok((cmd, tool))
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2450:28
     |
2450 |                     return Err(Error::new(
     |                            ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2468:9
     |
2468 |         Ok(())
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2528:9
     |
2528 |         Ok(())
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2569:28
     |
2569 |                     return Err(Error::new(
     |                            ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2581:28
     |
2581 |                     return Err(Error::new(
     |                            ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2592:28
     |
2592 |                     return Err(Error::new(
     |                            ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2609:28
     |
2609 |                     return Err(Error::new(
     |                            ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2618:61
     |
2618 |         let min_version = self.apple_deployment_version(os, Some(arch_str), &sdk_details.sdk);
     |                                                             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2695:9
     |
2695 |         Ok(())
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2711:20
     |
2711 |             return Ok(Tool::new(
     |                    ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2760:41
     |
2760 |                     t.cc_wrapper_path = Some(PathBuf::from(cc_wrapper));
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2780:25
     |
2780 |                         Some(t)
     |                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2782:25
     |
2782 |                         Some(Tool::new(
     |                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2849:41
     |
2849 |                     t.cc_wrapper_path = Some(PathBuf::from(cc_wrapper));
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2942:9
     |
2942 |         Ok(tool)
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2957:13
     |
2957 |             Some(rustc_wrapper.to_str()?.to_owned())
     |             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:2975:20
     |
2975 |             return Some((
     |                    ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3017:24
     |
3017 |                 return Some((
     |                        ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3019:21
     |
3019 |                     Some(maybe_wrapper.to_string()),
     |                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3025:9
     |
3025 |         Some((
     |         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3039:24
     |
3039 |             Some(s) => Ok(s.as_ref().map(|s| (*s).to_string())),
     |                        ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3043:25
     |
3043 |                         Ok(None)
     |                         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3045:25
     |
3045 |                         Ok(Some(stdlib.to_string()))
     |                         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3045:28
     |
3045 |                         Ok(Some(stdlib.to_string()))
     |                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3050:25
     |
3050 |                         Ok(None)
     |                         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3057:25
     |
3057 |                         Ok(Some("c++".to_string()))
     |                         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3057:28
     |
3057 |                         Ok(Some("c++".to_string()))
     |                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3059:25
     |
3059 |                         Ok(Some("c++_shared".to_string()))
     |                         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3059:28
     |
3059 |                         Ok(Some("c++_shared".to_string()))
     |                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3061:25
     |
3061 |                         Ok(Some("stdc++".to_string()))
     |                         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3061:28
     |
3061 |                         Ok(Some("stdc++".to_string()))
     |                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3098:9
     |
3098 |         Ok(self.try_get_archiver_and_flags()?.0)
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3112:9
     |
3112 |         Ok((cmd, name, any_flags))
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3118:20
     |
3118 |             return Ok((self.cmd(archiver), archiver.into()));
     |                    ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3155:9
     |
3155 |         Ok(cmd)
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3160:20
     |
3160 |             return Ok(self.cmd(&**r));
     |                    ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3163:9
     |
3163 |         Ok(self.get_base_archiver_variant("RANLIB", "ranlib")?.0)
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3188:25
     |
3188 |                         Some(cmd)
     |                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3191:25
     |
3191 |                         Some(self.cmd(&name))
     |                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3300:9
     |
3300 |         Ok((tool, name))
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3313:45
     |
3313 |             "aarch64-pc-windows-gnullvm" => Some("aarch64-w64-mingw32"),
     |                                             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3314:42
     |
3314 |             "aarch64-uwp-windows-gnu" => Some("aarch64-w64-mingw32"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3315:44
     |
3315 |             "aarch64-unknown-linux-gnu" => Some("aarch64-linux-gnu"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3316:45
     |
3316 |             "aarch64-unknown-linux-musl" => Some("aarch64-linux-musl"),
     |                                             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3317:41
     |
3317 |             "aarch64-unknown-netbsd" => Some("aarch64--netbsd"),
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3318:44
     |
3318 |             "arm-unknown-linux-gnueabi" => Some("arm-linux-gnueabi"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3319:47
     |
3319 |             "armv4t-unknown-linux-gnueabi" => Some("arm-linux-gnueabi"),
     |                                               ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3320:48
     |
3320 |             "armv5te-unknown-linux-gnueabi" => Some("arm-linux-gnueabi"),
     |                                                ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3321:49
     |
3321 |             "armv5te-unknown-linux-musleabi" => Some("arm-linux-gnueabi"),
     |                                                 ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3322:40
     |
3322 |             "arm-frc-linux-gnueabi" => Some("arm-frc-linux-gnueabi"),
     |                                        ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3323:46
     |
3323 |             "arm-unknown-linux-gnueabihf" => Some("arm-linux-gnueabihf"),
     |                                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3324:45
     |
3324 |             "arm-unknown-linux-musleabi" => Some("arm-linux-musleabi"),
     |                                             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3325:47
     |
3325 |             "arm-unknown-linux-musleabihf" => Some("arm-linux-musleabihf"),
     |                                               ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3326:42
     |
3326 |             "arm-unknown-netbsd-eabi" => Some("arm--netbsdelf-eabi"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3327:46
     |
3327 |             "armv6-unknown-netbsd-eabihf" => Some("armv6--netbsdelf-eabihf"),
     |                                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3328:46
     |
3328 |             "armv7-unknown-linux-gnueabi" => Some("arm-linux-gnueabi"),
     |                                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3329:48
     |
3329 |             "armv7-unknown-linux-gnueabihf" => Some("arm-linux-gnueabihf"),
     |                                                ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3330:49
     |
3330 |             "armv7-unknown-linux-musleabihf" => Some("arm-linux-musleabihf"),
     |                                                 ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3331:52
     |
3331 |             "armv7neon-unknown-linux-gnueabihf" => Some("arm-linux-gnueabihf"),
     |                                                    ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3332:53
     |
3332 |             "armv7neon-unknown-linux-musleabihf" => Some("arm-linux-musleabihf"),
     |                                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3333:50
     |
3333 |             "thumbv7-unknown-linux-gnueabihf" => Some("arm-linux-gnueabihf"),
     |                                                  ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3334:51
     |
3334 |             "thumbv7-unknown-linux-musleabihf" => Some("arm-linux-musleabihf"),
     |                                                   ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3335:54
     |
3335 |             "thumbv7neon-unknown-linux-gnueabihf" => Some("arm-linux-gnueabihf"),
     |                                                      ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3336:55
     |
3336 |             "thumbv7neon-unknown-linux-musleabihf" => Some("arm-linux-musleabihf"),
     |                                                       ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3337:46
     |
3337 |             "armv7-unknown-netbsd-eabihf" => Some("armv7--netbsdelf-eabihf"),
     |                                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3338:45
     |
3338 |             "hexagon-unknown-linux-musl" => Some("hexagon-linux-musl"),
     |                                             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3339:42
     |
3339 |             "i586-unknown-linux-musl" => Some("musl"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3340:38
     |
3340 |             "i686-pc-windows-gnu" => Some("i686-w64-mingw32"),
     |                                      ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3341:39
     |
3341 |             "i686-uwp-windows-gnu" => Some("i686-w64-mingw32"),
     |                                       ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3346:42
     |
3346 |             "i686-unknown-linux-musl" => Some("musl"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3347:38
     |
3347 |             "i686-unknown-netbsd" => Some("i486--netbsdelf"),
     |                                      ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3348:48
     |
3348 |             "loongarch64-unknown-linux-gnu" => Some("loongarch64-linux-gnu"),
     |                                                ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3349:41
     |
3349 |             "mips-unknown-linux-gnu" => Some("mips-linux-gnu"),
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3350:42
     |
3350 |             "mips-unknown-linux-musl" => Some("mips-linux-musl"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3351:43
     |
3351 |             "mipsel-unknown-linux-gnu" => Some("mipsel-linux-gnu"),
     |                                           ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3352:44
     |
3352 |             "mipsel-unknown-linux-musl" => Some("mipsel-linux-musl"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3353:48
     |
3353 |             "mips64-unknown-linux-gnuabi64" => Some("mips64-linux-gnuabi64"),
     |                                                ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3354:50
     |
3354 |             "mips64el-unknown-linux-gnuabi64" => Some("mips64el-linux-gnuabi64"),
     |                                                  ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3355:48
     |
3355 |             "mipsisa32r6-unknown-linux-gnu" => Some("mipsisa32r6-linux-gnu"),
     |                                                ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3356:50
     |
3356 |             "mipsisa32r6el-unknown-linux-gnu" => Some("mipsisa32r6el-linux-gnu"),
     |                                                  ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3357:53
     |
3357 |             "mipsisa64r6-unknown-linux-gnuabi64" => Some("mipsisa64r6-linux-gnuabi64"),
     |                                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3358:55
     |
3358 |             "mipsisa64r6el-unknown-linux-gnuabi64" => Some("mipsisa64r6el-linux-gnuabi64"),
     |                                                       ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3359:44
     |
3359 |             "powerpc-unknown-linux-gnu" => Some("powerpc-linux-gnu"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3360:47
     |
3360 |             "powerpc-unknown-linux-gnuspe" => Some("powerpc-linux-gnuspe"),
     |                                               ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3361:41
     |
3361 |             "powerpc-unknown-netbsd" => Some("powerpc--netbsd"),
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3362:46
     |
3362 |             "powerpc64-unknown-linux-gnu" => Some("powerpc-linux-gnu"),
     |                                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3363:48
     |
3363 |             "powerpc64le-unknown-linux-gnu" => Some("powerpc64le-linux-gnu"),
     |                                                ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3369:41
     |
3369 |             "riscv32imac-esp-espidf" => Some("riscv32-esp-elf"),
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3380:40
     |
3380 |             "riscv32imc-esp-espidf" => Some("riscv32-esp-elf"),
     |                                        ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3396:46
     |
3396 |             "riscv64gc-unknown-linux-gnu" => Some("riscv64-linux-gnu"),
     |                                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3397:46
     |
3397 |             "riscv32gc-unknown-linux-gnu" => Some("riscv32-linux-gnu"),
     |                                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3398:47
     |
3398 |             "riscv64gc-unknown-linux-musl" => Some("riscv64-linux-musl"),
     |                                               ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3399:47
     |
3399 |             "riscv32gc-unknown-linux-musl" => Some("riscv32-linux-musl"),
     |                                               ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3400:43
     |
3400 |             "riscv64gc-unknown-netbsd" => Some("riscv64--netbsd"),
     |                                           ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3401:42
     |
3401 |             "s390x-unknown-linux-gnu" => Some("s390x-linux-gnu"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3402:42
     |
3402 |             "sparc-unknown-linux-gnu" => Some("sparc-linux-gnu"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3403:44
     |
3403 |             "sparc64-unknown-linux-gnu" => Some("sparc64-linux-gnu"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3404:41
     |
3404 |             "sparc64-unknown-netbsd" => Some("sparc64--netbsd"),
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3405:38
     |
3405 |             "sparcv9-sun-solaris" => Some("sparcv9-sun-solaris"),
     |                                      ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3406:35
     |
3406 |             "armv7a-none-eabi" => Some("arm-none-eabi"),
     |                                   ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3407:37
     |
3407 |             "armv7a-none-eabihf" => Some("arm-none-eabi"),
     |                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3408:37
     |
3408 |             "armebv7r-none-eabi" => Some("arm-none-eabi"),
     |                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3409:39
     |
3409 |             "armebv7r-none-eabihf" => Some("arm-none-eabi"),
     |                                       ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3410:35
     |
3410 |             "armv7r-none-eabi" => Some("arm-none-eabi"),
     |                                   ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3411:37
     |
3411 |             "armv7r-none-eabihf" => Some("arm-none-eabi"),
     |                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3412:37
     |
3412 |             "armv8r-none-eabihf" => Some("arm-none-eabi"),
     |                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3413:37
     |
3413 |             "thumbv6m-none-eabi" => Some("arm-none-eabi"),
     |                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3414:38
     |
3414 |             "thumbv7em-none-eabi" => Some("arm-none-eabi"),
     |                                      ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3415:40
     |
3415 |             "thumbv7em-none-eabihf" => Some("arm-none-eabi"),
     |                                        ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3416:37
     |
3416 |             "thumbv7m-none-eabi" => Some("arm-none-eabi"),
     |                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3417:42
     |
3417 |             "thumbv8m.base-none-eabi" => Some("arm-none-eabi"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3418:42
     |
3418 |             "thumbv8m.main-none-eabi" => Some("arm-none-eabi"),
     |                                          ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3419:44
     |
3419 |             "thumbv8m.main-none-eabihf" => Some("arm-none-eabi"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3420:40
     |
3420 |             "x86_64-pc-windows-gnu" => Some("x86_64-w64-mingw32"),
     |                                        ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3421:44
     |
3421 |             "x86_64-pc-windows-gnullvm" => Some("x86_64-w64-mingw32"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3422:41
     |
3422 |             "x86_64-uwp-windows-gnu" => Some("x86_64-w64-mingw32"),
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3423:40
     |
3423 |             "x86_64-rumprun-netbsd" => Some("x86_64-rumprun-netbsd"),
     |                                        ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3427:44
     |
3427 |             "x86_64-unknown-linux-musl" => Some("musl"),
     |                                            ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3428:40
     |
3428 |             "x86_64-unknown-netbsd" => Some("x86_64--netbsd"),
     |                                        ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3451:36
     |
3451 | ...                   return Some(prefix);
     |                              ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3467:24
     |
3467 |             Some(t) => Ok(t.clone()),
     |                        ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3474:24
     |
3474 |             Some(h) => Ok(h.clone()),
     |                        ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3481:25
     |
3481 |             Some(ol) => Ok(ol.clone()),
     |                         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3504:13
     |
3504 |             Some(2)
     |             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3506:13
     |
3506 |             Some(4)
     |             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3518:24
     |
3518 |             Some(p) => Ok(Cow::Borrowed(&**p)),
     |                        ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3563:24
     |
3563 |             Some(s) => Ok(s),
     |                        ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3564:21
     |
3564 |             None => Err(Error::new(
     |                     ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3583:26
     |
3583 |             Some(res) => Ok(res),
     |                          ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Err` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3584:21
     |
3584 |             None => Err(Error::new(
     |                     ^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3592:9
     |
3592 |         Ok(self
     |         ^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Ok` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3608:9
     |
3608 |         Ok(())
     |         ^^ not found in this scope



error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3955:9
     |
3955 |         Some("ppc64")
     |         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3970:41
     |
3970 |         return if check_exe(&mut exe) { Some(exe) } else { None };
     |                                         ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3978:13
     |
3978 |             Some(exe)
     |             ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:3999:32
     |
3999 |             return which(prog, Some(OsString::from(path)));
     |                                ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:4020:37
     |
4020 |                     "asm" => return Some(AsmFileExt::DotAsm),
     |                                     ^^^^ not found in this scope

error[E0425]: cannot find function, tuple struct or tuple variant `Some` in this scope
    --> /Users/lee/.cargo/registry/src/rsproxy.cn-8f6827c7555bfaf8/cc-1.0.92/src/lib.rs:4021:35
     |
4021 |                     "s" => return Some(AsmFileExt::DotS),
     |                                   ^^^^ not found in this scope

error: could not compile `cc` (lib) due to 760 previous errors

from fncksql.

KKould avatar KKould commented on June 18, 2024

It seems that your rust version is too low, please upgrade to rustc 1.77.0-nightly

Tips: https://github.com/KipData/FnckSQL/blob/main/rust-toolchain This file will actually automatically upgrade the rust version, but I don’t know why it doesn’t work on your platform.

from fncksql.

loloxwg avatar loloxwg commented on June 18, 2024

Try this command? rustup override set nightly-2024-03-05
On mac m1 pro, I can compile normally

from fncksql.

KKould avatar KKould commented on June 18, 2024

Please try this command

rustup toolchain install nightly-2024-01-18
rustup default nightly-2024-01-18

from fncksql.

ForestLH avatar ForestLH commented on June 18, 2024

Thanks contributors, I think this issue can be closed.

from fncksql.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.